changes to dennis home.nix
This commit is contained in:
parent
500c6206ae
commit
889de1d88a
@ -9,6 +9,7 @@ keys:
|
|||||||
- &palatine-hill age1z8q02wdp0a2ep5uuffgfeqlfam4ztl95frhw5qhnn6knn0rrmcnqk5evej
|
- &palatine-hill age1z8q02wdp0a2ep5uuffgfeqlfam4ztl95frhw5qhnn6knn0rrmcnqk5evej
|
||||||
- &photon age1rjlc6vwnz2lcrpshtd9rldlxels6l2utwmnmf3prus8drfefeywq5ljrdg
|
- &photon age1rjlc6vwnz2lcrpshtd9rldlxels6l2utwmnmf3prus8drfefeywq5ljrdg
|
||||||
|
|
||||||
|
# update keys by executing: sops updatekeys secrets.yaml
|
||||||
creation_rules:
|
creation_rules:
|
||||||
- path_regex: systems/photon/secrets\.yaml$
|
- path_regex: systems/photon/secrets\.yaml$
|
||||||
key_groups:
|
key_groups:
|
||||||
|
@ -21,6 +21,7 @@ in
|
|||||||
description = "The filesystem installed.";
|
description = "The filesystem installed.";
|
||||||
};
|
};
|
||||||
fullDiskEncryption = libS.mkOpinionatedOption "use luks full disk encrytion";
|
fullDiskEncryption = libS.mkOpinionatedOption "use luks full disk encrytion";
|
||||||
|
useSystemdBoot = libS.mkOpinionatedOption "use systemd boot";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -33,9 +34,6 @@ in
|
|||||||
enable = true;
|
enable = true;
|
||||||
ssh = {
|
ssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
hostKeys = [
|
|
||||||
"/root/ssh_key"
|
|
||||||
];
|
|
||||||
port = 2222;
|
port = 2222;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -60,9 +58,8 @@ in
|
|||||||
canTouchEfiVariables = false;
|
canTouchEfiVariables = false;
|
||||||
};
|
};
|
||||||
generationsDir.copyKernels = true;
|
generationsDir.copyKernels = true;
|
||||||
systemd-boot.enable = true;
|
systemd-boot.enable = lib.mkIf cfg.useSystemdBoot true;
|
||||||
/* disable grub support
|
grub = lib.mkIf (!cfg.useSystemdBoot) {
|
||||||
grub = {
|
|
||||||
enable = true;
|
enable = true;
|
||||||
copyKernels = true;
|
copyKernels = true;
|
||||||
zfsSupport = lib.mkIf (cfg.filesystem == "zfs") true;
|
zfsSupport = lib.mkIf (cfg.filesystem == "zfs") true;
|
||||||
@ -71,7 +68,6 @@ in
|
|||||||
fsIdentifier = "uuid";
|
fsIdentifier = "uuid";
|
||||||
enableCryptodisk = lib.mkIf cfg.fullDiskEncryption true;
|
enableCryptodisk = lib.mkIf cfg.fullDiskEncryption true;
|
||||||
};
|
};
|
||||||
*/
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -31,8 +31,6 @@
|
|||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
fzf.keybindings = true;
|
|
||||||
|
|
||||||
git = {
|
git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
config = {
|
config = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user