nixos-config/flake.nix

33 lines
658 B
Nix
Raw Normal View History

2023-05-08 04:17:40 +05:30
{
description = "No, I don't understand how this works, so please don't ask";
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
home-manager.url = "github:nix-community/home-manager/master";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = { self, nixpkgs, home-manager, ... }:
2023-05-08 04:17:40 +05:30
let
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
config = { allowUnfree = true; };
};
lib = nixpkgs.lib;
in {
nixosConfigurations = {
snowfire = lib.nixosSystem {
inherit system;
modules = [
./system/configuration.nix
];
};
};
};
}