Full Refactor and history reset
This commit is contained in:
28
nixcore.nix
Normal file
28
nixcore.nix
Normal file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
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; })
|
||||
];
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user