Merge pull request #271 from DarkKirb/create-pull-request/patch

Run automatic update
This commit is contained in:
Charlotte 🦝 Delenk 2023-11-20 10:42:02 +01:00 committed by GitHub
commit ce29e045ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 121 additions and 60 deletions

View file

@ -3,8 +3,7 @@ args: {
nixpkgs, nixpkgs,
nix-gaming, nix-gaming,
... ...
}: }: let
let
wine = nix-gaming.packages.x86_64-linux.wine-ge.overrideAttrs (super: { wine = nix-gaming.packages.x86_64-linux.wine-ge.overrideAttrs (super: {
patches = patches =
super.patches super.patches
@ -19,8 +18,7 @@ let
./wine/server-default_integrity/0007-ntdll-Elevate-processes-if-requested-in-RtlCreateUse.patch ./wine/server-default_integrity/0007-ntdll-Elevate-processes-if-requested-in-RtlCreateUse.patch
]; ];
}); });
in in {
{
home.packages = [ home.packages = [
pkgs.xivlauncher pkgs.xivlauncher
pkgs.prismlauncher pkgs.prismlauncher

View file

@ -1,5 +1,5 @@
{ {
services.pass-secret-service = { services.pass-secret-service = {
enable = true; enable = true;
}; };
} }

View file

@ -27,18 +27,18 @@
''; '';
mkKeybind = combo: number: [ mkKeybind = combo: number: [
{ {
name = "Mod4+${combo}"; name = "Mod4+${combo}";
value = "workspace number ${toString number}"; value = "workspace number ${toString number}";
} }
{ {
name = "Mod4+Shift+${combo}"; name = "Mod4+Shift+${combo}";
value = "move container to workspace number ${toString number}"; value = "move container to workspace number ${toString number}";
} }
]; ];
keys = ["0" "1" "2" "3" "4" "5" "6" "7" "8" "9" "f1" "f2" "f3" "f4" "f5" "f6" "f7" "f8" "f9" "f10" "f11" "f12"]; keys = ["0" "1" "2" "3" "4" "5" "6" "7" "8" "9" "f1" "f2" "f3" "f4" "f5" "f6" "f7" "f8" "f9" "f10" "f11" "f12"];
combos = lib.concatMap (k: map (s: "${k}${s}") keys) ["" "ctrl+" "alt+" "ctrl+alt+"]; combos = lib.concatMap (k: map (s: "${k}${s}") keys) ["" "ctrl+" "alt+" "ctrl+alt+"];
keybinds = lib.flatten (lib.zipListsWith mkKeybind combos (lib.lists.range 0 ((lib.lists.length combos) - 1))); keybinds = lib.flatten (lib.zipListsWith mkKeybind combos (lib.lists.range 0 ((lib.lists.length combos) - 1)));
in { in {
imports = [ imports = [
./wl-clipboard.nix ./wl-clipboard.nix
./mako.nix ./mako.nix
@ -75,21 +75,22 @@
inherit (config.wayland.windowManager.sway.config) modifier; inherit (config.wayland.windowManager.sway.config) modifier;
in in
lib.mkOptionDefault ({ lib.mkOptionDefault ({
"${modifier}+Return" = "exec ${pkgs.kitty}/bin/kitty"; "${modifier}+Return" = "exec ${pkgs.kitty}/bin/kitty";
"${modifier}+d" = "exec ${pkgs.rofi}/bin/rofi -show drun"; "${modifier}+d" = "exec ${pkgs.rofi}/bin/rofi -show drun";
"Print" = "mode screenshot"; "Print" = "mode screenshot";
"XF86AudioRaiseVolume" = "exec ${pkgs.pulseaudio}/bin/pactl set-sink-volume @DEFAULT_SINK@ +5%"; "XF86AudioRaiseVolume" = "exec ${pkgs.pulseaudio}/bin/pactl set-sink-volume @DEFAULT_SINK@ +5%";
"XF86AudioLowerVolume" = "exec ${pkgs.pulseaudio}/bin/pactl set-sink-volume @DEFAULT_SINK@ -5%"; "XF86AudioLowerVolume" = "exec ${pkgs.pulseaudio}/bin/pactl set-sink-volume @DEFAULT_SINK@ -5%";
"XF86AudioMute" = "exec ${pkgs.pulseaudio}/bin/pactl set-sink-mute @DEFAULT_SINK@ toggle"; "XF86AudioMute" = "exec ${pkgs.pulseaudio}/bin/pactl set-sink-mute @DEFAULT_SINK@ toggle";
"XF86AudioMicMute" = "exec ${pkgs.pulseaudio}/bin/pactl set-source-mute @DEFAULT_SOURCE@ toggle"; "XF86AudioMicMute" = "exec ${pkgs.pulseaudio}/bin/pactl set-source-mute @DEFAULT_SOURCE@ toggle";
"XF86MonBrightnessDown" = "exec ${pkgs.brightnessctl}/bin/brightnessctl set 5%-"; "XF86MonBrightnessDown" = "exec ${pkgs.brightnessctl}/bin/brightnessctl set 5%-";
"XF86MonBrightnessUp" = "exec ${pkgs.brightnessctl}/bin/brightnessctl set +5%"; "XF86MonBrightnessUp" = "exec ${pkgs.brightnessctl}/bin/brightnessctl set +5%";
"XF86AudioPlay" = "exec ${pkgs.mpc-cli}/bin/mpc toggle"; "XF86AudioPlay" = "exec ${pkgs.mpc-cli}/bin/mpc toggle";
"XF86AudioNext" = "exec ${pkgs.mpc-cli}/bin/mpc next"; "XF86AudioNext" = "exec ${pkgs.mpc-cli}/bin/mpc next";
"XF86AudioPrev" = "exec ${pkgs.mpc-cli}/bin/mpc prev"; "XF86AudioPrev" = "exec ${pkgs.mpc-cli}/bin/mpc prev";
"XF86AudioStop" = "exec ${pkgs.mpc-cli}/bin/mpc stop"; "XF86AudioStop" = "exec ${pkgs.mpc-cli}/bin/mpc stop";
"Mod1+Tab" = "exec ${switch_window}"; "Mod1+Tab" = "exec ${switch_window}";
} // (lib.listToAttrs keybinds)); }
// (lib.listToAttrs keybinds));
bars = [ bars = [
{ {
command = "${pkgs.waybar}/bin/waybar"; command = "${pkgs.waybar}/bin/waybar";

View file

@ -153,6 +153,7 @@ in {
name = "lightly"; name = "lightly";
package = pkgs.plasma5Packages.lightly; package = pkgs.plasma5Packages.lightly;
}; };
platformTheme = "qtct";
}; };
xdg.configFile."qt5ct/colors/Catppuccin-Custom.conf".text = '' xdg.configFile."qt5ct/colors/Catppuccin-Custom.conf".text = ''
[ColorScheme] [ColorScheme]
@ -160,9 +161,6 @@ in {
disabled_colors=${colorD 15}, ${colorD 0}, #ffa6adc8, #ff9399b2, ${colorD 1}, #ff6c7086, ${colorD 15}, ${colorD 15}, ${colorD 15}, ${colorD 0}, ${colorD 0}, #ff7f849c, ${colorD 8}, ${colorD 0}, ${colorD 13}, ${colorD 5}, ${colorD 0}, ${colorD 15}, ${colorI 0}, ${colorD 5}, #807f849c disabled_colors=${colorD 15}, ${colorD 0}, #ffa6adc8, #ff9399b2, ${colorD 1}, #ff6c7086, ${colorD 15}, ${colorD 15}, ${colorD 15}, ${colorD 0}, ${colorD 0}, #ff7f849c, ${colorD 8}, ${colorD 0}, ${colorD 13}, ${colorD 5}, ${colorD 0}, ${colorD 15}, ${colorI 0}, ${colorD 5}, #807f849c
inactive_colors=${colorI 15}, ${colorI 0}, #ffa6adc8, #ff9399b2, ${colorI 1}, #ff6c7086, ${colorI 15}, ${colorI 15}, ${colorI 15}, ${colorI 0}, ${colorD 0}, #ff7f849c, ${colorI 8}, ${colorI 0}, ${colorI 13}, ${colorI 5}, ${colorI 0}, ${colorI 15}, ${colorI 0}, ${colorI 5}, #807f849c inactive_colors=${colorI 15}, ${colorI 0}, #ffa6adc8, #ff9399b2, ${colorI 1}, #ff6c7086, ${colorI 15}, ${colorI 15}, ${colorI 15}, ${colorI 0}, ${colorD 0}, #ff7f849c, ${colorI 8}, ${colorI 0}, ${colorI 13}, ${colorI 5}, ${colorI 0}, ${colorI 15}, ${colorI 0}, ${colorI 5}, #807f849c
''; '';
systemd.user.sessionVariables = {
QT_QPA_PLATFORMTHEME = "qt5ct";
};
nixpkgs.overlays = [ nixpkgs.overlays = [
(super: self: { (super: self: {
python3 = super.python.override { python3 = super.python.override {

View file

@ -183,16 +183,18 @@
"flake-parts": [ "flake-parts": [
"flake-parts" "flake-parts"
], ],
"matrix-js-sdk": "matrix-js-sdk",
"matrix-react-sdk": "matrix-react-sdk",
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
] ]
}, },
"locked": { "locked": {
"lastModified": 1700325505, "lastModified": 1700405262,
"narHash": "sha256-98fdxxQ1FFeklwyus8Y0jMUOYg4WcJXWV54AiRhUXag=", "narHash": "sha256-Lf3Ra+EZ+N/dHHhe1L0Xg7hTBvPCHNcjyDs8zoq87k0=",
"owner": "DarkKirb", "owner": "DarkKirb",
"repo": "element-web", "repo": "element-web",
"rev": "91c6962aaad63b83dea64510daecd7ab598e0d60", "rev": "d308e98a5014d8e1dfc0bdc8ab75a0cc2e1e7ca3",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -220,11 +222,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1700313354, "lastModified": 1700396626,
"narHash": "sha256-EMi6OsvdCX3i5QKZDZM8IcDa/vxSnZuxVnwb+ovCv90=", "narHash": "sha256-HEcA1/7EbYLmbddxt8iK6FJQoNlfxrMvnAiMXq1Vr5A=",
"owner": "nix-community", "owner": "nix-community",
"repo": "flake-firefox-nightly", "repo": "flake-firefox-nightly",
"rev": "2513b83dbdc52958be60484cd13ec63f16cae668", "rev": "61c52ba7799b3b80d87330887e986e0c4ac5f7d2",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -473,11 +475,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1700261686, "lastModified": 1700386809,
"narHash": "sha256-kplQg6hKFNuWKrOyGp9D//G/WH1nHGJ43r2m7fagTYY=", "narHash": "sha256-2IPxWo0Yplv+70EueZVLTwRAijax0tirYp5Jh0QV1A4=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "ecd0a800f716b80a6eac58a7ac34d6d33e6fa5ee", "rev": "9a4725afa67db35cdf7be89f30527d745194cafa",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -566,11 +568,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1699790908, "lastModified": 1700395747,
"narHash": "sha256-8CO4KQhiEyO7rce4KVOq8arpk9802fVwxtN/oLeRFag=", "narHash": "sha256-pzLYZGK34vhAFfyAJjcZYX3BK0Ap/QY/rd8B6Q30tHo=",
"owner": "nix-community", "owner": "nix-community",
"repo": "lib-aggregate", "repo": "lib-aggregate",
"rev": "6c60a229fa422698325b2788e93dfeeba3f11391", "rev": "474538707da35589543af5a1c8c31f9978841add",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -636,6 +638,68 @@
"type": "github" "type": "github"
} }
}, },
"matrix-js-sdk": {
"inputs": {
"devshell": [
"element-web",
"devshell"
],
"flake-parts": [
"element-web",
"flake-parts"
],
"nixpkgs": [
"element-web",
"nixpkgs"
]
},
"locked": {
"lastModified": 1700380913,
"narHash": "sha256-Yg+zeiHT2ztPyeJa3PbbeYJiEWmOc5y9fc+jHBinx4Q=",
"owner": "darkkirb",
"repo": "matrix-js-sdk",
"rev": "9f11cbce3463442e23ff4a44d0fe6e0591968cfd",
"type": "github"
},
"original": {
"owner": "darkkirb",
"repo": "matrix-js-sdk",
"type": "github"
}
},
"matrix-react-sdk": {
"inputs": {
"devshell": [
"element-web",
"devshell"
],
"flake-parts": [
"element-web",
"flake-parts"
],
"matrix-js-sdk": [
"element-web",
"nixpkgs"
],
"nixpkgs": [
"element-web",
"nixpkgs"
]
},
"locked": {
"lastModified": 1700393167,
"narHash": "sha256-rDE1bgLNNjTpQ+b8h6a/qAiaOtcr7710RL7SxsOQg4s=",
"owner": "darkkirb",
"repo": "matrix-react-sdk",
"rev": "c6b69d499a1d4c0845e602efb3296026d3639a89",
"type": "github"
},
"original": {
"owner": "darkkirb",
"repo": "matrix-react-sdk",
"type": "github"
}
},
"mautrix-cleanup": { "mautrix-cleanup": {
"inputs": { "inputs": {
"flake-utils": [ "flake-utils": [
@ -802,11 +866,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1700270236, "lastModified": 1700356534,
"narHash": "sha256-MzN8aR1vAc5AVEcD2gqbMl42W+VlndGStZKefyQK8fs=", "narHash": "sha256-psWbfmoTIXrtPw8mW1lI6V+PkebfJoM+DVttkTYWb4E=",
"owner": "fufexan", "owner": "fufexan",
"repo": "nix-gaming", "repo": "nix-gaming",
"rev": "f85c0e6450de9d1e4625817b7c0fabc819eaa32a", "rev": "2b9464a6f0eb27f4f19623c7752a18f7f449299e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -897,11 +961,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1700168777, "lastModified": 1700393130,
"narHash": "sha256-Klkyo6VvKxf/aQrzmw7e6LUa/mUDHKesyhFeg5SBjBY=", "narHash": "sha256-hHEITgL6hIolxytfciE0ZqHR7kcC1i70BhDMecml7Yk=",
"owner": "DarkKirb", "owner": "DarkKirb",
"repo": "nix-packages", "repo": "nix-packages",
"rev": "c98a5a65dcecb537dc89fecade691ee7954c2915", "rev": "059314ec3693c1d1237b8eace325b9229c2f0517",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1022,11 +1086,11 @@
}, },
"nixos-hardware_2": { "nixos-hardware_2": {
"locked": { "locked": {
"lastModified": 1700315735, "lastModified": 1700392353,
"narHash": "sha256-zlSLW6dX5XwBEwN87CIVtMr8zDSKvTRFmWmIQ9FfWgo=", "narHash": "sha256-KARn8aVJu5fdW0jdJYoOQ1SPqWlNdz4l7r90NbArWSY=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "1721da31f9b30cbf4460c4ec5068b3b6174a4694", "rev": "2b00bc76dc893cd996a3d76a2f059d657a5ef37a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1116,11 +1180,11 @@
}, },
"nixpkgs_4": { "nixpkgs_4": {
"locked": { "locked": {
"lastModified": 1700325651, "lastModified": 1700416016,
"narHash": "sha256-kp5ri0F0thcneU1qwsCU46T/0OvYvtTY3q9F3x9K/rs=", "narHash": "sha256-Qp8Of0BUYGjqodmE912h+/uGknB7J11ypcQMKnEDUrg=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "a8617e2b0d26b16e91b224db9ebcb4a500c515cf", "rev": "0bf3f5cf6a98b5d077cdcdb00a6d4b3d92bc78b5",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1146,11 +1210,11 @@
}, },
"nur_2": { "nur_2": {
"locked": { "locked": {
"lastModified": 1700324798, "lastModified": 1700417267,
"narHash": "sha256-Gk7OEa0kocOUzfe7A6Hg0Tf6NbfGbQvoCaU2uWa7mX0=", "narHash": "sha256-gfmQCv4a2Zm9OSQfCR1UKmqpuFCULEHpiCWzt5JURGI=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NUR", "repo": "NUR",
"rev": "96ba76ae235d4fd57921f49449f47313e15a365e", "rev": "c62516e35d9b5d6612d5ca3da6d8d14f4b03aec4",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1222,11 +1286,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1699951338, "lastModified": 1700362823,
"narHash": "sha256-1GeczM7XfgHcYGYiYNcdwSFu3E62vmh4d7mffWZvyzE=", "narHash": "sha256-/H7XgvrYM0IbkpWkcdfkOH0XyBM5ewSWT1UtaLvOgKY=",
"owner": "Mic92", "owner": "Mic92",
"repo": "sops-nix", "repo": "sops-nix",
"rev": "0e3a94167dcd10a47b89141f35b2ff9e04b34c46", "rev": "49a87c6c827ccd21c225531e30745a9a6464775c",
"type": "github" "type": "github"
}, },
"original": { "original": {