../../home-manager/options.nix
../../home-manager/profiles/essential.nix
];
- services.gpg-agent.pinentryFlavor = "curses";
+ services.gpg-agent.pinentryPackage = pkgs.pinentry-curses;
};
nix = {
settings.auto-optimise-store = mkDefault true;
gc.dates = mkDefault "weekly";
gc.options = mkDefault "--delete-older-than 7d";
nixPath = mkForce [ ];
+ # Pin the rev to the revision of the public Nixpkgs that the system was built from.
+ # This is the version which will be locked by flakes using flake:nixpkgs
#registry.nixpkgs = mkDefault { flake = inputs.nixpkgs; };
+ registry.nixpkgs = {
+ from = { id = "nixpkgs"; type = "indirect"; };
+ to = {
+ owner = "NixOS";
+ repo = "nixpkgs";
+ inherit (inputs.nixpkgs) rev;
+ type = "github";
+ };
+ };
package = pkgs.nixFlakes;
settings.experimental-features = [ "nix-command" "flakes" "repl-flake" ];
};
enable = mkDefault true;
enableRootSlice = mkDefault true;
enableSystemSlice = mkDefault true;
- enableUserServices = mkDefault true;
+ enableUserSlices = mkDefault true;
};
systemd.services.openssh = {
serviceConfig = {