diff --git a/flake.nix b/flake.nix index 615832a..01f7287 100644 --- a/flake.nix +++ b/flake.nix @@ -33,7 +33,13 @@ nixosConfigurations = { homeserver = nixpkgs-stable.lib.nixosSystem { system = "x86_64-linux"; - specialArgs = { inherit inputs; }; + specialArgs = { + inherit inputs; + pkgs-unstable = import nixpkgs-unstable { + system = "x86_64-linux"; + config.allowUnfree = true; + }; + }; modules = [ ./hosts/homeserver/configuration.nix ]; }; diff --git a/hosts/homeserver/services/newt.nix b/hosts/homeserver/services/newt.nix index e2898d9..08d5629 100644 --- a/hosts/homeserver/services/newt.nix +++ b/hosts/homeserver/services/newt.nix @@ -1,4 +1,4 @@ -{ config, pkgs, ... }: +{ config, pkgs-unstable, ... }: { sops.secrets = { panglin_endpoint = {}; @@ -20,7 +20,7 @@ wants = [ "network-online.target" ]; serviceConfig = { - ExecStart = "${pkgs.fosrl-newt}/bin/newt"; + ExecStart = "${pkgs-unstable.fosrl-newt}/bin/newt"; EnvironmentFile = config.sops.templates."newt.env".path; Restart = "always";