feat: upgrade nixpkgs to 23.11

This commit is contained in:
Ryan Yin
2023-11-15 01:16:54 +08:00
parent d624ab4323
commit ada780afc8
14 changed files with 152 additions and 96 deletions

View File

@@ -154,7 +154,7 @@
# use fonts specified by user rather than default ones
fontDir.enable = true;
fonts = with pkgs; [
packages = with pkgs; [
# icon fonts
material-design-icons
font-awesome

View File

@@ -60,10 +60,14 @@
# https://github.com/rvaiya/keyd
services.keyd = {
enable = true;
settings = {
main = {
# overloads the capslock key to function as both escape (when tapped) and control (when held)
capslock = "overload(control, esc)";
keyboards = {
default = {
settings = {
main = {
# overloads the capslock key to function as both escape (when tapped) and control (when held)
capslock = "overload(control, esc)";
};
};
};
};
};
@@ -152,10 +156,10 @@
# all fonts are linked to /nix/var/nix/profiles/system/sw/share/X11/fonts
fonts = {
# use fonts specified by user rather than default ones
enableDefaultFonts = false;
enableDefaultPackages = false;
fontDir.enable = true;
fonts = with pkgs; [
packages = with pkgs; [
# icon fonts
material-design-icons
font-awesome

View File

@@ -22,7 +22,7 @@
};
aggregatedFonts = pkgs.buildEnv {
name = "system-fonts";
paths = config.fonts.fonts;
paths = config.fonts.packages;
pathsToLink = ["/share/fonts"];
};
in {

View File

@@ -49,10 +49,9 @@
xwayland = {
enable = true;
hidpi = true;
};
nvidiaPatches = true;
enableNvidiaPatches = true;
};
# monitor backlight control