diff options
Diffstat (limited to 'profiles')
| -rw-r--r-- | profiles/base/default.nix | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/profiles/base/default.nix b/profiles/base/default.nix index 1b84806..3d41319 100644 --- a/profiles/base/default.nix +++ b/profiles/base/default.nix @@ -1,4 +1,6 @@ -{pkgs, ...}: { +{pkgs, ...}: let + channelPath = "/etc/nix/channels/nixpkgs"; +in { imports = [ ./documentation.nix ./packages.nix @@ -22,5 +24,12 @@ "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" ]; }; + nixPath = [ + "nixpkgs=${channelPath}" + ]; }; + + systemd.tmpfiles.rules = [ + "L+ ${channelPath} - - - - ${pkgs.path}" + ]; } |
