diff --git a/hosts/nas/configuration.nix b/hosts/nas/configuration.nix index 580a1ad..e8361b4 100644 --- a/hosts/nas/configuration.nix +++ b/hosts/nas/configuration.nix @@ -10,6 +10,8 @@ let hostname = "jallen-nas"; allowedPorts = [ 2342 3493 61208 9090 ]; enableDisplayManager = false; + # adding a flag cause nixos cant figure itself out and broke shit that cant be fixed + enableUps = false; in { imports = [ # Include the results of the hardware scan. ./hardware-configuration.nix @@ -280,9 +282,9 @@ in { # Configure environment environment = { - etc."nut/upsd.conf".source = ./upsd.conf; - etc."nut/upsd.users".source = ./upsd.users; - etc."nut/upsmon.conf".source = ./upsmon.conf; +# etc."nut/upsd.conf".source = ./upsd.conf; +# etc."nut/upsd.users".source = ./upsd.users; +# etc."nut/upsmon.conf".source = ./upsmon.conf; # List packages installed in system profile. To search, run: # $ nix search wget systemPackages = with pkgs; [ @@ -321,7 +323,7 @@ in { }; power.ups = { - enable = true; + enable = enableUps; mode = "netserver"; ups."nasups" = { driver = "usbhid-ups";