diff --git a/flake.nix b/flake.nix index a5a7ad5..14b77f1 100644 --- a/flake.nix +++ b/flake.nix @@ -48,19 +48,19 @@ }; homeManagerVersion = "24.11"; # Local Services - # localNixCaches = { - # # urls = [ - # # "http://minipc1.lab.internal:5000" - # # ]; - # # keys = [ - # # "minipc1.lab.internal:eIoib1JgcBEd0YKdW95QlRA2eCKDs+WxNhWhkA1wffc=" - # # ]; - # }; + localNixCaches = { + # # urls = [ + # # "http://minipc1.lab.internal:5000" + # # ]; + # # keys = [ + # # "minipc1.lab.internal:eIoib1JgcBEd0YKdW95QlRA2eCKDs+WxNhWhkA1wffc=" + # # ]; + }; localDockerRegistries = [ "minipc1.lab.internal:5001" ]; hlCommonSettings = { system = "x86_64-linux"; user = user; - # localNixCaches = localNixCaches; + localNixCaches = localNixCaches; homeManagerVersion = homeManagerVersion; os = { enable = true; diff --git a/hosts/hl-minipc1.hardware-configuration.nix b/hosts/hl-minipc1.hardware-configuration.nix index c789740..fc566bb 100644 --- a/hosts/hl-minipc1.hardware-configuration.nix +++ b/hosts/hl-minipc1.hardware-configuration.nix @@ -25,10 +25,16 @@ fsType = "vfat"; }; # Data - fileSystems."/mnt/Data" = { + # fileSystems."/mnt/Data" = { + # device = "/dev/disk/by-uuid/ee4a60a8-b0d1-4f5c-a554-1d1d84c89e34"; + # fsType = "ext4"; + # options = [ "defaults" ]; + # }; + fileSystems."/nix" = { device = "/dev/disk/by-uuid/ee4a60a8-b0d1-4f5c-a554-1d1d84c89e34"; fsType = "ext4"; - options = [ "defaults" ]; + neededForBoot = true; + options = [ "noatime" ]; }; swapDevices = [ ]; networking.useDHCP = lib.mkDefault true; diff --git a/hosts/hl-minipc1.nix b/hosts/hl-minipc1.nix index 70bdc47..21908c1 100644 --- a/hosts/hl-minipc1.nix +++ b/hosts/hl-minipc1.nix @@ -28,7 +28,7 @@ in # # Nix Stores services.nix-serve = { enable = true; - secretKeyFile = "/var/keys/cache-priv-key.pem"; + secretKeyFile = "/home/ari/cache-priv-key.pem"; port = ports.nixServe; }; # firmware updater @@ -36,7 +36,7 @@ in # # Services skyg.nixos.server.services = { audiobookshelf = { - enable = true; + enable = false; host = "0.0.0.0"; openFirewall = true; port = ports.audiobookshelf;