WIP: bricked desktop
This commit is contained in:
parent
ef7388d000
commit
25e9e31a95
|
@ -10,7 +10,7 @@
|
||||||
../../modules/graphical
|
../../modules/graphical
|
||||||
|
|
||||||
../../modules/optional/xserver.nix
|
../../modules/optional/xserver.nix
|
||||||
../../modules/optional/secureboot.nix
|
#../../modules/optional/secureboot.nix
|
||||||
|
|
||||||
../../modules/hardware/intel.nix
|
../../modules/hardware/intel.nix
|
||||||
../../modules/hardware/nintendo.nix
|
../../modules/hardware/nintendo.nix
|
||||||
|
|
|
@ -12,9 +12,9 @@
|
||||||
type = "table";
|
type = "table";
|
||||||
format = "gpt";
|
format = "gpt";
|
||||||
partitions = [
|
partitions = [
|
||||||
(partEfiBoot "boot" "0%" "1GiB")
|
(partEfiBoot "boot" "0%" "2GiB")
|
||||||
(partSwap "swap" "1GiB" "17GiB")
|
(partSwap "swap" "2GiB" "18GiB")
|
||||||
(partLuksZfs "rpool" "rpool" "17GiB" "100%")
|
(partLuksZfs "rpool" "rpool" "18GiB" "100%")
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMIyksR1mSMNMBurwJTONANGLg/+SUOrbJz0u7G9XUdS root@desktopnix
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIK9sNwxT/iUNKf2oyb+pZl4lOhA2Yl67orJic/tWESXI
|
||||||
|
|
|
@ -48,7 +48,7 @@
|
||||||
defaultZpoolOptions
|
defaultZpoolOptions
|
||||||
// {
|
// {
|
||||||
datasets = {
|
datasets = {
|
||||||
"save" = unmountable;
|
"safe" = unmountable;
|
||||||
"safe/data" = filesystem "/data";
|
"safe/data" = filesystem "/data";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -33,8 +33,10 @@
|
||||||
# to create a link called /run/agenix. Agenix should probably fail in this case,
|
# to create a link called /run/agenix. Agenix should probably fail in this case,
|
||||||
# but doesn't and instead puts the generation link into the existing directory.
|
# but doesn't and instead puts the generation link into the existing directory.
|
||||||
# TODO See https://github.com/ryantm/agenix/pull/187.
|
# TODO See https://github.com/ryantm/agenix/pull/187.
|
||||||
system.activationScripts.removeAgenixLink.text = "[[ ! -L /run/agenix ]] && [[ -d /run/agenix ]] && rm -rf /run/agenix";
|
system.activationScripts = {
|
||||||
system.activationScripts.agenixNewGeneration.deps = ["removeAgenixLink"];
|
removeAgenixLink.text = "[[ ! -L /run/agenix ]] && [[ -d /run/agenix ]] && rm -rf /run/agenix";
|
||||||
|
#agenixNewGeneration.deps = ["removeAgenixLink"];
|
||||||
|
};
|
||||||
|
|
||||||
time.timeZone = lib.mkDefault "Europe/Berlin";
|
time.timeZone = lib.mkDefault "Europe/Berlin";
|
||||||
i18n.defaultLocale = "C.UTF-8";
|
i18n.defaultLocale = "C.UTF-8";
|
||||||
|
|
Loading…
Reference in a new issue