diff --git a/flake.nix b/flake.nix index e3b3532f..879f5a00 100644 --- a/flake.nix +++ b/flake.nix @@ -215,6 +215,11 @@ }; services.openssh.enable = lib.mkDefault true; + # We're setting Guix service package with the flake-provided package. + # This is to prevent problems setting with overlays as much as I like + # using them. + services.guix.package = inputs.guix-overlay.packages.${config.nixpkgs.system}.guix; + # It's following the 'nixpkgs' flake input which should be in unstable # branches. Not to mention, most of the system configurations should # have this attribute set explicitly by default. diff --git a/hosts/ni/default.nix b/hosts/ni/default.nix index e14f9d2e..6de59c14 100644 --- a/hosts/ni/default.nix +++ b/hosts/ni/default.nix @@ -142,10 +142,7 @@ # Installing Guix within NixOS. Now that's some OTP rarepair material right # there. - services.guix = { - enable = true; - package = pkgs.guix; - }; + services.guix.enable = true; # Set your time zone. time.timeZone = "Asia/Manila";