Added nixos-config nixPath
This commit is contained in:
parent
51f2b96753
commit
793b5f0df4
3 changed files with 5 additions and 1 deletions
|
|
@ -6,7 +6,7 @@
|
|||
nix = {
|
||||
registry.nixpkgs.flake = inputs.nixpkgs;
|
||||
nixPath = [
|
||||
"nixpkgs=/etc/channels/nixpkgs"
|
||||
"nixpkgs=${inputs.nixpkgs}"
|
||||
"/nix/var/nix/profiles/per-user/root/channels"
|
||||
];
|
||||
};
|
||||
|
|
|
|||
|
|
@ -12,6 +12,8 @@
|
|||
|
||||
networking.hostName = "io";
|
||||
|
||||
nix.nixPath = [ "nixos-config=${./io.nix}" ];
|
||||
|
||||
zramSwap = {
|
||||
enable = true;
|
||||
memoryPercent = 100;
|
||||
|
|
|
|||
|
|
@ -12,6 +12,8 @@
|
|||
|
||||
users.users.user.extraGroups = [ "docker" ];
|
||||
|
||||
nix.nixPath = [ "nixos-config=${./alexandria.nix}" ];
|
||||
|
||||
swapDevices = [ { device = "/swapfile"; size = 8192; } ];
|
||||
|
||||
networking = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue