Switch to switchng & enable tmpdir tmpfs
This commit is contained in:
parent
e6f7f957eb
commit
d4add91cbd
1 changed files with 10 additions and 1 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Reference in a new issue