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";
|
|
|
|
};
|
|
|
|
|
2023-05-08 06:12:10 +05:30
|
|
|
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
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|