Switch to switchng & enable tmpdir tmpfs

This commit is contained in:
Tristan D. 2024-08-26 09:20:31 +02:00
parent e6f7f957eb
commit d4add91cbd
Signed by: tristan
SSH key fingerprint: SHA256:9oFM1J63hYWJjCnLG6C0fxBS15rwNcWwdQNMOHYKJ/4

View file

@ -13,6 +13,10 @@ let
else "dirty";
in
{
system.switch = {
enable = false;
enableNg = true;
};
system.image = {
id = "tristnix";
version = commitid;
@ -20,6 +24,11 @@ in
# system.nixos.tags = [ "tristnix_${commitid}" ];
nixpkgs.hostPlatform = lib.mkDefault system;
boot.tmp.useTmpfs = true;
systemd.services.nix-daemon = {
environment.TMPDIR = "/var/tmp";
};
nix = {
settings = {
auto-optimise-store = true;
@ -105,7 +114,7 @@ in
flake = "/home/tristand/nix";
};
rust-motd = {
enable = true;
# enable = true; # broken atm
enableMotdInSSHD = true;
settings = {
banner = {