update, attempt to fix kwallet

This commit is contained in:
Daniel Bulant 2026-05-12 23:42:32 +02:00
parent 14d89fe46c
commit aff76ee9fb
No known key found for this signature in database
6 changed files with 76 additions and 8 deletions

View file

@ -80,6 +80,7 @@ exec-once=systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTO
exec-once = systemctl --user start hyprpolkitagent exec-once = systemctl --user start hyprpolkitagent
exec-once=otd-daemon exec-once=otd-daemon
exec-once=lorri daemon exec-once=lorri daemon
exec-once=/etc/pam_init
#exec-once=wlsunset -S 6:00 -s 21:30 #exec-once=wlsunset -S 6:00 -s 21:30
# exec-once=swaybg -m fill -i ~/.config/hypr/wallpapers/sunflowers.jpg # exec-once=swaybg -m fill -i ~/.config/hypr/wallpapers/sunflowers.jpg

@ -1 +0,0 @@
Subproject commit 80f912aa8bbc857fccd340be5d1a903bd9b8a1c7

View file

@ -66,10 +66,31 @@
"type": "github" "type": "github"
} }
}, },
"codexbar": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1778481276,
"narHash": "sha256-vLFMeN1lw/Y6p1ZhPVcF6aALLPXS05Bi6PpgqSIVENk=",
"owner": "0xferrous",
"repo": "CodexBar-flake",
"rev": "4e3491c7233b0840341c5340474e53dd05461662",
"type": "github"
},
"original": {
"owner": "0xferrous",
"repo": "CodexBar-flake",
"type": "github"
}
},
"colmena": { "colmena": {
"inputs": { "inputs": {
"flake-compat": "flake-compat_3", "flake-compat": "flake-compat_3",
"flake-utils": "flake-utils", "flake-utils": "flake-utils_2",
"nix-github-actions": "nix-github-actions", "nix-github-actions": "nix-github-actions",
"nixpkgs": "nixpkgs_4", "nixpkgs": "nixpkgs_4",
"stable": "stable" "stable": "stable"
@ -90,7 +111,7 @@
}, },
"copyparty": { "copyparty": {
"inputs": { "inputs": {
"flake-utils": "flake-utils_2", "flake-utils": "flake-utils_3",
"nixpkgs": "nixpkgs_5" "nixpkgs": "nixpkgs_5"
}, },
"locked": { "locked": {
@ -462,6 +483,24 @@
} }
}, },
"flake-utils": { "flake-utils": {
"inputs": {
"systems": "systems"
},
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"flake-utils_2": {
"locked": { "locked": {
"lastModified": 1659877975, "lastModified": 1659877975,
"narHash": "sha256-zllb8aq3YO3h8B/U0/J1WBgAL8EX5yWf5pMj3G0NAmc=", "narHash": "sha256-zllb8aq3YO3h8B/U0/J1WBgAL8EX5yWf5pMj3G0NAmc=",
@ -476,7 +515,7 @@
"type": "github" "type": "github"
} }
}, },
"flake-utils_2": { "flake-utils_3": {
"locked": { "locked": {
"lastModified": 1678901627, "lastModified": 1678901627,
"narHash": "sha256-U02riOqrKKzwjsxc/400XnElV+UtPUQWpANPlyazjH0=", "narHash": "sha256-U02riOqrKKzwjsxc/400XnElV+UtPUQWpANPlyazjH0=",
@ -766,7 +805,7 @@
"hyprwire": "hyprwire", "hyprwire": "hyprwire",
"nixpkgs": "nixpkgs_9", "nixpkgs": "nixpkgs_9",
"pre-commit-hooks": "pre-commit-hooks", "pre-commit-hooks": "pre-commit-hooks",
"systems": "systems_2", "systems": "systems_3",
"xdph": "xdph" "xdph": "xdph"
}, },
"locked": { "locked": {
@ -1650,6 +1689,7 @@
"root": { "root": {
"inputs": { "inputs": {
"affinity-nix": "affinity-nix", "affinity-nix": "affinity-nix",
"codexbar": "codexbar",
"colmena": "colmena", "colmena": "colmena",
"copyparty": "copyparty", "copyparty": "copyparty",
"danksearch": "danksearch", "danksearch": "danksearch",
@ -1761,6 +1801,21 @@
} }
}, },
"systems_2": { "systems_2": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"systems_3": {
"locked": { "locked": {
"lastModified": 1689347949, "lastModified": 1689347949,
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=", "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
@ -1795,7 +1850,7 @@
}, },
"utils": { "utils": {
"inputs": { "inputs": {
"systems": "systems" "systems": "systems_2"
}, },
"locked": { "locked": {
"lastModified": 1731533236, "lastModified": 1731533236,

View file

@ -4,6 +4,10 @@
url = "github:getpaseo/paseo"; url = "github:getpaseo/paseo";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
codexbar = {
url = "github:0xferrous/CodexBar-flake";
inputs.nixpkgs.follows = "nixpkgs";
};
dms = { dms = {
url = "github:AvengeMedia/DankMaterialShell/stable"; url = "github:AvengeMedia/DankMaterialShell/stable";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";

View file

@ -153,6 +153,7 @@ in
fonts.enableDefaultPackages = true; fonts.enableDefaultPackages = true;
# https://github.com/NixOS/nixpkgs/issues/409986 # https://github.com/NixOS/nixpkgs/issues/409986
environment.etc."xdg/menus/applications.menu".source = ./dolphin.menu; environment.etc."xdg/menus/applications.menu".source = ./dolphin.menu;
environment.etc."pam_init".source = "${pkgs.kdePackages.kwallet-pam}/libexec/pam_kwallet_init";
users.users.dan = { users.users.dan = {
isNormalUser = true; isNormalUser = true;
@ -228,6 +229,12 @@ in
compositor.name = "hyprland"; # "niri" or "hyprland" or "sway" compositor.name = "hyprland"; # "niri" or "hyprland" or "sway"
configHome = "/home/dan"; configHome = "/home/dan";
}; };
security.pam.services = {
greetd.kwallet = {
enable = true;
package = pkgs.kdePackages.kwallet-pam;
};
};
services.logind.settings.Login = { services.logind.settings.Login = {
HandlePowerKey = "suspend"; HandlePowerKey = "suspend";

View file

@ -13,6 +13,7 @@
inputs, inputs,
nix-monitor, nix-monitor,
rusic, rusic,
codexbar,
config, config,
# paseo, # paseo,
... ...
@ -40,6 +41,7 @@ in
stateVersion = "25.11"; stateVersion = "25.11";
packages = with pkgs; [ packages = with pkgs; [
codexbar.packages.${system}.default
jellyfin-desktop jellyfin-desktop
(kdePackages.qt6ct.overrideAttrs (oldAttrs: { (kdePackages.qt6ct.overrideAttrs (oldAttrs: {
patches = (oldAttrs.patches or [ ]) ++ [ ../../pkgs/qt6ct-0.11.patch ]; patches = (oldAttrs.patches or [ ]) ++ [ ../../pkgs/qt6ct-0.11.patch ];
@ -324,7 +326,7 @@ in
liberation_ttf liberation_ttf
noto-fonts-color-emoji noto-fonts-color-emoji
rubik # rubik
nerd-fonts.jetbrains-mono nerd-fonts.jetbrains-mono
google-fonts google-fonts
]; ];