mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-10 16:08:45 +01:00
phone: Mimic system nix settings for now
Should eventually replace this with the system module.
This commit is contained in:
parent
fb5c7849d0
commit
c83f567708
@ -250,9 +250,21 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nix = {
|
||||||
|
settings = {
|
||||||
|
experimental-features = [ "nix-command" "flakes" "repl-flake" ];
|
||||||
|
auto-optimise-store = true;
|
||||||
|
warn-dirty = false;
|
||||||
|
|
||||||
|
trusted-users = [
|
||||||
|
"root"
|
||||||
|
"@wheel"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
powerManagement.enable = true;
|
powerManagement.enable = true;
|
||||||
zramSwap.enable = true;
|
zramSwap.enable = true;
|
||||||
nix.settings.experimental-features = [ "nix-command" "flakes" "repl-flake" ];
|
|
||||||
|
|
||||||
system = {
|
system = {
|
||||||
inherit stateVersion;
|
inherit stateVersion;
|
||||||
|
Loading…
Reference in New Issue
Block a user