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 = {
|
services.xserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
xkb.layout = "fr";
|
xkb.layout = "fr";
|
||||||
displayManager.gdm.enable = true;
|
|
||||||
desktopManager.gnome.enable = true;
|
|
||||||
excludePackages = with pkgs; [
|
excludePackages = with pkgs; [
|
||||||
xterm
|
xterm
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
services.displayManager.gdm.enable = true;
|
||||||
|
services.desktopManager.gnome.enable = true;
|
||||||
environment.gnome.excludePackages = with pkgs; [
|
environment.gnome.excludePackages = with pkgs; [
|
||||||
epiphany
|
epiphany
|
||||||
geary
|
geary
|
||||||
|
|
@ -88,15 +88,19 @@
|
||||||
environment.variables.EDITOR = "vim";
|
environment.variables.EDITOR = "vim";
|
||||||
|
|
||||||
# Nix configuration
|
# Nix configuration
|
||||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
nix = {
|
||||||
nix.gc = {
|
gc = {
|
||||||
automatic = true;
|
automatic = true;
|
||||||
dates = "weekly";
|
dates = "weekly";
|
||||||
options = "--delete-older-than 7d";
|
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
|
# Some programs need SUID wrappers, can be configured further or are
|
||||||
# started in user sessions.
|
# started in user sessions.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue