update flake, add ai substituter, snes emulator and global shortcut to get random song

This commit is contained in:
Kopatz
2023-12-05 22:26:39 +01:00
parent 492437cbad
commit 2bd00d47fb
5 changed files with 26 additions and 13 deletions

24
flake.lock generated
View File

@@ -138,11 +138,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1701250978, "lastModified": 1701656485,
"narHash": "sha256-ohu3cz4edjpGxs2qUTgbs0WrnewOX4crnUJNEB6Jox4=", "narHash": "sha256-xDFormrGCKKGqngHa2Bz1GTeKlFMMjLnHhTDRdMJ1hs=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "8772491ed75f150f02552c60694e1beff9f46013", "rev": "fa194fc484fd7270ab324bb985593f71102e84d1",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -161,11 +161,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1701387264, "lastModified": 1701722881,
"narHash": "sha256-uGZycEJqOZSYvpmoFuyDrboe5e1t0F/HB9r7HsWgssc=", "narHash": "sha256-Wim+dqT6W6nTdifu/jmToIzD7eCQaCEhDqDp5kexyfM=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NixOS-WSL", "repo": "NixOS-WSL",
"rev": "1a50ab3fe98934d8f109f05528874c9ab324707b", "rev": "5ee4fa3515de7b5609e6d161b800d91328a7a143",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -192,11 +192,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1701253981, "lastModified": 1701436327,
"narHash": "sha256-ztaDIyZ7HrTAfEEUt9AtTDNoCYxUdSd6NrRHaYOIxtk=", "narHash": "sha256-tRHbnoNI8SIM5O5xuxOmtSLnswEByzmnQcGGyNRjxsE=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "e92039b55bcd58469325ded85d4f58dd5a4eaf58", "rev": "91050ea1e57e50388fa87a3302ba12d188ef723a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -223,11 +223,11 @@
}, },
"nixpkgs_3": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1701263465, "lastModified": 1701539137,
"narHash": "sha256-lNXUIlkfyDyp9Ox21hr+wsEf/IBklLvb6bYcyeXbdRc=", "narHash": "sha256-nVO/5QYpf1GwjvtpXhyxx5M3U/WN0MwBro4Lsk+9mL0=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "50aa30a13c4ab5e7ba282da460a3e3d44e9d0eb3", "rev": "933d7dc155096e7575d207be6fb7792bc9f34f6d",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -98,6 +98,7 @@
./users/kopatz.nix ./users/kopatz.nix
./modules/graphical/plasma.nix ./modules/graphical/plasma.nix
./modules/graphical/hyprland.nix ./modules/graphical/hyprland.nix
./modules/graphical/emulators.nix
./modules/graphical/shared.nix ./modules/graphical/shared.nix
./modules/hardware/nvidia.nix ./modules/hardware/nvidia.nix
./modules/hardware/ssd.nix ./modules/hardware/ssd.nix

View File

@@ -0,0 +1,7 @@
{ config, pkgs, inputs, ... }:
{
environment.systemPackages = with pkgs; [
snes9x
];
}

View File

@@ -181,7 +181,8 @@ in
"$mainMod, M, exit," "$mainMod, M, exit,"
"$mainMod, E, exec, ${thunar}" "$mainMod, E, exec, ${thunar}"
"$mainMod, V, togglefloating" "$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)" "$mainMod, R, exec, ${swww} img $(ls -d ~/Nextcloud/dinge/Bg/* | shuf -n 1)"
" , Print, exec, ${grim} -g \"$(${slurp} -d)\" - | ${wl-copy}" " , Print, exec, ${grim} -g \"$(${slurp} -d)\" - | ${wl-copy}"
"ALT, SPACE, exec, ${rofi} -show combi" "ALT, SPACE, exec, ${rofi} -show combi"
@@ -677,6 +678,7 @@ in
libnotify libnotify
networkmanagerapplet networkmanagerapplet
wayland wayland
wl-clipboard
#qt5.qtwayland #qt5.qtwayland
#qt6.qmake #qt6.qmake
#qt6.qtwayland #qt6.qtwayland

View File

@@ -20,6 +20,9 @@
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
boot.initrd.systemd.network.wait-online.enable = false; boot.initrd.systemd.network.wait-online.enable = false;
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 #disable firewall when doing ipv6 vm stuff
networking.firewall.enable = lib.mkForce false; networking.firewall.enable = lib.mkForce false;