push latest state from dad machine

This commit is contained in:
Stefan Kempinger 2026-04-26 15:25:52 +02:00
parent dbafe66098
commit 82d03af80a
Signed by: CrazyChaoz
SSH key fingerprint: SHA256:YOwyLUwjYN0SbH23u/6sadxTPxiCq8DRCW69qpWhjA8

View file

@ -11,11 +11,10 @@
]; ];
# Bootloader. # Bootloader.
#boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
#boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
boot.loader.grub.enable = true; #boot.loader.grub.device = "/dev/vda";
boot.loader.grub.device = "/dev/vda"; #boot.loader.grub.useOSProber = true;
boot.loader.grub.useOSProber = true;
networking.hostName = "nixos-dad"; # Define your hostname. networking.hostName = "nixos-dad"; # Define your hostname.
networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
@ -85,8 +84,8 @@
libinput libinput
pciutils pciutils
pulseaudio pulseaudio
pwvucontrol (pkgs.wrapFirefox (pkgs.firefox-unwrapped.override { pipewireSupport = true; }) { })
]; ];
programs.firefox = { programs.firefox = {
enable = true; enable = true;
@ -110,28 +109,26 @@
user = "kemp"; user = "kemp";
program = "${pkgs.writeScriptBin "start-cage-app" '' program = "${pkgs.writeScriptBin "start-cage-app" ''
#!/usr/bin/env bash #!/usr/bin/env bash
exec pwvucontrol exec ${ (pkgs.wrapFirefox (pkgs.firefox-unwrapped.override { pipewireSupport = true; }) { })}/bin/firefox
exec firefox
''}/bin/start-cage-app"; ''}/bin/start-cage-app";
}; };
services.getty.loginProgram = "${pkgs.coreutils}/bin/true"; services.getty.loginProgram = "${pkgs.coreutils}/bin/true";
services.actkbd.enable = true; services.actkbd.enable = true;
services.actkbd.bindings = [ services.actkbd.bindings = [
# Mute # Mute
{ keys = [ 113 ]; events = [ "key" ]; { keys = [ 113 ]; events = [ "key" ];
command = "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"; command = "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle";
} }
# Volume down # Volume down
{ keys = [ 114 ]; events = [ "key" "rep" ]; { keys = [ 114 ]; events = [ "key" "rep" ];
command = "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"; command = "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-";
} }
# Volume up # Volume up
{ keys = [ 115 ]; events = [ "key" "rep" ]; { keys = [ 115 ]; events = [ "key" "rep" ];
command = "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+"; command = "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+";
} }
]; ];
security.rtkit.enable = true; security.rtkit.enable = true;
services.pipewire = { services.pipewire = {
enable = true; # if not already enabled enable = true; # if not already enabled