workstation | tweak nix settings
This commit is contained in:
parent
fe602d5809
commit
588184d080
1 changed files with 12 additions and 5 deletions
|
|
@ -10,7 +10,18 @@ let
|
||||||
python-with-my-packages = pkgs.python3Full.withPackages my-python-packages;
|
python-with-my-packages = pkgs.python3Full.withPackages my-python-packages;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
nix = {
|
||||||
|
settings = {
|
||||||
|
experimental-features = [ "nix-command" "flakes" ];
|
||||||
|
warn-dirty = false;
|
||||||
|
auto-optimise-store = true;
|
||||||
|
trusted-users = [ "root" "don" ];
|
||||||
|
};
|
||||||
|
gc = {
|
||||||
|
automatic = true;
|
||||||
|
options = "-d";
|
||||||
|
};
|
||||||
|
};
|
||||||
imports =
|
imports =
|
||||||
[
|
[
|
||||||
./detect-reboot-needed.nix
|
./detect-reboot-needed.nix
|
||||||
|
|
@ -242,10 +253,6 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
nix.gc = {
|
|
||||||
automatic = true;
|
|
||||||
options = "-d";
|
|
||||||
};
|
|
||||||
xdg.mime.enable = true;
|
xdg.mime.enable = true;
|
||||||
xdg.mime.defaultApplications = {
|
xdg.mime.defaultApplications = {
|
||||||
"text/html" = "org.qutebrowser.qutebrowser.desktop";
|
"text/html" = "org.qutebrowser.qutebrowser.desktop";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue