chore: update configuration syntaxes and misc minor changes

This commit is contained in:
Pierre Martin
2024-06-21 05:24:27 +02:00
parent 491d6df31f
commit 0934d635f7
4 changed files with 14 additions and 8 deletions

View File

@@ -48,7 +48,7 @@
}; };
services.unclutter.enable = true; services.unclutter.enable = true;
services.gpg-agent.enable = true;
services.blueman-applet.enable = true; services.blueman-applet.enable = true;
services.udiskie.enable = true; # require "services.udisks2.enable = true" in system configuration services.udiskie.enable = true; # require "services.udisks2.enable = true" in system configuration
} }

View File

@@ -20,6 +20,7 @@
boot.tmp.cleanOnBoot = true; boot.tmp.cleanOnBoot = true;
# Networking
networking.hostName = "pierre"; # Define your hostname. networking.hostName = "pierre"; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
@@ -53,18 +54,20 @@
# Configure keymap in X11 # Configure keymap in X11
services.xserver = { services.xserver = {
enable = true; enable = true;
layout = "fr"; xkb = {
xkbVariant = "bepo"; layout = "fr";
variant = "bepo";
displayManager = {
defaultSession = "none+i3";
}; };
windowManager = { windowManager = {
i3 = { i3 = {
enable = true; enable = true;
}; };
}; };
}; };
services.displayManager = {
defaultSession = "none+i3";
};
# Configure console keymap # Configure console keymap
console.keyMap = "fr"; console.keyMap = "fr";
@@ -116,6 +119,7 @@
services.gnome.gnome-keyring.enable = true; # see https://nixos.wiki/wiki/Visual_Studio_Code#Error_after_Sign_On services.gnome.gnome-keyring.enable = true; # see https://nixos.wiki/wiki/Visual_Studio_Code#Error_after_Sign_On
services.blueman.enable = true; services.blueman.enable = true;
services.udisks2.enable = true; services.udisks2.enable = true;
services.resolved.enable = true;
# Enable the OpenSSH daemon. # Enable the OpenSSH daemon.
# services.openssh.enable = true; # services.openssh.enable = true;

View File

@@ -85,7 +85,7 @@
}; };
# Enable touchpad support (enabled default in most desktopManager). # Enable touchpad support (enabled default in most desktopManager).
services.xserver.libinput.enable = true; services.libinput.enable = true;
# Backlight (see https://wiki.archlinux.org/title/Backlight#xbacklight_returns_:_No_outputs_have_backlight_property) # Backlight (see https://wiki.archlinux.org/title/Backlight#xbacklight_returns_:_No_outputs_have_backlight_property)
hardware.acpilight.enable = true; hardware.acpilight.enable = true;

View File

@@ -2,7 +2,9 @@
# TODO replace with Starship: https://starship.rs/fr-fr/installing/#declaration-utilisateur-unique-via-home-manager # TODO replace with Starship: https://starship.rs/fr-fr/installing/#declaration-utilisateur-unique-via-home-manager
programs.zsh = { programs.zsh = {
enable = true; enable = true;
enableAutosuggestions = true; autosuggestion = {
enable = true;
};
enableCompletion = true; enableCompletion = true;
history = { history = {
ignoreDups = true; ignoreDups = true;