Tue Jun 4 01:49:00 AM CEST 2024

This commit is contained in:
Thomas Avé 2024-06-04 01:49:00 +02:00
parent d8c14f30d8
commit 4991d9f7a4
3 changed files with 7 additions and 1 deletions

View File

@ -30,6 +30,10 @@
./hosts/${host}/hardware-configuration.nix ./hosts/${host}/hardware-configuration.nix
{ nixpkgs.overlays = [ nur.overlay ]; } { nixpkgs.overlays = [ nur.overlay ]; }
{ {
hardware.opengl = {
enable = true;
driSupport = true;
};
networking.hostName = host; networking.hostName = host;
boot.loader.systemd-boot = { boot.loader.systemd-boot = {
enable = true; enable = true;

View File

@ -202,7 +202,7 @@ in {
"$mainMod, SPACE, togglesplit, # dwindle" "$mainMod, SPACE, togglesplit, # dwindle"
"CONTROL_L ALT_L, L, exec, ${swaylock}" "CONTROL_L ALT_L, L, exec, ${swaylock}"
'' ''
$mainMod, C, exec, cliphist list | awk '{print $0, "0iconx1fcom.github.davidmhewitt.clipped"}' | ${rofi} -dmenu -display-columns 2 | cliphist decode | wl-copy'' $mainMod, C, exec, cliphist list | awk '{print $0, "\0icon\x1fcom.github.davidmhewitt.clipped"; }' | ${rofi} -dmenu -display-columns 2 | cliphist decode | wl-copy''
"$mainMod, Y, exec, ${rofi-ykman}/bin/rofi-ykman" "$mainMod, Y, exec, ${rofi-ykman}/bin/rofi-ykman"
"$mainMod, N, exec, ${./files/rofi-ssh.sh}" "$mainMod, N, exec, ${./files/rofi-ssh.sh}"

View File

@ -1,6 +1,8 @@
{ inputs, pkgs, ... }: { inputs, pkgs, ... }:
{ {
# AMD GPU
boot.initrd.kernelModules = [ "amdgpu" ];
services.pcscd.enable = true; services.pcscd.enable = true;
services.udev.packages = [ pkgs.yubikey-personalization ]; services.udev.packages = [ pkgs.yubikey-personalization ];
services.logind.extraConfig = '' services.logind.extraConfig = ''