diff --git a/flake.lock b/flake.lock index 21edbf0..06ccffc 100644 --- a/flake.lock +++ b/flake.lock @@ -138,11 +138,11 @@ }, "nixos-hardware": { "locked": { - "lastModified": 1701250978, - "narHash": "sha256-ohu3cz4edjpGxs2qUTgbs0WrnewOX4crnUJNEB6Jox4=", + "lastModified": 1701656485, + "narHash": "sha256-xDFormrGCKKGqngHa2Bz1GTeKlFMMjLnHhTDRdMJ1hs=", "owner": "NixOS", "repo": "nixos-hardware", - "rev": "8772491ed75f150f02552c60694e1beff9f46013", + "rev": "fa194fc484fd7270ab324bb985593f71102e84d1", "type": "github" }, "original": { @@ -161,11 +161,11 @@ ] }, "locked": { - "lastModified": 1701387264, - "narHash": "sha256-uGZycEJqOZSYvpmoFuyDrboe5e1t0F/HB9r7HsWgssc=", + "lastModified": 1701722881, + "narHash": "sha256-Wim+dqT6W6nTdifu/jmToIzD7eCQaCEhDqDp5kexyfM=", "owner": "nix-community", "repo": "NixOS-WSL", - "rev": "1a50ab3fe98934d8f109f05528874c9ab324707b", + "rev": "5ee4fa3515de7b5609e6d161b800d91328a7a143", "type": "github" }, "original": { @@ -192,11 +192,11 @@ }, "nixpkgs-unstable": { "locked": { - "lastModified": 1701253981, - "narHash": "sha256-ztaDIyZ7HrTAfEEUt9AtTDNoCYxUdSd6NrRHaYOIxtk=", + "lastModified": 1701436327, + "narHash": "sha256-tRHbnoNI8SIM5O5xuxOmtSLnswEByzmnQcGGyNRjxsE=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "e92039b55bcd58469325ded85d4f58dd5a4eaf58", + "rev": "91050ea1e57e50388fa87a3302ba12d188ef723a", "type": "github" }, "original": { @@ -223,11 +223,11 @@ }, "nixpkgs_3": { "locked": { - "lastModified": 1701263465, - "narHash": "sha256-lNXUIlkfyDyp9Ox21hr+wsEf/IBklLvb6bYcyeXbdRc=", + "lastModified": 1701539137, + "narHash": "sha256-nVO/5QYpf1GwjvtpXhyxx5M3U/WN0MwBro4Lsk+9mL0=", "owner": "nixos", "repo": "nixpkgs", - "rev": "50aa30a13c4ab5e7ba282da460a3e3d44e9d0eb3", + "rev": "933d7dc155096e7575d207be6fb7792bc9f34f6d", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 14126c3..1bf6c8b 100644 --- a/flake.nix +++ b/flake.nix @@ -98,6 +98,7 @@ ./users/kopatz.nix ./modules/graphical/plasma.nix ./modules/graphical/hyprland.nix + ./modules/graphical/emulators.nix ./modules/graphical/shared.nix ./modules/hardware/nvidia.nix ./modules/hardware/ssd.nix diff --git a/modules/graphical/emulators.nix b/modules/graphical/emulators.nix new file mode 100644 index 0000000..d0602ab --- /dev/null +++ b/modules/graphical/emulators.nix @@ -0,0 +1,7 @@ + +{ config, pkgs, inputs, ... }: +{ + environment.systemPackages = with pkgs; [ + snes9x + ]; +} diff --git a/modules/graphical/hyprland.nix b/modules/graphical/hyprland.nix index 3f5a9de..0b5a7b4 100644 --- a/modules/graphical/hyprland.nix +++ b/modules/graphical/hyprland.nix @@ -181,7 +181,8 @@ in "$mainMod, M, exit," "$mainMod, E, exec, ${thunar}" "$mainMod, V, togglefloating" - "$mainMod, S, exec, ${rofi} -show drun -show-icons" + "$mainMod, I, exec, ${rofi} -show drun -show-icons" + "$mainMod, S, exec, cat ~/songs | shuf -n 1 | sed \"s/^/b\.p /g\" | ${wl-copy}" "$mainMod, R, exec, ${swww} img $(ls -d ~/Nextcloud/dinge/Bg/* | shuf -n 1)" " , Print, exec, ${grim} -g \"$(${slurp} -d)\" - | ${wl-copy}" "ALT, SPACE, exec, ${rofi} -show combi" @@ -677,6 +678,7 @@ in libnotify networkmanagerapplet wayland + wl-clipboard #qt5.qtwayland #qt6.qmake #qt6.qtwayland diff --git a/systems/pc/configuration.nix b/systems/pc/configuration.nix index 63dd6ac..42bcbb1 100644 --- a/systems/pc/configuration.nix +++ b/systems/pc/configuration.nix @@ -20,6 +20,9 @@ networking.networkmanager.enable = true; boot.initrd.systemd.network.wait-online.enable = false; systemd.network.wait-online.enable = false; + + nix.settings.trusted-substituters = [ "https://ai.cachix.org" ]; + nix.settings.trusted-public-keys = [ "ai.cachix.org-1:N9dzRK+alWwoKXQlnn0H6aUx0lU/mspIoz8hMvGvbbc=" ]; #disable firewall when doing ipv6 vm stuff networking.firewall.enable = lib.mkForce false;