Reformat and update nixos config
This commit is contained in:
parent
2112cca57f
commit
67072eb2f3
1 changed files with 14 additions and 10 deletions
|
|
@ -72,12 +72,12 @@
|
|||
services.xserver = {
|
||||
enable = true;
|
||||
xkb.layout = "fr";
|
||||
displayManager.gdm.enable = true;
|
||||
desktopManager.gnome.enable = true;
|
||||
excludePackages = with pkgs; [
|
||||
xterm
|
||||
];
|
||||
};
|
||||
services.displayManager.gdm.enable = true;
|
||||
services.desktopManager.gnome.enable = true;
|
||||
environment.gnome.excludePackages = with pkgs; [
|
||||
epiphany
|
||||
geary
|
||||
|
|
@ -88,15 +88,19 @@
|
|||
environment.variables.EDITOR = "vim";
|
||||
|
||||
# Nix configuration
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
nix.gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 7d";
|
||||
nix = {
|
||||
gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 7d";
|
||||
};
|
||||
settings = {
|
||||
experimental-features = [ "nix-command" "flakes" ];
|
||||
auto-optimise-store = true;
|
||||
trusted-users = [ "jhemono" ];
|
||||
};
|
||||
channel.enable = false;
|
||||
};
|
||||
nix.settings.auto-optimise-store = true;
|
||||
nix.settings.trusted-users = [ "jhemono" ];
|
||||
nix.channel.enable = false;
|
||||
|
||||
# Some programs need SUID wrappers, can be configured further or are
|
||||
# started in user sessions.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue