Files
nix/nixcore.nix

29 lines
631 B
Nix

{
config,
lib,
pkgs,
...
}:
{
system.stateVersion = "23.11"; # Did you read the comment?
nixpkgs.config.allowUnfree = true;
nix.settings.experimental-features = [
"nix-command"
"flakes"
];
nix.settings.trusted-users = [
"root"
"joe"
];
boot.tmp.cleanOnBoot = true;
users.users.joe.packages = with pkgs; [
(import ./scripts/rebuild.nix { inherit pkgs; })
(import ./scripts/rebuild-boot.nix { inherit pkgs; })
(import ./scripts/rebuild-dry.nix { inherit pkgs; })
(import ./scripts/nixupdate.nix { inherit pkgs; })
(import ./scripts/nixclean.nix { inherit pkgs; })
];
}