This commit is contained in:
iFargle 2023-08-15 16:38:51 +09:00
parent 931ed39d47
commit 1e61f9c987

View file

@ -8,11 +8,11 @@
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
};
outputs = { nixos-hardware, ... }@inputs: {
outputs = { hostname, nixos-hardware, ... }@inputs: {
# NixOS Configuration files:
nixosConfigurations = {
# Declare a generic configuration using the $hostname variable:
${hostname} = unstable-nixpkgs.lib.nixosSystem {
"nixos-laptop" = unstable-nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = {
inherit hostname;
@ -23,7 +23,7 @@
# Flake Imports
nixos-hardware.nixosModules.lenovo-thinkpad-p1
]; # modules
}; # lib.nixosSystem - ${hostname}
}; # lib.nixosSystem - "nixos-laptop"
}; # nixosConfiguration
};
}