mirror of
https://gitlab.com/ahoneybun/nix-configs.git
synced 2025-05-12 19:24:03 -06:00
Update flake.nix
This commit is contained in:
parent
382e91c92e
commit
152c7875a7
1 changed files with 5 additions and 6 deletions
11
flake.nix
11
flake.nix
|
@ -21,7 +21,8 @@
|
||||||
_module.args.disks = [ "/dev/vda" ];
|
_module.args.disks = [ "/dev/vda" ];
|
||||||
}
|
}
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
"dev-one" = nixpkgs.lib.nixosSystem {
|
"dev-one" = nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
|
@ -44,7 +45,7 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
({config, pkgs, ...}: {
|
{config, pkgs, ...}: {
|
||||||
nix = {
|
nix = {
|
||||||
settings.auto-optimise-store = true;
|
settings.auto-optimise-store = true;
|
||||||
settings.experimental-features = [ "nix-command" "flakes" ];
|
settings.experimental-features = [ "nix-command" "flakes" ];
|
||||||
|
@ -105,9 +106,7 @@
|
||||||
stateVersion = "23.11";
|
stateVersion = "23.11";
|
||||||
autoUpgrade.enable = true;
|
autoUpgrade.enable = true;
|
||||||
};
|
};
|
||||||
})
|
};
|
||||||
];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue