38 lines
1.0 KiB
Nix
38 lines
1.0 KiB
Nix
{
|
|
description = "mans' NixOS desktop configuration";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
|
|
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager/release-25.11";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
nur.url = "github:nix-community/NUR";
|
|
};
|
|
|
|
outputs = { self, nixpkgs, home-manager, nur, ... }@inputs:
|
|
let
|
|
system = "x86_64-linux";
|
|
in {
|
|
nixosConfigurations.pc-mans = nixpkgs.lib.nixosSystem {
|
|
inherit system;
|
|
specialArgs = { inherit inputs; };
|
|
modules = [
|
|
./hosts/pc-mans
|
|
{ nixpkgs.overlays = [ nur.overlays.default ]; }
|
|
|
|
home-manager.nixosModules.home-manager
|
|
{
|
|
home-manager.useGlobalPkgs = true;
|
|
home-manager.useUserPackages = true;
|
|
home-manager.backupFileExtension = "hm-backup";
|
|
home-manager.extraSpecialArgs = { inherit inputs; };
|
|
home-manager.users.mans = import ./home/mans.nix;
|
|
}
|
|
];
|
|
};
|
|
};
|
|
}
|