added variable

This commit is contained in:
biscuit
2025-05-20 12:02:26 -05:00
parent 6e32ac5ceb
commit a0572f8a95
2 changed files with 10 additions and 2 deletions
+6 -2
View File
@@ -16,13 +16,17 @@
home-manager,
...
} @ inputs: let
info = import ./info.nix;
lib = nixpkgs.lib;
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
args = {
inherit inputs;
} // info;
in {
nixosConfigurations = {
biscuit = lib.nixosSystem {
specialArgs = {inherit inputs system;};
specialArgs = args;
inherit system;
modules = [
./nixos/biscuit/configuration.nix
@@ -35,7 +39,7 @@
inherit system;
overlays = [];
};
extraSpecialArgs = {inherit inputs system;};
extraSpecialArgs = args;
modules = [./dotfiles/biscuit/home.nix];
};
};
+4
View File
@@ -0,0 +1,4 @@
{
hostname = "nixos";
username = "biscuit";
}