Added nixos-config nixPath

This commit is contained in:
baduhai 2022-12-22 23:01:11 -03:00
parent 51f2b96753
commit 793b5f0df4
3 changed files with 5 additions and 1 deletions

View file

@ -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"
];
};

View file

@ -12,6 +12,8 @@
networking.hostName = "io";
nix.nixPath = [ "nixos-config=${./io.nix}" ];
zramSwap = {
enable = true;
memoryPercent = 100;

View file

@ -12,6 +12,8 @@
users.users.user.extraGroups = [ "docker" ];
nix.nixPath = [ "nixos-config=${./alexandria.nix}" ];
swapDevices = [ { device = "/swapfile"; size = 8192; } ];
networking = {