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";
|
else "dirty";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
system.switch = {
|
||||||
|
enable = false;
|
||||||
|
enableNg = true;
|
||||||
|
};
|
||||||
system.image = {
|
system.image = {
|
||||||
id = "tristnix";
|
id = "tristnix";
|
||||||
version = commitid;
|
version = commitid;
|
||||||
|
@ -20,6 +24,11 @@ in
|
||||||
# system.nixos.tags = [ "tristnix_${commitid}" ];
|
# system.nixos.tags = [ "tristnix_${commitid}" ];
|
||||||
nixpkgs.hostPlatform = lib.mkDefault system;
|
nixpkgs.hostPlatform = lib.mkDefault system;
|
||||||
|
|
||||||
|
boot.tmp.useTmpfs = true;
|
||||||
|
systemd.services.nix-daemon = {
|
||||||
|
environment.TMPDIR = "/var/tmp";
|
||||||
|
};
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
settings = {
|
settings = {
|
||||||
auto-optimise-store = true;
|
auto-optimise-store = true;
|
||||||
|
@ -105,7 +114,7 @@ in
|
||||||
flake = "/home/tristand/nix";
|
flake = "/home/tristand/nix";
|
||||||
};
|
};
|
||||||
rust-motd = {
|
rust-motd = {
|
||||||
enable = true;
|
# enable = true; # broken atm
|
||||||
enableMotdInSSHD = true;
|
enableMotdInSSHD = true;
|
||||||
settings = {
|
settings = {
|
||||||
banner = {
|
banner = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue