Reformat and update nixos config

This commit is contained in:
Julien Hémono 2025-09-22 09:51:48 +02:00
parent 2112cca57f
commit 67072eb2f3

View file

@ -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.