diff --git a/flake.nix b/flake.nix index fc86ddb2..0859b343 100644 --- a/flake.nix +++ b/flake.nix @@ -210,11 +210,6 @@ }; 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 9ba9b01a..e14f9d2e 100644 --- a/hosts/ni/default.nix +++ b/hosts/ni/default.nix @@ -140,8 +140,12 @@ exploitdb ]; - # Enable Guix service. - services.guix.enable = true; + # Installing Guix within NixOS. Now that's some OTP rarepair material right + # there. + services.guix = { + enable = true; + package = pkgs.guix; + }; # Set your time zone. time.timeZone = "Asia/Manila";