This commit is contained in:
biscuit
2025-05-06 14:58:15 -05:00
parent e209ddd352
commit 6f6145f1c0
6 changed files with 131 additions and 30 deletions
+21 -22
View File
@@ -7,6 +7,10 @@
home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
nix4nvchad = {
url = "github:nix-community/nix4nvchad";
inputs.nixpkgs.follows = "nixpkgs";
};
};
#outputs = { self, nixpkgs, nixpkgsveryold }:
@@ -22,28 +26,23 @@
# };
#};
outputs = { self, nixpkgs, home-manager, ... } @ inputs:
outputs = { nixpkgs, home-manager, ... } @ inputs:
let
system = "x86_64-linux";
lib = nixpkgs.lib;
extraSpecialArgs = { inherit system inputs; };
specialArgs = { inherit system inputs; };
in {
nixosConfigurations = {
biscuit = lib.nixosSystem {
system = "x86_64-linux";
specialArgs = extraSpecialArgs;
modules = [
./nixos/configuration.nix
home-manager.nixosModules.home-manager {
home-manager = {
useGlobalPkgs = true;
users.biscuit = import ./home-manager/home.nix;
};
}
];
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
config = {
allowUnfree = false;
};
};
};
};
in {
nixosConfigurations = {
biscuit = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs system; };
modules = [
./nixos/configuration.nix
];
};
};
};
}