Initial commit

This commit is contained in:
2026-03-31 16:53:11 +02:00
commit d0eba1c834
343 changed files with 34443 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
{
config,
pkgs,
...
}: let
configFile = "cliphist/cliphistrc";
in {
users.users.someone.packages = with pkgs; [
cliphist
wl-clipboard
];
systemd.user.services.cliphist = {
description = "Clipboard management daemon";
wantedBy = ["graphical-session.target"];
after = ["graphical-session.target"];
partOf = ["graphical-session.target"];
serviceConfig = {
ExecStart = "${pkgs.wl-clipboard}/bin/wl-paste --watch ${pkgs.cliphist}/bin/cliphist -max-dedupe-search 10 -max-items 500 store";
Restart = "on-failure";
Type = "simple";
};
path = [pkgs.cliphist pkgs.wl-clipboard];
};
xdg.configFile."${configFile}".text = ''
allow_images=true
max_entries=500
database=${config.xdg.dataHome}/cliphist/db
'';
}
+18
View File
@@ -0,0 +1,18 @@
{
config,
pkgs,
...
}: {
systemd.user.services.gpg-agent = {
description = "GnuPG cryptographic agent and passphrase cache";
documentation = ["man:gpg-agent(1)"];
wantedBy = ["default.target"];
serviceConfig = {
Environment = "GNUPGHOME=${config.xdg.configHome}/gnupg";
ExecStart = "${pkgs.gnupg}/bin/gpg-agent --supervised";
ExecReload = "${pkgs.gnupg}/bin/gpgconf --reload gpg-agent";
Type = "simple";
};
};
}
+16
View File
@@ -0,0 +1,16 @@
{pkgs, ...}: {
users.users.someone.packages = with pkgs; [
polkit_gnome
];
systemd.user.services.polkit-gnome = {
description = "GNOME PolicyKit Agent";
wantedBy = ["graphical-session.target"];
after = ["graphical-session.target"];
partOf = ["graphical-session.target"];
serviceConfig = {
ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
};
};
}