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