feat: bump nixos to 24.05

This commit is contained in:
Ryan Yin
2024-08-16 11:11:37 +08:00
parent adc91138c5
commit d384607345
7 changed files with 42 additions and 46 deletions

View File

@@ -1,10 +1,7 @@
{pkgs, ...}:
{
{pkgs, ...}: {
# i3 related options
environment.pathsToLink = [ "/libexec" ]; # links /libexec from derivations to /run/current-system/sw
environment.pathsToLink = ["/libexec"]; # links /libexec from derivations to /run/current-system/sw
services.displayManager.defaultSession = "none+i3";
services.xserver = {
enable = true;
@@ -13,36 +10,35 @@
};
displayManager = {
defaultSession = "none+i3";
lightdm.enable = false;
gdm.enable = true;
lightdm.enable = false;
gdm.enable = true;
};
windowManager.i3 = {
enable = true;
extraPackages = with pkgs; [
rofi # application launcher, the same as dmenu
dunst # notification daemon
i3blocks # status bar
i3lock # default i3 screen locker
xautolock # lock screen after some time
i3status # provide information to i3bar
i3-gaps # i3 with gaps
picom # transparency and shadows
feh # set wallpaper
acpi # battery information
arandr # screen layout manager
dex # autostart applications
xbindkeys # bind keys to commands
xorg.xbacklight # control screen brightness
xorg.xdpyinfo # get screen information
sysstat # get system information
];
rofi # application launcher, the same as dmenu
dunst # notification daemon
i3blocks # status bar
i3lock # default i3 screen locker
xautolock # lock screen after some time
i3status # provide information to i3bar
i3-gaps # i3 with gaps
picom # transparency and shadows
feh # set wallpaper
acpi # battery information
arandr # screen layout manager
dex # autostart applications
xbindkeys # bind keys to commands
xorg.xbacklight # control screen brightness
xorg.xdpyinfo # get screen information
sysstat # get system information
];
};
# Configure keymap in X11
layout = "us";
xkbVariant = "";
xkb.layout = "us";
xkb.variant = "";
};
# thunar file manager(part of xfce) related options
@@ -52,4 +48,4 @@
];
services.gvfs.enable = true; # Mount, trash, and other functionalities
services.tumbler.enable = true; # Thumbnail support for images
}
}