Upgrade nix to 24.11

This commit is contained in:
marc
2024-12-03 15:22:42 +01:00
parent 39cdbaa430
commit c62acaa77f
7 changed files with 160 additions and 42 deletions

View File

@@ -34,13 +34,9 @@ in
# - Audio ------------------------------------
sound.enable = true;
hardware = {
pulseaudio = {
services = {
pipewire = {
enable = true;
support32Bit = true;
package = pkgs.pulseaudioFull;
};
};

View File

@@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ inputs, config, lib, pkgs, ... }:
let
cfg = config.samfelag.modules.desktop.hyprland;
@@ -19,8 +19,11 @@ in {
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
# Cursor
inputs.hyprcursor-rose-pine.packages.${pkgs.system}.default
# Wallpaper
hyprpaper
# Greeter
greetd.gtkgreet
cage
];
@@ -94,6 +97,10 @@ in {
layout = "hy3";
};
env = [
"HYPRCURSOR_THEME,rose-pine-hyprcursor"
];
input = {
kb_layout = cfg.kb_layout;
};
@@ -174,7 +181,7 @@ in {
", XF86AudioStop, exec, playerctl stop"
# - Keyboard ---------------------------
"${cfg.mod}, Escape, exec, hyprctl switchxkblayout kanata next"
"${cfg.mod}, Escape, exec, hyprctl switchxkblayout current next"
] ++ cfg.extraKeybindings;