Skip to content

Commit

Permalink
chore: update configuration syntaxes and misc minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
real34 committed Jun 21, 2024
1 parent 491d6df commit 0934d63
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 8 deletions.
2 changes: 1 addition & 1 deletion home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
};

services.unclutter.enable = true;
services.gpg-agent.enable = true;
services.blueman-applet.enable = true;

services.udiskie.enable = true; # require "services.udisks2.enable = true" in system configuration
}
14 changes: 9 additions & 5 deletions nixos/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

boot.tmp.cleanOnBoot = true;

# Networking
networking.hostName = "pierre"; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.

Expand Down Expand Up @@ -53,18 +54,20 @@
# Configure keymap in X11
services.xserver = {
enable = true;
layout = "fr";
xkbVariant = "bepo";

displayManager = {
defaultSession = "none+i3";
xkb = {
layout = "fr";
variant = "bepo";
};

windowManager = {
i3 = {
enable = true;
};
};
};
services.displayManager = {
defaultSession = "none+i3";
};

# Configure console keymap
console.keyMap = "fr";
Expand Down Expand Up @@ -116,6 +119,7 @@
services.gnome.gnome-keyring.enable = true; # see https://nixos.wiki/wiki/Visual_Studio_Code#Error_after_Sign_On
services.blueman.enable = true;
services.udisks2.enable = true;
services.resolved.enable = true;

# Enable the OpenSSH daemon.
# services.openssh.enable = true;
Expand Down
2 changes: 1 addition & 1 deletion nixos/framework.nix
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
};

# 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)
hardware.acpilight.enable = true;
Expand Down
4 changes: 3 additions & 1 deletion programs/zsh.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
# TODO replace with Starship: https://starship.rs/fr-fr/installing/#declaration-utilisateur-unique-via-home-manager
programs.zsh = {
enable = true;
enableAutosuggestions = true;
autosuggestion = {
enable = true;
};
enableCompletion = true;
history = {
ignoreDups = true;
Expand Down

0 comments on commit 0934d63

Please sign in to comment.