Skip to content

Commit

Permalink
Clean up nix config
Browse files Browse the repository at this point in the history
  • Loading branch information
arunoruto committed Dec 15, 2024
1 parent 2277d26 commit 229febf
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions modules/nixos/system/nix-utils.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,13 @@
# package = pkgs.unstable.nix;
settings = {
sandbox = true;
# auto-optimise-store = true;
download-buffer-size = 134217728;
warn-dirty = false;
accept-flake-config = true;
trusted-users = [
"root"
"@wheel"
];
extra-experimental-features = [
"nix-command"
"flakes"
Expand All @@ -42,9 +46,9 @@
"wezterm.cachix.org-1:kAbhjYUC9qvblTE+s7S+kl5XM1zVa4skO+E/1IDWdH0="
];
};
extraOptions = ''
trusted-users = root ${username}
'';
# extraOptions = ''
# trusted-users = root ${username}
# '';
optimise = {
automatic = true;
dates = [ "04:00" ];
Expand Down

0 comments on commit 229febf

Please sign in to comment.