add args
This commit is contained in:
parent
c383cd8f68
commit
ccaafc3faf
1 changed files with 12 additions and 10 deletions
14
flake.nix
14
flake.nix
|
|
@ -44,11 +44,7 @@
|
|||
system = "x86_64-linux";
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
in
|
||||
{
|
||||
nixosConfigurations = {
|
||||
ideapad-slim-5 = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
|
||||
specialArgs = {
|
||||
inherit
|
||||
self
|
||||
|
|
@ -58,6 +54,12 @@
|
|||
inputs
|
||||
;
|
||||
};
|
||||
in
|
||||
{
|
||||
nixosConfigurations = {
|
||||
ideapad-slim-5 = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = specialArgs;
|
||||
modules = [
|
||||
inputs.nixos-hardware.nixosModules.lenovo-ideapad-slim-5
|
||||
inputs.nix-index-database.nixosModules.default
|
||||
|
|
@ -68,7 +70,7 @@
|
|||
|
||||
home-server = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = { inherit self inputs libs; };
|
||||
specialArgs = specialArgs;
|
||||
modules = [
|
||||
(libs.root "/devices/home-server/configuration.nix")
|
||||
];
|
||||
|
|
|
|||
Reference in a new issue