chore: update flake

This commit is contained in:
Leon Schwarzäugl 2025-05-24 21:24:20 +02:00
parent 2a216838ec
commit 87baf57aa3
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
14 changed files with 497 additions and 416 deletions

View file

@ -235,7 +235,8 @@ When setting this option normally, the password would normally be written world-
#+begin_src nix :tangle no :noweb-ref flakeinputs #+begin_src nix :tangle no :noweb-ref flakeinputs
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-24.11"; nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-25.05";
nixpkgs-stable24_05.url = "github:NixOS/nixpkgs/nixos-24.05";
nixpkgs-stable24_11.url = "github:NixOS/nixpkgs/nixos-24.11"; nixpkgs-stable24_11.url = "github:NixOS/nixpkgs/nixos-24.11";
systems.url = "github:nix-systems/default-linux"; systems.url = "github:nix-systems/default-linux";
home-manager = { home-manager = {
@ -1778,7 +1779,7 @@ This is the "reference implementation" of a setup that runs without NixOS, only
}; };
}; };
programs.zsh.initExtra = " programs.zsh.initContent = "
export GPG_TTY=\"$(tty)\" export GPG_TTY=\"$(tty)\"
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
gpgconf --launch gpg-agent gpgconf --launch gpg-agent
@ -3678,7 +3679,14 @@ When adding a new entry here, do not forget to add it in the default output of t
}; };
nixpkgs-stable24_05 = final: _: { nixpkgs-stable24_05 = final: _: {
stable24_05 = import inputs.nixpkgs-stable { stable24_05 = import inputs.nixpkgs-stable24_05 {
inherit (final) system;
config.allowUnfree = true;
};
};
nixpkgs-stable24_11 = final: _: {
stable24_11 = import inputs.nixpkgs-stable24_11 {
inherit (final) system; inherit (final) system;
config.allowUnfree = true; config.allowUnfree = true;
}; };
@ -3697,6 +3705,7 @@ When adding a new entry here, do not forget to add it in the default output of t
// (modifications final prev) // (modifications final prev)
// (nixpkgs-stable final prev) // (nixpkgs-stable final prev)
// (nixpkgs-stable24_05 final prev) // (nixpkgs-stable24_05 final prev)
// (nixpkgs-stable24_11 final prev)
// (zjstatus final prev) // (zjstatus final prev)
// (inputs.vbc-nix.overlays.default final prev) // (inputs.vbc-nix.overlays.default final prev)
// (inputs.nur.overlays.default final prev) // (inputs.nur.overlays.default final prev)
@ -7113,6 +7122,7 @@ Here we just define some aliases for rebuilding the system, and we allow some in
mautrix-telegram = { mautrix-telegram = {
enable = true; enable = true;
environmentFile = config.sops.templates.mautrixtelegram.path; environmentFile = config.sops.templates.mautrixtelegram.path;
registerToSynapse = false;
settings = { settings = {
homeserver = { homeserver = {
address = "http://localhost:8008"; address = "http://localhost:8008";
@ -7690,16 +7700,16 @@ Here we just define some aliases for rebuilding the system, and we allow some in
devices = [ "sync (@oracle)" "magicant" "${workHostName}" ]; devices = [ "sync (@oracle)" "magicant" "${workHostName}" ];
id = "hgp9s-fyq3p"; id = "hgp9s-fyq3p";
}; };
# "Documents" = { "Documents" = {
# path = "/Vault/data/syncthing/Documents"; path = "/Vault/data/syncthing/Documents";
# type = "receiveonly"; type = "receiveonly";
# versioning = { versioning = {
# type = "simple"; type = "simple";
# params.keep = "5"; params.keep = "5";
# }; };
# devices = [ "magicant" "${workHostName}" ]; devices = [ "magicant" "${workHostName}" ];
# id = "hgr3d-pfu3w"; id = "hgr3d-pfu3w";
# }; };
# ".elfeed" = { # ".elfeed" = {
# path = "/Vault/data/syncthing/.elfeed"; # path = "/Vault/data/syncthing/.elfeed";
# devices = [ "sync (@oracle)" "magicant" "${workHostName}" ]; # devices = [ "sync (@oracle)" "magicant" "${workHostName}" ];
@ -7757,7 +7767,7 @@ Once this is finished, it will house a restic client that manages automatic back
templates = { templates = {
"restic-env".content = '' "restic-env".content = ''
AWS_ACCESS_KEY_ID=${config.sops.placeholder.resticaccesskey} AWS_ACCESS_KEY_ID=${config.sops.placeholder.resticaccesskey}
AWS_SECRET_ACCESS_KEY=${config.sops.placeholder.resicsecretaccesskey} AWS_SECRET_ACCESS_KEY=${config.sops.placeholder.resticsecretaccesskey}
''; '';
}; };
}; };
@ -8510,7 +8520,7 @@ Options that I need specifically at work. There are more options at [[#h:f0b2ea9
#+begin_src nix :tangle modules/nixos/optional/work.nix #+begin_src nix :tangle modules/nixos/optional/work.nix
{ self, lib, pkgs, config, ... }: { self, lib, pkgs, config, ... }:
let let
inherit (config.swarselsystems) mainUser xdgDir; inherit (config.swarselsystems) mainUser homeDir xdgDir;
owner = mainUser; owner = mainUser;
sopsFile = self + /secrets/work/secrets.yaml; sopsFile = self + /secrets/work/secrets.yaml;
swarselService = name: description: execStart: { swarselService = name: description: execStart: {
@ -8647,7 +8657,7 @@ Options that I need specifically at work. There are more options at [[#h:f0b2ea9
# cryptography # cryptography
# ])) # ]))
# docker # docker
stable.python39 stable24_11.python39
qemu qemu
packer packer
gnumake gnumake
@ -8678,20 +8688,20 @@ Options that I need specifically at work. There are more options at [[#h:f0b2ea9
''; '';
}; };
# syncthing = { syncthing = {
# settings = { settings = {
# "winters" = { "winters" = {
# id = "O7RWDMD-AEAHPP7-7TAVLKZ-BSWNBTU-2VA44MS-EYGUNBB-SLHKB3C-ZSLMOAA"; id = "O7RWDMD-AEAHPP7-7TAVLKZ-BSWNBTU-2VA44MS-EYGUNBB-SLHKB3C-ZSLMOAA";
# }; };
# folders = { folders = {
# "Documents" = { "Documents" = {
# path = "${homeDir}/Documents"; path = "${homeDir}/Documents";
# devices = [ "magicant" "winters" ]; devices = [ "magicant" "winters" ];
# id = "hgr3d-pfu3w"; id = "hgr3d-pfu3w";
# }; };
# }; };
# }; };
# }; };
udev.extraRules = '' udev.extraRules = ''
# share screen when dongle detected # share screen when dongle detected
@ -9278,7 +9288,7 @@ This holds packages that I can use as provided, or with small modifications (as
vim vim
sshfs sshfs
fuse fuse
ventoy # ventoy
poppler_utils poppler_utils
vdhcoapp vdhcoapp
@ -10192,6 +10202,27 @@ zsh is the most convenient shell for me and it happens to be super neat to confi
Here we set some aliases (some of them should be shellApplications instead) as well as some zsh plugins like =fzf-tab=. Here we set some aliases (some of them should be shellApplications instead) as well as some zsh plugins like =fzf-tab=.
Concerning the shell extensions, =zle <widget-name>= will run an existing widget and =zle -N <function_name>= will make a function available for use. The =my-= functions all remove =.= =/= and =:= from the =WORDCHARS= so that functions will stop there. The keycodes can be found using =showkeys -a= Concerning the shell extensions, =zle <widget-name>= will run an existing widget and =zle -N <function_name>= will make a function available for use. The =my-= functions all remove =.= =/= and =:= from the =WORDCHARS= so that functions will stop there. The keycodes can be found using =showkeys -a=
Regarding =initContent=:
To specify the order, use lib.mkOrder.
Common order values:
- 500 (mkBefore: Early initialization (replaces initExtraFirst
- 550: Before completion initialization (replaces initExtraBeforeCompInit
- 1000 (default: General configuration (replaces initExtra
- 1500 (mkAfter: Last to run configuration
To specify both content in Early initialization and General configuration, use lib.mkMerge:
#+begin_src nix
initContent = let
zshConfigEarlyInit = lib.mkOrder 500 "do something";
zshConfig = lib.mkOrder 1000 "do something";
in
lib.mkMerge [ zshConfigEarlyInit zshConfig ];
#+end_src
Currently I only use it as before with =initExtra= though.
#+begin_src nix :tangle modules/home/common/zsh.nix #+begin_src nix :tangle modules/home/common/zsh.nix
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
let let
@ -10267,7 +10298,7 @@ Concerning the shell extensions, =zle <widget-name>= will run an existing widget
src = pkgs.zsh-fzf-tab; src = pkgs.zsh-fzf-tab;
} }
]; ];
initExtra = '' initContent = ''
my-forward-word() { my-forward-word() {
local WORDCHARS=$WORDCHARS local WORDCHARS=$WORDCHARS
WORDCHARS="''${WORDCHARS//:}" WORDCHARS="''${WORDCHARS//:}"
@ -11252,31 +11283,31 @@ The `extraConfig` section here CANNOT be reindented. This has something to do wi
config = lib.mkIf config.swarselsystems.modules.mako { config = lib.mkIf config.swarselsystems.modules.mako {
services.mako = { services.mako = {
enable = true; enable = true;
# backgroundColor = "#2e3440"; settings = {
# borderColor = "#88c0d0"; border-radius = 15;
borderRadius = 15; border-size = 1;
borderSize = 1; default-timeout = 5000;
defaultTimeout = 5000; ignore-timeout = 1;
height = 150; icons = 1;
icons = true; layer = "overlay";
ignoreTimeout = true; sort = "-time";
layer = "overlay"; height = 150;
maxIconSize = 64; width = 300;
sort = "-time"; "urgency=low" = {
width = 300; border-color = lib.mkForce "#cccccc";
# font = "monospace 10"; };
extraConfig = '' "urgency=normal" = {
[urgency=low] border-color = lib.mkForce "#d08770";
border-color=#cccccc };
[urgency=normal] "urgency=high" = {
border-color=#d08770 border-color = lib.mkForce "#bf616a";
[urgency=high] default-timeout = 3000;
border-color=#bf616a };
default-timeout=3000 "category=mpd" = {
[category=mpd] default-timeout = 2000;
default-timeout=2000 group-by = "category";
group-by=category };
''; };
}; };
}; };
@ -11873,7 +11904,7 @@ Settinfs that are needed for the gpg-agent. Also we are enabling emacs support f
enableScDaemon = true; enableScDaemon = true;
enableSshSupport = true; enableSshSupport = true;
enableExtraSocket = true; enableExtraSocket = true;
pinentryPackage = pkgs.pinentry.gtk2; pinentry.package = pkgs.pinentry.gtk2;
defaultCacheTtl = 600; defaultCacheTtl = 600;
maxCacheTtl = 7200; maxCacheTtl = 7200;
extraConfig = '' extraConfig = ''

283
flake.lock generated
View file

@ -5,11 +5,11 @@
"fromYaml": "fromYaml" "fromYaml": "fromYaml"
}, },
"locked": { "locked": {
"lastModified": 1732200724, "lastModified": 1746562888,
"narHash": "sha256-+R1BH5wHhfnycySb7Sy5KbYEaTJZWm1h+LW1OtyhiTs=", "narHash": "sha256-YgNJQyB5dQiwavdDFBMNKk1wyS77AtdgDk/VtU6wEaI=",
"owner": "SenchoPens", "owner": "SenchoPens",
"repo": "base16.nix", "repo": "base16.nix",
"rev": "153d52373b0fb2d343592871009a286ec8837aec", "rev": "806a1777a5db2a1ef9d5d6f493ef2381047f2b89",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -69,11 +69,11 @@
}, },
"crane": { "crane": {
"locked": { "locked": {
"lastModified": 1741148495, "lastModified": 1746291859,
"narHash": "sha256-EV8KUaIZ2/CdBXlutXrHoZYbWPeB65p5kKZk71gvDRI=", "narHash": "sha256-DdWJLA+D5tcmrRSg5Y7tp/qWaD05ATI4Z7h22gd1h7Q=",
"owner": "ipetkov", "owner": "ipetkov",
"repo": "crane", "repo": "crane",
"rev": "75390a36cd0c2cdd5f1aafd8a9f827d7107f2e53", "rev": "dfd9a8dfd09db9aad544c4d3b6c47b12562544a5",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -125,11 +125,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1744940522, "lastModified": 1747742835,
"narHash": "sha256-TNoetfICvd29DhxRPpmyKItQBDlqSvKcV+wGNkn14jk=", "narHash": "sha256-kYL4GCwwznsypvsnA20oyvW8zB/Dvn6K5G/tgMjVMT4=",
"owner": "nix-community", "owner": "nix-community",
"repo": "disko", "repo": "disko",
"rev": "51d33bbb7f1e74ba5f9d9a77357735149da99081", "rev": "df522e787fdffc4f32ed3e1fca9ed0968a384d62",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -146,11 +146,11 @@
"nixpkgs-stable": "nixpkgs-stable" "nixpkgs-stable": "nixpkgs-stable"
}, },
"locked": { "locked": {
"lastModified": 1744967866, "lastModified": 1748107096,
"narHash": "sha256-jWHOSSZ03R1Dvru5rXEForMgkV1RAsCd+IjMmehpmFg=", "narHash": "sha256-PmQY/yDSlxxma3RBW2v+yWSvpJTubcmXUdoAlaJv7Dk=",
"owner": "nix-community", "owner": "nix-community",
"repo": "emacs-overlay", "repo": "emacs-overlay",
"rev": "c54fd7dc3e696136c8257abfe12815274b42660e", "rev": "5e55769b7a39ab810f761874aff5787c74e981da",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -162,11 +162,11 @@
"firefox-gnome-theme": { "firefox-gnome-theme": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1743774811, "lastModified": 1744642301,
"narHash": "sha256-oiHLDHXq7ymsMVYSg92dD1OLnKLQoU/Gf2F1GoONLCE=", "narHash": "sha256-5A6LL7T0lttn1vrKsNOKUk9V0ittdW0VEqh6AtefxJ4=",
"owner": "rafaelmardojai", "owner": "rafaelmardojai",
"repo": "firefox-gnome-theme", "repo": "firefox-gnome-theme",
"rev": "df53a7a31872faf5ca53dd0730038a62ec63ca9e", "rev": "59e3de00f01e5adb851d824cf7911bd90c31083a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -209,11 +209,11 @@
}, },
"flake-compat_3": { "flake-compat_3": {
"locked": { "locked": {
"lastModified": 1733328505, "lastModified": 1747046372,
"narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=", "narHash": "sha256-CIVLLkVgvHYbgI2UpXvIIBJ12HWgX+fjA8Xf8PUmqCY=",
"owner": "edolstra", "owner": "edolstra",
"repo": "flake-compat", "repo": "flake-compat",
"rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec", "rev": "9100a0f413b0c601e0533d1d94ffd501ce2e7885",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -277,11 +277,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1740872218, "lastModified": 1743550720,
"narHash": "sha256-ZaMw0pdoUKigLpv9HiNDH2Pjnosg7NBYMJlHTIsHEUo=", "narHash": "sha256-hIshGgKZCgWh6AYJpJmRgFdR3WUbkY04o82X05xqQiY=",
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "flake-parts", "repo": "flake-parts",
"rev": "3876f6b87db82f33775b1ef5ea343986105db764", "rev": "c621e8422220273271f52058f618c94e405bb0f5",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -332,7 +332,6 @@
"inputs": { "inputs": {
"nixpkgs-lib": [ "nixpkgs-lib": [
"stylix", "stylix",
"nur",
"nixpkgs" "nixpkgs"
] ]
}, },
@ -384,27 +383,6 @@
} }
}, },
"flake-utils_3": { "flake-utils_3": {
"inputs": {
"systems": [
"stylix",
"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_4": {
"inputs": { "inputs": {
"systems": "systems_5" "systems": "systems_5"
}, },
@ -576,16 +554,16 @@
"gnome-shell": { "gnome-shell": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1732369855, "lastModified": 1744584021,
"narHash": "sha256-JhUWbcYPjHO3Xs3x9/Z9RuqXbcp5yhPluGjwsdE2GMg=", "narHash": "sha256-0RJ4mJzf+klKF4Fuoc8VN8dpQQtZnKksFmR2jhWE1Ew=",
"owner": "GNOME", "owner": "GNOME",
"repo": "gnome-shell", "repo": "gnome-shell",
"rev": "dadd58f630eeea41d645ee225a63f719390829dc", "rev": "52c517c8f6c199a1d6f5118fae500ef69ea845ae",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "GNOME", "owner": "GNOME",
"ref": "47.2", "ref": "48.1",
"repo": "gnome-shell", "repo": "gnome-shell",
"type": "github" "type": "github"
} }
@ -597,11 +575,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1744919155, "lastModified": 1747978958,
"narHash": "sha256-IJksPW32V9gid9vDxoloJMRk+YGjxq5drFHBFeBkKU8=", "narHash": "sha256-pQQnbxWpY3IiZqgelXHIe/OAE/Yv4NSQq7fch7M6nXQ=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "72526a5f7cde2ef9075637802a1e2a8d2d658f70", "rev": "7419250703fd5eb50e99bdfb07a86671939103ea",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -639,11 +617,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1743869639, "lastModified": 1747763032,
"narHash": "sha256-Xhe3whfRW/Ay05z9m1EZ1/AkbV1yo0tm1CbgjtCi4rQ=", "narHash": "sha256-9j3oCbemeH7bTVXJ3pDWxOptbxDx2SdK1jY2AHpjQiw=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "d094c6763c6ddb860580e7d3b4201f8f496a6836", "rev": "29dda415f5b2178278283856c6f9f7b48a2a4353",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -677,11 +655,11 @@
"rust-overlay": "rust-overlay" "rust-overlay": "rust-overlay"
}, },
"locked": { "locked": {
"lastModified": 1741442524, "lastModified": 1747056319,
"narHash": "sha256-tVcxLDLLho8dWcO81Xj/3/ANLdVs0bGyCPyKjp70JWk=", "narHash": "sha256-qSKcBaISBozadtPq6BomnD+wIYTZIkiua3UuHLaD52c=",
"owner": "nix-community", "owner": "nix-community",
"repo": "lanzaboote", "repo": "lanzaboote",
"rev": "d8099586d9a84308ffedac07880e7f07a0180ff4", "rev": "2e425f3da6ce7f5b34fa6eaf7a2a7f78dbabcc85",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -697,11 +675,11 @@
"nixpkgs": "nixpkgs_2" "nixpkgs": "nixpkgs_2"
}, },
"locked": { "locked": {
"lastModified": 1744704014, "lastModified": 1747908601,
"narHash": "sha256-UGq8nYSq/feyP0bUjd88jHXA7wJMaSPbtRByp7ZOD30=", "narHash": "sha256-cSzec5IT7Imx9g+Rhpt4GxrLiNF++V+guzYCnWUjhAI=",
"owner": "thiagokokada", "owner": "thiagokokada",
"repo": "nix-alien", "repo": "nix-alien",
"rev": "9b92bd3b3d54e02aa0b1881af435802567c2dca9", "rev": "798541edff98cfa895941abe35f3e056f319a193",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -717,11 +695,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1744478979, "lastModified": 1748065210,
"narHash": "sha256-dyN+teG9G82G+m+PX/aSAagkC+vUv0SgUw3XkPhQodQ=", "narHash": "sha256-dFqlLNW6UW19m0vg5FHWLH2G2LGkqYyPs/4YqfoZMoM=",
"owner": "lnl7", "owner": "lnl7",
"repo": "nix-darwin", "repo": "nix-darwin",
"rev": "43975d782b418ebf4969e9ccba82466728c2851b", "rev": "acd6aa5a9065c6695212be313e06f08f7184cb25",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -761,11 +739,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1744518957, "lastModified": 1746934494,
"narHash": "sha256-RLBSWQfTL0v+7uyskC5kP6slLK1jvIuhaAh8QvB75m4=", "narHash": "sha256-3n6i+F0sDASjkhbvgFDpPDZGp7z19IrRtjfF9TwJpCA=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nix-index-database", "repo": "nix-index-database",
"rev": "4fc9ea78c962904f4ea11046f3db37c62e8a02fd", "rev": "e9b21b01e4307176b9718a29ac514838e7f6f4ff",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -781,11 +759,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1744518957, "lastModified": 1747540584,
"narHash": "sha256-RLBSWQfTL0v+7uyskC5kP6slLK1jvIuhaAh8QvB75m4=", "narHash": "sha256-cxCQ413JTUuRv9Ygd8DABJ1D6kuB/nTfQqC0Lu9C0ls=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nix-index-database", "repo": "nix-index-database",
"rev": "4fc9ea78c962904f4ea11046f3db37c62e8a02fd", "rev": "ec179dd13fb7b4c6844f55be91436f7857226dce",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -823,10 +801,10 @@
"nix-secrets": { "nix-secrets": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1742682980, "lastModified": 1748102838,
"narHash": "sha256-oHqbNiTdpGrOtZtu1UAMjOteEPEDJTolTh/cNqgj2HM=", "narHash": "sha256-o8ACYonrWdDSbb30v1xUhl8BuYuLJsAYH9VMRJ/HSKY=",
"ref": "main", "ref": "main",
"rev": "b9e7aa2f01b68aa186271a1c0db722049fa14c17", "rev": "3c3d7b593f4b295a1cdf8c4448b4c7ff6c5614ab",
"shallow": true, "shallow": true,
"type": "git", "type": "git",
"url": "ssh://git@github.com/Swarsel/nix-secrets.git" "url": "ssh://git@github.com/Swarsel/nix-secrets.git"
@ -901,11 +879,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1742568034, "lastModified": 1747663185,
"narHash": "sha256-QaMEhcnscfF2MqB7flZr+sLJMMYZPnvqO4NYf9B4G38=", "narHash": "sha256-Obh50J+O9jhUM/FgXtI3he/QRNiV9+J53+l+RlKSaAk=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixos-generators", "repo": "nixos-generators",
"rev": "42ee229088490e3777ed7d1162cb9e9d8c3dbb11", "rev": "ee07ba0d36c38e9915c55d2ac5a8fb0f05f2afcc",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -916,11 +894,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1744633460, "lastModified": 1747900541,
"narHash": "sha256-fbWE4Xpw6eH0Q6in+ymNuDwTkqmFmtxcQEmtRuKDTTk=", "narHash": "sha256-dn64Pg9xLETjblwZs9Euu/SsjW80pd6lr5qSiyLY1pg=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "9a049b4a421076d27fee3eec664a18b2066824cb", "rev": "11f2d9ea49c3e964315215d6baa73a8d42672f06",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -932,11 +910,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1741241576, "lastModified": 1746916775,
"narHash": "sha256-/mxmUVd+AE2bTmulNfM7yICocUvavlFQHcMYK67z3qI=", "narHash": "sha256-TGHTAbjauY7kK8tX8HdFh0A9eXhiRIbwZH6vBHLsofc=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "ffe8d1b1030b5de6eba761102ee34b6e41d040ee", "rev": "7fb53a7bf9a07f97c34910aa45388083c67751e9",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -992,11 +970,11 @@
}, },
"nixpkgs-stable": { "nixpkgs-stable": {
"locked": { "locked": {
"lastModified": 1744440957, "lastModified": 1747862697,
"narHash": "sha256-FHlSkNqFmPxPJvy+6fNLaNeWnF1lZSgqVCl/eWaJRc4=", "narHash": "sha256-U4HaNZ1W26cbOVm0Eb5OdGSnfQVWQKbLSPrSSa78KC0=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "26d499fc9f1d567283d5d56fcf367edd815dba1d", "rev": "2baa12ff69913392faf0ace833bc54bba297ea95",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1006,13 +984,29 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs-stable24_11": { "nixpkgs-stable24_05": {
"locked": { "locked": {
"lastModified": 1744440957, "lastModified": 1735563628,
"narHash": "sha256-FHlSkNqFmPxPJvy+6fNLaNeWnF1lZSgqVCl/eWaJRc4=", "narHash": "sha256-OnSAY7XDSx7CtDoqNh8jwVwh4xNL/2HaJxGjryLWzX8=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "26d499fc9f1d567283d5d56fcf367edd815dba1d", "rev": "b134951a4c9f3c995fd7be05f3243f8ecd65d798",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-24.05",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-stable24_11": {
"locked": {
"lastModified": 1747862697,
"narHash": "sha256-U4HaNZ1W26cbOVm0Eb5OdGSnfQVWQKbLSPrSSa78KC0=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "2baa12ff69913392faf0ace833bc54bba297ea95",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1024,16 +1018,16 @@
}, },
"nixpkgs-stable_2": { "nixpkgs-stable_2": {
"locked": { "locked": {
"lastModified": 1744440957, "lastModified": 1747953325,
"narHash": "sha256-FHlSkNqFmPxPJvy+6fNLaNeWnF1lZSgqVCl/eWaJRc4=", "narHash": "sha256-y2ZtlIlNTuVJUZCqzZAhIw5rrKP4DOSklev6c8PyCkQ=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "26d499fc9f1d567283d5d56fcf367edd815dba1d", "rev": "55d1f923c480dadce40f5231feb472e81b0bab48",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "NixOS",
"ref": "nixos-24.11", "ref": "nixos-25.05",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
@ -1056,11 +1050,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1744463964, "lastModified": 1747179050,
"narHash": "sha256-LWqduOgLHCFxiTNYi3Uj5Lgz0SR+Xhw3kr/3Xd0GPTM=", "narHash": "sha256-qhFMmDkeJX9KJwr5H32f1r7Prs7XbQWtO0h3V0a0rFY=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "2631b0b7abcea6e640ce31cd78ea58910d31e650", "rev": "adaa24fbf46737f3f1b5497bf64bae750f82942e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1103,11 +1097,11 @@
}, },
"nixpkgs_5": { "nixpkgs_5": {
"locked": { "locked": {
"lastModified": 1745391562, "lastModified": 1748026106,
"narHash": "sha256-sPwcCYuiEopaafePqlG826tBhctuJsLx/mhKKM5Fmjo=", "narHash": "sha256-6m1Y3/4pVw1RWTsrkAK2VMYSzG4MMIj7sqUy7o8th1o=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "8a2f738d9d1f1d986b5a4cd2fd2061a7127237d7", "rev": "063f43f2dbdef86376cc29ad646c45c46e93234c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1135,11 +1129,11 @@
}, },
"nixpkgs_7": { "nixpkgs_7": {
"locked": { "locked": {
"lastModified": 1744463964, "lastModified": 1748026106,
"narHash": "sha256-LWqduOgLHCFxiTNYi3Uj5Lgz0SR+Xhw3kr/3Xd0GPTM=", "narHash": "sha256-6m1Y3/4pVw1RWTsrkAK2VMYSzG4MMIj7sqUy7o8th1o=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "2631b0b7abcea6e640ce31cd78ea58910d31e650", "rev": "063f43f2dbdef86376cc29ad646c45c46e93234c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1151,11 +1145,11 @@
}, },
"nixpkgs_8": { "nixpkgs_8": {
"locked": { "locked": {
"lastModified": 1744502386, "lastModified": 1744868846,
"narHash": "sha256-QAd1L37eU7ktL2WeLLLTmI6P9moz9+a/ONO8qNBYJgM=", "narHash": "sha256-5RJTdUHDmj12Qsv7XOhuospjAjATNiTMElplWnJE9Hs=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "f6db44a8daa59c40ae41ba6e5823ec77fe0d2124", "rev": "ebe4301cbd8f81c4f8d3244b3632338bbeb6d49c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1167,11 +1161,11 @@
}, },
"nixpkgs_9": { "nixpkgs_9": {
"locked": { "locked": {
"lastModified": 1743583204, "lastModified": 1747542820,
"narHash": "sha256-F7n4+KOIfWrwoQjXrL2wD9RhFYLs2/GGe/MQY1sSdlE=", "narHash": "sha256-GaOZntlJ6gPPbbkTLjbd8BMWaDYafhuuYRNrxCGnPJw=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "2c8d3f48d33929642c1c12cd243df4cc7d2ce434", "rev": "292fa7d4f6519c074f0a50394dbbe69859bb6043",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1261,11 +1255,11 @@
"treefmt-nix": "treefmt-nix" "treefmt-nix": "treefmt-nix"
}, },
"locked": { "locked": {
"lastModified": 1744971000, "lastModified": 1748108751,
"narHash": "sha256-WwJZZ1ChbwUWzsZWA4rUvWaISrZ9/+OB2qc3XZbbjTg=", "narHash": "sha256-3nny7VjOFPC3geBCQj59qQdKoYE8+bf+tc48YPEL8QU=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NUR", "repo": "NUR",
"rev": "c2d387e6f9e895853816a13d5c84f05f0675e1ea", "rev": "65f929e6e23929e6da5fa6b95ac3c5c4e43d6216",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1276,7 +1270,10 @@
}, },
"nur_2": { "nur_2": {
"inputs": { "inputs": {
"flake-parts": "flake-parts_4", "flake-parts": [
"stylix",
"flake-parts"
],
"nixpkgs": [ "nixpkgs": [
"stylix", "stylix",
"nixpkgs" "nixpkgs"
@ -1284,11 +1281,11 @@
"treefmt-nix": "treefmt-nix_2" "treefmt-nix": "treefmt-nix_2"
}, },
"locked": { "locked": {
"lastModified": 1743884191, "lastModified": 1746056780,
"narHash": "sha256-foVcginhVvjg8ZnTzY5wwMeZ4wjJ8yX66PW5kgyivPE=", "narHash": "sha256-/emueQGaoT4vu0QjU9LDOG5roxRSfdY0K2KkxuzazcM=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NUR", "repo": "NUR",
"rev": "fde90f5f52e13eed110a0e53a2818a2b09e4d37c", "rev": "d476cd0972dd6242d76374fcc277e6735715c167",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1337,11 +1334,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1740915799, "lastModified": 1746537231,
"narHash": "sha256-JvQvtaphZNmeeV+IpHgNdiNePsIpHD5U/7QN5AeY44A=", "narHash": "sha256-Wb2xeSyOsCoTCTj7LOoD6cdKLEROyFAArnYoS+noCWo=",
"owner": "cachix", "owner": "cachix",
"repo": "pre-commit-hooks.nix", "repo": "pre-commit-hooks.nix",
"rev": "42b1ba089d2034d910566bf6b40830af6b8ec732", "rev": "fa466640195d38ec97cf0493d6d6882bc4d14969",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1359,11 +1356,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1742649964, "lastModified": 1747372754,
"narHash": "sha256-DwOTp7nvfi8mRfuL1escHDXabVXFGT1VlPD1JHrtrco=", "narHash": "sha256-2Y53NGIX2vxfie1rOW0Qb86vjRZ7ngizoo+bnXU9D9k=",
"owner": "cachix", "owner": "cachix",
"repo": "git-hooks.nix", "repo": "git-hooks.nix",
"rev": "dcf5072734cb576d2b0c59b2ac44f5050b5eac82", "rev": "80479b6ec16fefd9c1db3ea13aeb038c60530f46",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1391,6 +1388,7 @@
"nixos-hardware": "nixos-hardware", "nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs_5", "nixpkgs": "nixpkgs_5",
"nixpkgs-stable": "nixpkgs-stable_2", "nixpkgs-stable": "nixpkgs-stable_2",
"nixpkgs-stable24_05": "nixpkgs-stable24_05",
"nixpkgs-stable24_11": "nixpkgs-stable24_11", "nixpkgs-stable24_11": "nixpkgs-stable24_11",
"nswitch-rcm-nix": "nswitch-rcm-nix", "nswitch-rcm-nix": "nswitch-rcm-nix",
"nur": "nur", "nur": "nur",
@ -1410,11 +1408,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1741228283, "lastModified": 1747017456,
"narHash": "sha256-VzqI+k/eoijLQ5am6rDFDAtFAbw8nltXfLBC6SIEJAE=", "narHash": "sha256-C/U12fcO+HEF071b5mK65lt4XtAIZyJSSJAg9hdlvTk=",
"owner": "oxalica", "owner": "oxalica",
"repo": "rust-overlay", "repo": "rust-overlay",
"rev": "38e9826bc4296c9daf18bc1e6aa299f3e932a403", "rev": "5b07506ae89b025b14de91f697eba23b48654c52",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1465,11 +1463,11 @@
"nixpkgs": "nixpkgs_8" "nixpkgs": "nixpkgs_8"
}, },
"locked": { "locked": {
"lastModified": 1744669848, "lastModified": 1747603214,
"narHash": "sha256-pXyanHLUzLNd3MX9vsWG+6Z2hTU8niyphWstYEP3/GU=", "narHash": "sha256-lAblXm0VwifYCJ/ILPXJwlz0qNY07DDYdLD+9H+Wc8o=",
"owner": "Mic92", "owner": "Mic92",
"repo": "sops-nix", "repo": "sops-nix",
"rev": "61154300d945f0b147b30d24ddcafa159148026a", "rev": "8d215e1c981be3aa37e47aeabd4e61bb069548fd",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1486,7 +1484,7 @@
"base16-vim": "base16-vim", "base16-vim": "base16-vim",
"firefox-gnome-theme": "firefox-gnome-theme", "firefox-gnome-theme": "firefox-gnome-theme",
"flake-compat": "flake-compat_6", "flake-compat": "flake-compat_6",
"flake-utils": "flake-utils_3", "flake-parts": "flake-parts_4",
"git-hooks": "git-hooks", "git-hooks": "git-hooks",
"gnome-shell": "gnome-shell", "gnome-shell": "gnome-shell",
"home-manager": "home-manager_3", "home-manager": "home-manager_3",
@ -1500,11 +1498,11 @@
"tinted-zed": "tinted-zed" "tinted-zed": "tinted-zed"
}, },
"locked": { "locked": {
"lastModified": 1744910471, "lastModified": 1748028561,
"narHash": "sha256-HItOUMA2whFnPMJuyN2XHq9TZttgrgOAZcoUXsaD4Js=", "narHash": "sha256-IgtJU6n9vR3nBUdcXrc7K9E+Y/G/4P6hFifGRr1tXMU=",
"owner": "danth", "owner": "danth",
"repo": "stylix", "repo": "stylix",
"rev": "8d5cd725ad591890c0cd804bf68cc842b8afca51", "rev": "34b5930894d8315401d93bd8a9a6635e1cd28eff",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1608,28 +1606,27 @@
"tinted-kitty": { "tinted-kitty": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1716423189, "lastModified": 1735730497,
"narHash": "sha256-2xF3sH7UIwegn+2gKzMpFi3pk5DlIlM18+vj17Uf82U=", "narHash": "sha256-4KtB+FiUzIeK/4aHCKce3V9HwRvYaxX+F1edUrfgzb8=",
"owner": "tinted-theming", "owner": "tinted-theming",
"repo": "tinted-kitty", "repo": "tinted-kitty",
"rev": "eb39e141db14baef052893285df9f266df041ff8", "rev": "de6f888497f2c6b2279361bfc790f164bfd0f3fa",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "tinted-theming", "owner": "tinted-theming",
"repo": "tinted-kitty", "repo": "tinted-kitty",
"rev": "eb39e141db14baef052893285df9f266df041ff8",
"type": "github" "type": "github"
} }
}, },
"tinted-schemes": { "tinted-schemes": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1742851696, "lastModified": 1744974599,
"narHash": "sha256-sR4K+OVFKeUOvNIqcCr5Br7NLxOBEwoAgsIyjsZmb8s=", "narHash": "sha256-Fg+rdGs5FAgfkYNCs74lnl8vkQmiZVdBsziyPhVqrlY=",
"owner": "tinted-theming", "owner": "tinted-theming",
"repo": "schemes", "repo": "schemes",
"rev": "c37771c4ae8ff1667e27ddcf24991ebeb94a4e77", "rev": "28c26a621123ad4ebd5bbfb34ab39421c0144bdd",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1641,11 +1638,11 @@
"tinted-tmux": { "tinted-tmux": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1743296873, "lastModified": 1745111349,
"narHash": "sha256-8IQulrb1OBSxMwdKijO9fB70ON//V32dpK9Uioy7FzY=", "narHash": "sha256-udV+nHdpqgkJI9D0mtvvAzbqubt9jdifS/KhTTbJ45w=",
"owner": "tinted-theming", "owner": "tinted-theming",
"repo": "tinted-tmux", "repo": "tinted-tmux",
"rev": "af5152c8d7546dfb4ff6df94080bf5ff54f64e3a", "rev": "e009f18a01182b63559fb28f1c786eb027c3dee9",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1738,16 +1735,16 @@
"zjstatus": { "zjstatus": {
"inputs": { "inputs": {
"crane": "crane_2", "crane": "crane_2",
"flake-utils": "flake-utils_4", "flake-utils": "flake-utils_3",
"nixpkgs": "nixpkgs_10", "nixpkgs": "nixpkgs_10",
"rust-overlay": "rust-overlay_2" "rust-overlay": "rust-overlay_2"
}, },
"locked": { "locked": {
"lastModified": 1743838985, "lastModified": 1745230073,
"narHash": "sha256-7fmg1fPEJWdCrw2QsanIAA0TT10IvUImZyWbvoSPebA=", "narHash": "sha256-OER99U7MiqQ47myvbsiljsax7OsK19NMds4NBM9XXLs=",
"owner": "dj95", "owner": "dj95",
"repo": "zjstatus", "repo": "zjstatus",
"rev": "d27f0819903b5f31d527affa875c71cb5c2a8578", "rev": "a819e3bfe6bfef0438d811cdbb1bcfdc29912c62",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -14,7 +14,8 @@
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-24.11"; nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-25.05";
nixpkgs-stable24_05.url = "github:NixOS/nixpkgs/nixos-24.05";
nixpkgs-stable24_11.url = "github:NixOS/nixpkgs/nixos-24.11"; nixpkgs-stable24_11.url = "github:NixOS/nixpkgs/nixos-24.11";
systems.url = "github:nix-systems/default-linux"; systems.url = "github:nix-systems/default-linux";
home-manager = { home-manager = {

View file

@ -23,7 +23,7 @@
}; };
}; };
programs.zsh.initExtra = " programs.zsh.initContent = "
export GPG_TTY=\"$(tty)\" export GPG_TTY=\"$(tty)\"
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
gpgconf --launch gpg-agent gpgconf --launch gpg-agent

View file

@ -3,7 +3,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head> <head>
<!-- 2025-05-24 Sa 18:24 --> <!-- 2025-05-24 Sa 21:14 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<title>SwarselSystems: NixOS + Emacs Configuration</title> <title>SwarselSystems: NixOS + Emacs Configuration</title>
@ -263,9 +263,9 @@
<li><a href="#h:7056b9a0-f38b-4bca-b2ba-ab34e2d73493">3.1.4.3. Home-manager only (default non-NixOS)</a></li> <li><a href="#h:7056b9a0-f38b-4bca-b2ba-ab34e2d73493">3.1.4.3. Home-manager only (default non-NixOS)</a></li>
<li><a href="#h:e1498bef-ec67-483d-bf02-76264e30be8e">3.1.4.4. ChaosTheatre (Demo Physical/VM)</a> <li><a href="#h:e1498bef-ec67-483d-bf02-76264e30be8e">3.1.4.4. ChaosTheatre (Demo Physical/VM)</a>
<ul> <ul>
<li><a href="#org1c08418">3.1.4.4.1. Main configuration</a></li> <li><a href="#org69b475b">3.1.4.4.1. Main configuration</a></li>
<li><a href="#orgbe535af">3.1.4.4.2. NixOS dummy options configuration</a></li> <li><a href="#orgc22f15d">3.1.4.4.2. NixOS dummy options configuration</a></li>
<li><a href="#orgb452630">3.1.4.4.3. home-manager dummy options configuration</a></li> <li><a href="#orgfb4c1ce">3.1.4.4.3. home-manager dummy options configuration</a></li>
</ul> </ul>
</li> </li>
</ul> </ul>
@ -305,7 +305,7 @@
<li><a href="#h:36d6c17c-6d91-4297-b76d-9d7feab6c1a0">3.2.1.27. fhs</a></li> <li><a href="#h:36d6c17c-6d91-4297-b76d-9d7feab6c1a0">3.2.1.27. fhs</a></li>
<li><a href="#h:814d5e7f-4b95-412d-b246-33f888514ec6">3.2.1.28. swarsel-displaypower</a></li> <li><a href="#h:814d5e7f-4b95-412d-b246-33f888514ec6">3.2.1.28. swarsel-displaypower</a></li>
<li><a href="#h:799579f3-ddd3-4f76-928a-a8c665980476">3.2.1.29. swarsel-mgba</a></li> <li><a href="#h:799579f3-ddd3-4f76-928a-a8c665980476">3.2.1.29. swarsel-mgba</a></li>
<li><a href="#orgc5db632">3.2.1.30. sshrm</a></li> <li><a href="#org47fd47f">3.2.1.30. sshrm</a></li>
</ul> </ul>
</li> </li>
<li><a href="#h:5e3e21e0-57af-4dad-b32f-6400af9b7aab">3.2.2. Overlays (additions, overrides, nixpkgs-stable)</a></li> <li><a href="#h:5e3e21e0-57af-4dad-b32f-6400af9b7aab">3.2.2. Overlays (additions, overrides, nixpkgs-stable)</a></li>
@ -313,28 +313,28 @@
<ul> <ul>
<li><a href="#h:14e68518-8ec7-48ec-b208-0e3d6d49954d">3.2.3.1. NixOS</a> <li><a href="#h:14e68518-8ec7-48ec-b208-0e3d6d49954d">3.2.3.1. NixOS</a>
<ul> <ul>
<li><a href="#org98b7bb4">3.2.3.1.1. Personal</a></li> <li><a href="#orgbc15186">3.2.3.1.1. Personal</a></li>
<li><a href="#org9671087">3.2.3.1.2. Chaostheatre</a></li> <li><a href="#org79a1842">3.2.3.1.2. Chaostheatre</a></li>
<li><a href="#org5d017d5">3.2.3.1.3. toto</a></li> <li><a href="#org9f72f9e">3.2.3.1.3. toto</a></li>
<li><a href="#org9e3d9c4">3.2.3.1.4. Work</a></li> <li><a href="#orge281a99">3.2.3.1.4. Work</a></li>
<li><a href="#orgd0ef530">3.2.3.1.5. Framework</a></li> <li><a href="#org378808d">3.2.3.1.5. Framework</a></li>
<li><a href="#org700f6ba">3.2.3.1.6. AMD CPU</a></li> <li><a href="#org798d71b">3.2.3.1.6. AMD CPU</a></li>
<li><a href="#orgf16c66a">3.2.3.1.7. AMD GPU</a></li> <li><a href="#org5e89a8a">3.2.3.1.7. AMD GPU</a></li>
<li><a href="#orgc4ce0a2">3.2.3.1.8. Hibernation</a></li> <li><a href="#org17ae88f">3.2.3.1.8. Hibernation</a></li>
<li><a href="#orgb07c3c8">3.2.3.1.9. BTRFS</a></li> <li><a href="#org42c10c4">3.2.3.1.9. BTRFS</a></li>
<li><a href="#orgaf31799">3.2.3.1.10. Local Server</a></li> <li><a href="#orgaee65f5">3.2.3.1.10. Local Server</a></li>
<li><a href="#org65270d4">3.2.3.1.11. OCI Sync Server</a></li> <li><a href="#org86d5b55">3.2.3.1.11. OCI Sync Server</a></li>
</ul> </ul>
</li> </li>
<li><a href="#h:ced5841f-c088-4d88-b3a1-7d62aad8837b">3.2.3.2. home-manager</a> <li><a href="#h:ced5841f-c088-4d88-b3a1-7d62aad8837b">3.2.3.2. home-manager</a>
<ul> <ul>
<li><a href="#orgdde8204">3.2.3.2.1. Personal</a></li> <li><a href="#org6f2e399">3.2.3.2.1. Personal</a></li>
<li><a href="#org8a8a674">3.2.3.2.2. Chaostheatre</a></li> <li><a href="#org3ce8a70">3.2.3.2.2. Chaostheatre</a></li>
<li><a href="#org875a489">3.2.3.2.3. toto</a></li> <li><a href="#orgaa0fe2c">3.2.3.2.3. toto</a></li>
<li><a href="#orga3d9381">3.2.3.2.4. Work</a></li> <li><a href="#orgc1a56e5">3.2.3.2.4. Work</a></li>
<li><a href="#org1b6724f">3.2.3.2.5. Framework</a></li> <li><a href="#org1d1a337">3.2.3.2.5. Framework</a></li>
<li><a href="#org605d768">3.2.3.2.6. Darwin</a></li> <li><a href="#org9e46789">3.2.3.2.6. Darwin</a></li>
<li><a href="#org4e95c8c">3.2.3.2.7. Local Server</a></li> <li><a href="#orgf19af92">3.2.3.2.7. Local Server</a></li>
</ul> </ul>
</li> </li>
</ul> </ul>
@ -379,7 +379,7 @@
<li><a href="#h:f101daa2-604d-4553-99e2-f64b9c207f51">3.3.1.22.3. enable GVfs</a></li> <li><a href="#h:f101daa2-604d-4553-99e2-f64b9c207f51">3.3.1.22.3. enable GVfs</a></li>
<li><a href="#h:08d213d5-a9f4-4309-8635-ba557b01dc7d">3.3.1.22.4. interception-tools: Make CAPS work as ESC/CTRL</a></li> <li><a href="#h:08d213d5-a9f4-4309-8635-ba557b01dc7d">3.3.1.22.4. interception-tools: Make CAPS work as ESC/CTRL</a></li>
<li><a href="#h:82fbba41-3a46-4db7-aade-49e4c23fc475">3.3.1.22.5. power-profiles-daemon</a></li> <li><a href="#h:82fbba41-3a46-4db7-aade-49e4c23fc475">3.3.1.22.5. power-profiles-daemon</a></li>
<li><a href="#orge3e730d">3.3.1.22.6. SwayOSD</a></li> <li><a href="#org934f1c8">3.3.1.22.6. SwayOSD</a></li>
</ul> </ul>
</li> </li>
<li><a href="#h:7a89b5e3-b700-4167-8b14-2b8172f33936">3.3.1.23. Hardware compatibility settings (Yubikey, Ledger, Keyboards) - udev rules</a> <li><a href="#h:7a89b5e3-b700-4167-8b14-2b8172f33936">3.3.1.23. Hardware compatibility settings (Yubikey, Ledger, Keyboards) - udev rules</a>
@ -445,11 +445,11 @@
<li><a href="#h:34db28fb-62f7-4597-a9ff-0de2991a8415">3.3.4.3. VmWare</a></li> <li><a href="#h:34db28fb-62f7-4597-a9ff-0de2991a8415">3.3.4.3. VmWare</a></li>
<li><a href="#h:fa8d9ec4-3e22-458a-9239-859cffe7f55c">3.3.4.4. Auto-login</a></li> <li><a href="#h:fa8d9ec4-3e22-458a-9239-859cffe7f55c">3.3.4.4. Auto-login</a></li>
<li><a href="#h:5c41c4ee-22ca-405b-9e4f-cc4051634edd">3.3.4.5. nswitch-rcm</a></li> <li><a href="#h:5c41c4ee-22ca-405b-9e4f-cc4051634edd">3.3.4.5. nswitch-rcm</a></li>
<li><a href="#org048634d">3.3.4.6. Framework</a></li> <li><a href="#org0aa3772">3.3.4.6. Framework</a></li>
<li><a href="#org14d38a1">3.3.4.7. AMD CPU</a></li> <li><a href="#orgb66e9f1">3.3.4.7. AMD CPU</a></li>
<li><a href="#orgdf62a2a">3.3.4.8. AMD GPU</a></li> <li><a href="#orgc8f7d1d">3.3.4.8. AMD GPU</a></li>
<li><a href="#orga411e20">3.3.4.9. Hibernation</a></li> <li><a href="#org825c93b">3.3.4.9. Hibernation</a></li>
<li><a href="#org9c624f2">3.3.4.10. BTRFS</a></li> <li><a href="#orgee82e7f">3.3.4.10. BTRFS</a></li>
<li><a href="#h:bbf2ecb6-c8ff-4462-b5d5-d45b28604ddf">3.3.4.11. work</a></li> <li><a href="#h:bbf2ecb6-c8ff-4462-b5d5-d45b28604ddf">3.3.4.11. work</a></li>
<li><a href="#h:3fc1d301-7bae-4678-9085-d12c23eed8ac">3.3.4.12. Minimal Install</a></li> <li><a href="#h:3fc1d301-7bae-4678-9085-d12c23eed8ac">3.3.4.12. Minimal Install</a></li>
</ul> </ul>
@ -498,7 +498,7 @@
<li><a href="#h:cb812c8a-247c-4ce5-a00c-59332c2f5fb9">3.4.1.29.1. gnome-keyring</a></li> <li><a href="#h:cb812c8a-247c-4ce5-a00c-59332c2f5fb9">3.4.1.29.1. gnome-keyring</a></li>
<li><a href="#h:be6afd89-9e1e-40b6-8542-5c07a0ab780d">3.4.1.29.2. KDE Connect</a></li> <li><a href="#h:be6afd89-9e1e-40b6-8542-5c07a0ab780d">3.4.1.29.2. KDE Connect</a></li>
<li><a href="#h:99d05729-df35-4958-9940-3319d6a41359">3.4.1.29.3. Mako</a></li> <li><a href="#h:99d05729-df35-4958-9940-3319d6a41359">3.4.1.29.3. Mako</a></li>
<li><a href="#orga989e13">3.4.1.29.4. SwayOSD</a></li> <li><a href="#org911796b">3.4.1.29.4. SwayOSD</a></li>
<li><a href="#h:1598c90b-f195-41a0-9132-94612edf3586">3.4.1.29.5. yubikey-touch-detector</a></li> <li><a href="#h:1598c90b-f195-41a0-9132-94612edf3586">3.4.1.29.5. yubikey-touch-detector</a></li>
</ul> </ul>
</li> </li>
@ -523,7 +523,7 @@
<ul> <ul>
<li><a href="#h:84fd7029-ecb6-4131-9333-289982f24ffa">3.4.4.1. Gaming</a></li> <li><a href="#h:84fd7029-ecb6-4131-9333-289982f24ffa">3.4.4.1. Gaming</a></li>
<li><a href="#h:f0b2ea93-94c8-48d8-8d47-6fe58f58e0e6">3.4.4.2. Work</a></li> <li><a href="#h:f0b2ea93-94c8-48d8-8d47-6fe58f58e0e6">3.4.4.2. Work</a></li>
<li><a href="#orgc45706b">3.4.4.3. Framework</a></li> <li><a href="#org9bbab5e">3.4.4.3. Framework</a></li>
</ul> </ul>
</li> </li>
</ul> </ul>
@ -701,7 +701,7 @@
<ul> <ul>
<li><a href="#h:c1e53aed-fb47-4aff-930c-dc52f3c5dcb8">6.1. Server Emacs config</a></li> <li><a href="#h:c1e53aed-fb47-4aff-930c-dc52f3c5dcb8">6.1. Server Emacs config</a></li>
<li><a href="#h:fc64f42f-e7cf-4829-89f6-2d0d58e04f51">6.2. tridactylrc</a></li> <li><a href="#h:fc64f42f-e7cf-4829-89f6-2d0d58e04f51">6.2. tridactylrc</a></li>
<li><a href="#org45faa69">6.3. tridactyl theme</a></li> <li><a href="#org8281eb1">6.3. tridactyl theme</a></li>
<li><a href="#h:77b1c523-5074-4610-b320-90af95e6134d">6.4. Waybar style.css</a></li> <li><a href="#h:77b1c523-5074-4610-b320-90af95e6134d">6.4. Waybar style.css</a></li>
<li><a href="#h:788937cf-8816-466b-8e57-1b695cb50f52">6.5. justfile</a></li> <li><a href="#h:788937cf-8816-466b-8e57-1b695cb50f52">6.5. justfile</a></li>
</ul> </ul>
@ -710,7 +710,7 @@
</div> </div>
</div> </div>
<p> <p>
<b>This file has 62656 words spanning 16427 lines and was last revised on 2025-05-24 18:24:21 +0200.</b> <b>This file has 62776 words spanning 16458 lines and was last revised on 2025-05-24 21:14:33 +0200.</b>
</p> </p>
<p> <p>
@ -763,7 +763,7 @@ This section defines my Emacs configuration. For a while, I considered to use ry
</p> </p>
<p> <p>
My emacs is built using the emacs-overlay nix flake, which builds a bleeding edge emacs on wayland (pgtk) with utilities like treesitter support. By executing the below source block, the current build setting can be updated at any time, and you can see my most up-to-date build options (last updated: 2025-05-24 18:24:21 +0200) My emacs is built using the emacs-overlay nix flake, which builds a bleeding edge emacs on wayland (pgtk) with utilities like treesitter support. By executing the below source block, the current build setting can be updated at any time, and you can see my most up-to-date build options (last updated: 2025-05-24 21:14:33 +0200)
</p></li> </p></li>
</ul> </ul>
@ -775,7 +775,7 @@ system-configuration-options
</div> </div>
<pre class="example"> <pre class="example">
--prefix=/nix/store/igrpvvdnwx413916cslyl8g2dwqa6aq3-emacs-git-pgtk-20250418.0 --disable-build-details --with-modules --with-pgtk --with-compress-install --with-toolkit-scroll-bars --with-native-compilation --without-imagemagick --with-mailutils --without-small-ja-dic --with-tree-sitter --without-xinput2 --without-xwidgets --with-dbus --with-selinux --prefix=/nix/store/hwf3ap27kzhi83zfdbdps1xz771lnfgm-emacs-git-pgtk-20250524.0 --disable-build-details --with-modules --with-pgtk --with-compress-install --with-toolkit-scroll-bars --with-native-compilation --without-imagemagick --with-mailutils --without-small-ja-dic --with-tree-sitter --without-xinput2 --without-xwidgets --with-dbus --with-selinux
</pre> </pre>
@ -890,7 +890,8 @@ In <code>outputs = inputs@ [...]</code>, the <code>inputs@</code> makes it so th
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-24.11"; nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-25.05";
nixpkgs-stable24_05.url = "github:NixOS/nixpkgs/nixos-24.05";
nixpkgs-stable24_11.url = "github:NixOS/nixpkgs/nixos-24.11"; nixpkgs-stable24_11.url = "github:NixOS/nixpkgs/nixos-24.11";
systems.url = "github:nix-systems/default-linux"; systems.url = "github:nix-systems/default-linux";
home-manager = { home-manager = {
@ -1151,7 +1152,8 @@ This automatically creates a topology diagram of my configuration.</li>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-nix"> <pre class="src src-nix">
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-24.11"; nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-25.05";
nixpkgs-stable24_05.url = "github:NixOS/nixpkgs/nixos-24.05";
nixpkgs-stable24_11.url = "github:NixOS/nixpkgs/nixos-24.11"; nixpkgs-stable24_11.url = "github:NixOS/nixpkgs/nixos-24.11";
systems.url = "github:nix-systems/default-linux"; systems.url = "github:nix-systems/default-linux";
home-manager = { home-manager = {
@ -2770,7 +2772,7 @@ This is the "reference implementation" of a setup that runs without NixOS, only
}; };
}; };
programs.zsh.initExtra = " programs.zsh.initContent = "
export GPG_TTY=\"$(tty)\" export GPG_TTY=\"$(tty)\"
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
gpgconf --launch gpg-agent gpgconf --launch gpg-agent
@ -2800,8 +2802,8 @@ This is just a demo host. It applies all the configuration found in the common p
I also set the <code>WLR_RENDERER_ALLOW_SOFTWARE=1</code> to allow this configuration to run in a virtualized environment. I also enable <code>qemuGuest</code> for a smoother experience when testing on QEMU. I also set the <code>WLR_RENDERER_ALLOW_SOFTWARE=1</code> to allow this configuration to run in a virtualized environment. I also enable <code>qemuGuest</code> for a smoother experience when testing on QEMU.
</p> </p>
</div> </div>
<div id="outline-container-org1c08418" class="outline-6"> <div id="outline-container-org69b475b" class="outline-6">
<h6 id="org1c08418"><span class="section-number-6">3.1.4.4.1.</span> Main configuration</h6> <h6 id="org69b475b"><span class="section-number-6">3.1.4.4.1.</span> Main configuration</h6>
<div class="outline-text-6" id="text-3-1-4-4-1"> <div class="outline-text-6" id="text-3-1-4-4-1">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-nix">{ self, inputs, config, pkgs, lib, primaryUser, ... }: <pre class="src src-nix">{ self, inputs, config, pkgs, lib, primaryUser, ... }:
@ -2880,8 +2882,8 @@ in
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-orgbe535af" class="outline-6"> <div id="outline-container-orgc22f15d" class="outline-6">
<h6 id="orgbe535af"><span class="section-number-6">3.1.4.4.2.</span> NixOS dummy options configuration</h6> <h6 id="orgc22f15d"><span class="section-number-6">3.1.4.4.2.</span> NixOS dummy options configuration</h6>
<div class="outline-text-6" id="text-3-1-4-4-2"> <div class="outline-text-6" id="text-3-1-4-4-2">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-nix">_: <pre class="src src-nix">_:
@ -2891,8 +2893,8 @@ in
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-orgb452630" class="outline-6"> <div id="outline-container-orgfb4c1ce" class="outline-6">
<h6 id="orgb452630"><span class="section-number-6">3.1.4.4.3.</span> home-manager dummy options configuration</h6> <h6 id="orgfb4c1ce"><span class="section-number-6">3.1.4.4.3.</span> home-manager dummy options configuration</h6>
<div class="outline-text-6" id="text-3-1-4-4-3"> <div class="outline-text-6" id="text-3-1-4-4-3">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-nix">_: <pre class="src src-nix">_:
@ -4669,8 +4671,8 @@ appimageTools.wrapType2 {
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-orgc5db632" class="outline-5"> <div id="outline-container-org47fd47f" class="outline-5">
<h5 id="orgc5db632"><span class="section-number-5">3.2.1.30.</span> sshrm</h5> <h5 id="org47fd47f"><span class="section-number-5">3.2.1.30.</span> sshrm</h5>
<div class="outline-text-5" id="text-3-2-1-30"> <div class="outline-text-5" id="text-3-2-1-30">
<p> <p>
This programs simply runs ssh-keygen on the last host that I tried to ssh into. I need this frequently when working with cloud-init usually. This programs simply runs ssh-keygen on the last host that I tried to ssh into. I need this frequently when working with cloud-init usually.
@ -4758,7 +4760,14 @@ let
}; };
nixpkgs-stable24_05 = final: _: { nixpkgs-stable24_05 = final: _: {
stable24_05 = import inputs.nixpkgs-stable { stable24_05 = import inputs.nixpkgs-stable24_05 {
inherit (final) system;
config.allowUnfree = true;
};
};
nixpkgs-stable24_11 = final: _: {
stable24_11 = import inputs.nixpkgs-stable24_11 {
inherit (final) system; inherit (final) system;
config.allowUnfree = true; config.allowUnfree = true;
}; };
@ -4777,6 +4786,7 @@ in
// (modifications final prev) // (modifications final prev)
// (nixpkgs-stable final prev) // (nixpkgs-stable final prev)
// (nixpkgs-stable24_05 final prev) // (nixpkgs-stable24_05 final prev)
// (nixpkgs-stable24_11 final prev)
// (zjstatus final prev) // (zjstatus final prev)
// (inputs.vbc-nix.overlays.default final prev) // (inputs.vbc-nix.overlays.default final prev)
// (inputs.nur.overlays.default final prev) // (inputs.nur.overlays.default final prev)
@ -4819,8 +4829,8 @@ in
</pre> </pre>
</div> </div>
</div> </div>
<div id="outline-container-org98b7bb4" class="outline-6"> <div id="outline-container-orgbc15186" class="outline-6">
<h6 id="org98b7bb4"><span class="section-number-6">3.2.3.1.1.</span> Personal</h6> <h6 id="orgbc15186"><span class="section-number-6">3.2.3.1.1.</span> Personal</h6>
<div class="outline-text-6" id="text-3-2-3-1-1"> <div class="outline-text-6" id="text-3-2-3-1-1">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-nix">{ lib, config, ... }: <pre class="src src-nix">{ lib, config, ... }:
@ -4887,8 +4897,8 @@ in
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-org9671087" class="outline-6"> <div id="outline-container-org79a1842" class="outline-6">
<h6 id="org9671087"><span class="section-number-6">3.2.3.1.2.</span> Chaostheatre</h6> <h6 id="org79a1842"><span class="section-number-6">3.2.3.1.2.</span> Chaostheatre</h6>
<div class="outline-text-6" id="text-3-2-3-1-2"> <div class="outline-text-6" id="text-3-2-3-1-2">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-nix">{ lib, config, ... }: <pre class="src src-nix">{ lib, config, ... }:
@ -4952,8 +4962,8 @@ in
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-org5d017d5" class="outline-6"> <div id="outline-container-org9f72f9e" class="outline-6">
<h6 id="org5d017d5"><span class="section-number-6">3.2.3.1.3.</span> toto</h6> <h6 id="org9f72f9e"><span class="section-number-6">3.2.3.1.3.</span> toto</h6>
<div class="outline-text-6" id="text-3-2-3-1-3"> <div class="outline-text-6" id="text-3-2-3-1-3">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-nix">{ lib, config, ... }: <pre class="src src-nix">{ lib, config, ... }:
@ -4985,8 +4995,8 @@ in
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-org9e3d9c4" class="outline-6"> <div id="outline-container-orge281a99" class="outline-6">
<h6 id="org9e3d9c4"><span class="section-number-6">3.2.3.1.4.</span> Work</h6> <h6 id="orge281a99"><span class="section-number-6">3.2.3.1.4.</span> Work</h6>
<div class="outline-text-6" id="text-3-2-3-1-4"> <div class="outline-text-6" id="text-3-2-3-1-4">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-nix">{ lib, config, ... }: <pre class="src src-nix">{ lib, config, ... }:
@ -5007,8 +5017,8 @@ in
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-orgd0ef530" class="outline-6"> <div id="outline-container-org378808d" class="outline-6">
<h6 id="orgd0ef530"><span class="section-number-6">3.2.3.1.5.</span> Framework</h6> <h6 id="org378808d"><span class="section-number-6">3.2.3.1.5.</span> Framework</h6>
<div class="outline-text-6" id="text-3-2-3-1-5"> <div class="outline-text-6" id="text-3-2-3-1-5">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-nix">{ lib, config, ... }: <pre class="src src-nix">{ lib, config, ... }:
@ -5029,8 +5039,8 @@ in
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-org700f6ba" class="outline-6"> <div id="outline-container-org798d71b" class="outline-6">
<h6 id="org700f6ba"><span class="section-number-6">3.2.3.1.6.</span> AMD CPU</h6> <h6 id="org798d71b"><span class="section-number-6">3.2.3.1.6.</span> AMD CPU</h6>
<div class="outline-text-6" id="text-3-2-3-1-6"> <div class="outline-text-6" id="text-3-2-3-1-6">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-nix">{ lib, config, ... }: <pre class="src src-nix">{ lib, config, ... }:
@ -5051,8 +5061,8 @@ in
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-orgf16c66a" class="outline-6"> <div id="outline-container-org5e89a8a" class="outline-6">
<h6 id="orgf16c66a"><span class="section-number-6">3.2.3.1.7.</span> AMD GPU</h6> <h6 id="org5e89a8a"><span class="section-number-6">3.2.3.1.7.</span> AMD GPU</h6>
<div class="outline-text-6" id="text-3-2-3-1-7"> <div class="outline-text-6" id="text-3-2-3-1-7">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-nix">{ lib, config, ... }: <pre class="src src-nix">{ lib, config, ... }:
@ -5073,8 +5083,8 @@ in
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-orgc4ce0a2" class="outline-6"> <div id="outline-container-org17ae88f" class="outline-6">
<h6 id="orgc4ce0a2"><span class="section-number-6">3.2.3.1.8.</span> Hibernation</h6> <h6 id="org17ae88f"><span class="section-number-6">3.2.3.1.8.</span> Hibernation</h6>
<div class="outline-text-6" id="text-3-2-3-1-8"> <div class="outline-text-6" id="text-3-2-3-1-8">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-nix">{ lib, config, ... }: <pre class="src src-nix">{ lib, config, ... }:
@ -5095,8 +5105,8 @@ in
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-orgb07c3c8" class="outline-6"> <div id="outline-container-org42c10c4" class="outline-6">
<h6 id="orgb07c3c8"><span class="section-number-6">3.2.3.1.9.</span> BTRFS</h6> <h6 id="org42c10c4"><span class="section-number-6">3.2.3.1.9.</span> BTRFS</h6>
<div class="outline-text-6" id="text-3-2-3-1-9"> <div class="outline-text-6" id="text-3-2-3-1-9">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-nix">{ lib, config, ... }: <pre class="src src-nix">{ lib, config, ... }:
@ -5117,8 +5127,8 @@ in
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-orgaf31799" class="outline-6"> <div id="outline-container-orgaee65f5" class="outline-6">
<h6 id="orgaf31799"><span class="section-number-6">3.2.3.1.10.</span> Local Server</h6> <h6 id="orgaee65f5"><span class="section-number-6">3.2.3.1.10.</span> Local Server</h6>
<div class="outline-text-6" id="text-3-2-3-1-10"> <div class="outline-text-6" id="text-3-2-3-1-10">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-nix">{ lib, config, ... }: <pre class="src src-nix">{ lib, config, ... }:
@ -5169,8 +5179,8 @@ in
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-org65270d4" class="outline-6"> <div id="outline-container-org86d5b55" class="outline-6">
<h6 id="org65270d4"><span class="section-number-6">3.2.3.1.11.</span> OCI Sync Server</h6> <h6 id="org86d5b55"><span class="section-number-6">3.2.3.1.11.</span> OCI Sync Server</h6>
<div class="outline-text-6" id="text-3-2-3-1-11"> <div class="outline-text-6" id="text-3-2-3-1-11">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-nix">{ lib, config, ... }: <pre class="src src-nix">{ lib, config, ... }:
@ -5227,8 +5237,8 @@ in
</pre> </pre>
</div> </div>
</div> </div>
<div id="outline-container-orgdde8204" class="outline-6"> <div id="outline-container-org6f2e399" class="outline-6">
<h6 id="orgdde8204"><span class="section-number-6">3.2.3.2.1.</span> Personal</h6> <h6 id="org6f2e399"><span class="section-number-6">3.2.3.2.1.</span> Personal</h6>
<div class="outline-text-6" id="text-3-2-3-2-1"> <div class="outline-text-6" id="text-3-2-3-2-1">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-nix">{ lib, config, ... }: <pre class="src src-nix">{ lib, config, ... }:
@ -5285,8 +5295,8 @@ in
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-org8a8a674" class="outline-6"> <div id="outline-container-org3ce8a70" class="outline-6">
<h6 id="org8a8a674"><span class="section-number-6">3.2.3.2.2.</span> Chaostheatre</h6> <h6 id="org3ce8a70"><span class="section-number-6">3.2.3.2.2.</span> Chaostheatre</h6>
<div class="outline-text-6" id="text-3-2-3-2-2"> <div class="outline-text-6" id="text-3-2-3-2-2">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-nix">{ lib, config, ... }: <pre class="src src-nix">{ lib, config, ... }:
@ -5338,8 +5348,8 @@ in
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-org875a489" class="outline-6"> <div id="outline-container-orgaa0fe2c" class="outline-6">
<h6 id="org875a489"><span class="section-number-6">3.2.3.2.3.</span> toto</h6> <h6 id="orgaa0fe2c"><span class="section-number-6">3.2.3.2.3.</span> toto</h6>
<div class="outline-text-6" id="text-3-2-3-2-3"> <div class="outline-text-6" id="text-3-2-3-2-3">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-nix">{ lib, config, ... }: <pre class="src src-nix">{ lib, config, ... }:
@ -5359,8 +5369,8 @@ in
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-orga3d9381" class="outline-6"> <div id="outline-container-orgc1a56e5" class="outline-6">
<h6 id="orga3d9381"><span class="section-number-6">3.2.3.2.4.</span> Work</h6> <h6 id="orgc1a56e5"><span class="section-number-6">3.2.3.2.4.</span> Work</h6>
<div class="outline-text-6" id="text-3-2-3-2-4"> <div class="outline-text-6" id="text-3-2-3-2-4">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-nix">{ lib, config, ... }: <pre class="src src-nix">{ lib, config, ... }:
@ -5380,8 +5390,8 @@ in
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-org1b6724f" class="outline-6"> <div id="outline-container-org1d1a337" class="outline-6">
<h6 id="org1b6724f"><span class="section-number-6">3.2.3.2.5.</span> Framework</h6> <h6 id="org1d1a337"><span class="section-number-6">3.2.3.2.5.</span> Framework</h6>
<div class="outline-text-6" id="text-3-2-3-2-5"> <div class="outline-text-6" id="text-3-2-3-2-5">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-nix">{ lib, config, ... }: <pre class="src src-nix">{ lib, config, ... }:
@ -5402,8 +5412,8 @@ in
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-org605d768" class="outline-6"> <div id="outline-container-org9e46789" class="outline-6">
<h6 id="org605d768"><span class="section-number-6">3.2.3.2.6.</span> Darwin</h6> <h6 id="org9e46789"><span class="section-number-6">3.2.3.2.6.</span> Darwin</h6>
<div class="outline-text-6" id="text-3-2-3-2-6"> <div class="outline-text-6" id="text-3-2-3-2-6">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-nix">{ lib, config, ... }: <pre class="src src-nix">{ lib, config, ... }:
@ -5421,8 +5431,8 @@ in
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-org4e95c8c" class="outline-6"> <div id="outline-container-orgf19af92" class="outline-6">
<h6 id="org4e95c8c"><span class="section-number-6">3.2.3.2.7.</span> Local Server</h6> <h6 id="orgf19af92"><span class="section-number-6">3.2.3.2.7.</span> Local Server</h6>
<div class="outline-text-6" id="text-3-2-3-2-7"> <div class="outline-text-6" id="text-3-2-3-2-7">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-nix">{ lib, config, ... }: <pre class="src src-nix">{ lib, config, ... }:
@ -6955,8 +6965,8 @@ Most of the time I am using <code>power-saver</code>, however, it is good to be
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-orge3e730d" class="outline-6"> <div id="outline-container-org934f1c8" class="outline-6">
<h6 id="orge3e730d"><span class="section-number-6">3.3.1.22.6.</span> SwayOSD</h6> <h6 id="org934f1c8"><span class="section-number-6">3.3.1.22.6.</span> SwayOSD</h6>
<div class="outline-text-6" id="text-3-3-1-22-6"> <div class="outline-text-6" id="text-3-3-1-22-6">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-nix">{ lib, pkgs, config, ... }: <pre class="src src-nix">{ lib, pkgs, config, ... }:
@ -8402,6 +8412,7 @@ in
mautrix-telegram = { mautrix-telegram = {
enable = true; enable = true;
environmentFile = config.sops.templates.mautrixtelegram.path; environmentFile = config.sops.templates.mautrixtelegram.path;
registerToSynapse = false;
settings = { settings = {
homeserver = { homeserver = {
address = "http://localhost:8008"; address = "http://localhost:8008";
@ -8979,16 +8990,16 @@ in
devices = [ "sync (@oracle)" "magicant" "${workHostName}" ]; devices = [ "sync (@oracle)" "magicant" "${workHostName}" ];
id = "hgp9s-fyq3p"; id = "hgp9s-fyq3p";
}; };
# "Documents" = { "Documents" = {
# path = "/Vault/data/syncthing/Documents"; path = "/Vault/data/syncthing/Documents";
# type = "receiveonly"; type = "receiveonly";
# versioning = { versioning = {
# type = "simple"; type = "simple";
# params.keep = "5"; params.keep = "5";
# }; };
# devices = [ "magicant" "${workHostName}" ]; devices = [ "magicant" "${workHostName}" ];
# id = "hgr3d-pfu3w"; id = "hgr3d-pfu3w";
# }; };
# ".elfeed" = { # ".elfeed" = {
# path = "/Vault/data/syncthing/.elfeed"; # path = "/Vault/data/syncthing/.elfeed";
# devices = [ "sync (@oracle)" "magicant" "${workHostName}" ]; # devices = [ "sync (@oracle)" "magicant" "${workHostName}" ];
@ -9048,7 +9059,7 @@ in
templates = { templates = {
"restic-env".content = '' "restic-env".content = ''
AWS_ACCESS_KEY_ID=${config.sops.placeholder.resticaccesskey} AWS_ACCESS_KEY_ID=${config.sops.placeholder.resticaccesskey}
AWS_SECRET_ACCESS_KEY=${config.sops.placeholder.resicsecretaccesskey} AWS_SECRET_ACCESS_KEY=${config.sops.placeholder.resticsecretaccesskey}
''; '';
}; };
}; };
@ -9706,8 +9717,8 @@ This smashes Atmosphere 1.3.2 on the switch, which is what I am currenty using.
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-org048634d" class="outline-5"> <div id="outline-container-org0aa3772" class="outline-5">
<h5 id="org048634d"><span class="section-number-5">3.3.4.6.</span> Framework</h5> <h5 id="org0aa3772"><span class="section-number-5">3.3.4.6.</span> Framework</h5>
<div class="outline-text-5" id="text-3-3-4-6"> <div class="outline-text-5" id="text-3-3-4-6">
<p> <p>
This holds configuration that is specific to framework laptops. This holds configuration that is specific to framework laptops.
@ -9745,8 +9756,8 @@ This holds configuration that is specific to framework laptops.
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-org14d38a1" class="outline-5"> <div id="outline-container-orgb66e9f1" class="outline-5">
<h5 id="org14d38a1"><span class="section-number-5">3.3.4.7.</span> AMD CPU</h5> <h5 id="orgb66e9f1"><span class="section-number-5">3.3.4.7.</span> AMD CPU</h5>
<div class="outline-text-5" id="text-3-3-4-7"> <div class="outline-text-5" id="text-3-3-4-7">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-nix">{ lib, config, ... }: <pre class="src src-nix">{ lib, config, ... }:
@ -9762,8 +9773,8 @@ This holds configuration that is specific to framework laptops.
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-orgdf62a2a" class="outline-5"> <div id="outline-container-orgc8f7d1d" class="outline-5">
<h5 id="orgdf62a2a"><span class="section-number-5">3.3.4.8.</span> AMD GPU</h5> <h5 id="orgc8f7d1d"><span class="section-number-5">3.3.4.8.</span> AMD GPU</h5>
<div class="outline-text-5" id="text-3-3-4-8"> <div class="outline-text-5" id="text-3-3-4-8">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-nix">{ lib, config, ... }: <pre class="src src-nix">{ lib, config, ... }:
@ -9785,8 +9796,8 @@ This holds configuration that is specific to framework laptops.
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-orga411e20" class="outline-5"> <div id="outline-container-org825c93b" class="outline-5">
<h5 id="orga411e20"><span class="section-number-5">3.3.4.9.</span> Hibernation</h5> <h5 id="org825c93b"><span class="section-number-5">3.3.4.9.</span> Hibernation</h5>
<div class="outline-text-5" id="text-3-3-4-9"> <div class="outline-text-5" id="text-3-3-4-9">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-nix">{ lib, config, ... }: <pre class="src src-nix">{ lib, config, ... }:
@ -9817,8 +9828,8 @@ This holds configuration that is specific to framework laptops.
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-org9c624f2" class="outline-5"> <div id="outline-container-orgee82e7f" class="outline-5">
<h5 id="org9c624f2"><span class="section-number-5">3.3.4.10.</span> BTRFS</h5> <h5 id="orgee82e7f"><span class="section-number-5">3.3.4.10.</span> BTRFS</h5>
<div class="outline-text-5" id="text-3-3-4-10"> <div class="outline-text-5" id="text-3-3-4-10">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-nix">{ lib, config, ... }: <pre class="src src-nix">{ lib, config, ... }:
@ -9844,7 +9855,7 @@ Options that I need specifically at work. There are more options at <a href="#h:
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-nix">{ self, lib, pkgs, config, ... }: <pre class="src src-nix">{ self, lib, pkgs, config, ... }:
let let
inherit (config.swarselsystems) mainUser xdgDir; inherit (config.swarselsystems) mainUser homeDir xdgDir;
owner = mainUser; owner = mainUser;
sopsFile = self + /secrets/work/secrets.yaml; sopsFile = self + /secrets/work/secrets.yaml;
swarselService = name: description: execStart: { swarselService = name: description: execStart: {
@ -9981,7 +9992,7 @@ in
# cryptography # cryptography
# ])) # ]))
# docker # docker
stable.python39 stable24_11.python39
qemu qemu
packer packer
gnumake gnumake
@ -10012,20 +10023,20 @@ in
''; '';
}; };
# syncthing = { syncthing = {
# settings = { settings = {
# "winters" = { "winters" = {
# id = "O7RWDMD-AEAHPP7-7TAVLKZ-BSWNBTU-2VA44MS-EYGUNBB-SLHKB3C-ZSLMOAA"; id = "O7RWDMD-AEAHPP7-7TAVLKZ-BSWNBTU-2VA44MS-EYGUNBB-SLHKB3C-ZSLMOAA";
# }; };
# folders = { folders = {
# "Documents" = { "Documents" = {
# path = "${homeDir}/Documents"; path = "${homeDir}/Documents";
# devices = [ "magicant" "winters" ]; devices = [ "magicant" "winters" ];
# id = "hgr3d-pfu3w"; id = "hgr3d-pfu3w";
# }; };
# }; };
# }; };
# }; };
udev.extraRules = '' udev.extraRules = ''
# share screen when dongle detected # share screen when dongle detected
@ -10636,7 +10647,7 @@ This holds packages that I can use as provided, or with small modifications (as
vim vim
sshfs sshfs
fuse fuse
ventoy # ventoy
poppler_utils poppler_utils
vdhcoapp vdhcoapp
@ -11605,6 +11616,38 @@ Here we set some aliases (some of them should be shellApplications instead) as w
Concerning the shell extensions, <code>zle &lt;widget-name&gt;</code> will run an existing widget and <code>zle -N &lt;function_name&gt;</code> will make a function available for use. The <code>my-</code> functions all remove <code>.</code> <code>/</code> and <code>:</code> from the <code>WORDCHARS</code> so that functions will stop there. The keycodes can be found using <code>showkeys -a</code> Concerning the shell extensions, <code>zle &lt;widget-name&gt;</code> will run an existing widget and <code>zle -N &lt;function_name&gt;</code> will make a function available for use. The <code>my-</code> functions all remove <code>.</code> <code>/</code> and <code>:</code> from the <code>WORDCHARS</code> so that functions will stop there. The keycodes can be found using <code>showkeys -a</code>
</p> </p>
<p>
Regarding <code>initContent</code>:
To specify the order, use lib.mkOrder.
</p>
<p>
Common order values:
</p>
<ul class="org-ul">
<li>500 (mkBefore: Early initialization (replaces initExtraFirst</li>
<li>550: Before completion initialization (replaces initExtraBeforeCompInit</li>
<li>1000 (default: General configuration (replaces initExtra</li>
<li>1500 (mkAfter: Last to run configuration</li>
</ul>
<p>
To specify both content in Early initialization and General configuration, use lib.mkMerge:
</p>
<div class="org-src-container">
<pre class="src src-nix">initContent = let
zshConfigEarlyInit = lib.mkOrder 500 "do something";
zshConfig = lib.mkOrder 1000 "do something";
in
lib.mkMerge [ zshConfigEarlyInit zshConfig ];
</pre>
</div>
<p>
Currently I only use it as before with <code>initExtra</code> though.
</p>
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-nix">{ config, pkgs, lib, ... }: <pre class="src src-nix">{ config, pkgs, lib, ... }:
let let
@ -11680,7 +11723,7 @@ in
src = pkgs.zsh-fzf-tab; src = pkgs.zsh-fzf-tab;
} }
]; ];
initExtra = '' initContent = ''
my-forward-word() { my-forward-word() {
local WORDCHARS=$WORDCHARS local WORDCHARS=$WORDCHARS
WORDCHARS="''${WORDCHARS//:}" WORDCHARS="''${WORDCHARS//:}"
@ -12701,31 +12744,31 @@ The `extraConfig` section here CANNOT be reindented. This has something to do wi
config = lib.mkIf config.swarselsystems.modules.mako { config = lib.mkIf config.swarselsystems.modules.mako {
services.mako = { services.mako = {
enable = true; enable = true;
# backgroundColor = "#2e3440"; settings = {
# borderColor = "#88c0d0"; border-radius = 15;
borderRadius = 15; border-size = 1;
borderSize = 1; default-timeout = 5000;
defaultTimeout = 5000; ignore-timeout = 1;
height = 150; icons = 1;
icons = true; layer = "overlay";
ignoreTimeout = true; sort = "-time";
layer = "overlay"; height = 150;
maxIconSize = 64; width = 300;
sort = "-time"; "urgency=low" = {
width = 300; border-color = lib.mkForce "#cccccc";
# font = "monospace 10"; };
extraConfig = '' "urgency=normal" = {
[urgency=low] border-color = lib.mkForce "#d08770";
border-color=#cccccc };
[urgency=normal] "urgency=high" = {
border-color=#d08770 border-color = lib.mkForce "#bf616a";
[urgency=high] default-timeout = 3000;
border-color=#bf616a };
default-timeout=3000 "category=mpd" = {
[category=mpd] default-timeout = 2000;
default-timeout=2000 group-by = "category";
group-by=category };
''; };
}; };
}; };
@ -12734,8 +12777,8 @@ The `extraConfig` section here CANNOT be reindented. This has something to do wi
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-orga989e13" class="outline-6"> <div id="outline-container-org911796b" class="outline-6">
<h6 id="orga989e13"><span class="section-number-6">3.4.1.29.4.</span> SwayOSD</h6> <h6 id="org911796b"><span class="section-number-6">3.4.1.29.4.</span> SwayOSD</h6>
<div class="outline-text-6" id="text-3-4-1-29-4"> <div class="outline-text-6" id="text-3-4-1-29-4">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-nix">{ lib, config, ... }: <pre class="src src-nix">{ lib, config, ... }:
@ -13331,7 +13374,7 @@ in
enableScDaemon = true; enableScDaemon = true;
enableSshSupport = true; enableSshSupport = true;
enableExtraSocket = true; enableExtraSocket = true;
pinentryPackage = pkgs.pinentry.gtk2; pinentry.package = pkgs.pinentry.gtk2;
defaultCacheTtl = 600; defaultCacheTtl = 600;
maxCacheTtl = 7200; maxCacheTtl = 7200;
extraConfig = '' extraConfig = ''
@ -13984,8 +14027,8 @@ in
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-orgc45706b" class="outline-5"> <div id="outline-container-org9bbab5e" class="outline-5">
<h5 id="orgc45706b"><span class="section-number-5">3.4.4.3.</span> Framework</h5> <h5 id="org9bbab5e"><span class="section-number-5">3.4.4.3.</span> Framework</h5>
<div class="outline-text-5" id="text-3-4-4-3"> <div class="outline-text-5" id="text-3-4-4-3">
<p> <p>
This holds configuration that is specific to framework laptops. This holds configuration that is specific to framework laptops.
@ -17825,8 +17868,8 @@ autocmd DocStart vc-impimba-1.m.imp.ac.at/ui/webconsole mode ignore
</div> </div>
</div> </div>
</div> </div>
<div id="outline-container-org45faa69" class="outline-3"> <div id="outline-container-org8281eb1" class="outline-3">
<h3 id="org45faa69"><span class="section-number-3">6.3.</span> tridactyl theme</h3> <h3 id="org8281eb1"><span class="section-number-3">6.3.</span> tridactyl theme</h3>
<div class="outline-text-3" id="text-6-3"> <div class="outline-text-3" id="text-6-3">
<div class="org-src-container"> <div class="org-src-container">
<pre class="src src-config"> <pre class="src src-config">
@ -18323,7 +18366,7 @@ sync USER HOST:
</div> </div>
<div id="postamble" class="status"> <div id="postamble" class="status">
<p class="author">Author: Leon Schwarzäugl</p> <p class="author">Author: Leon Schwarzäugl</p>
<p class="date">Created: 2025-05-24 Sa 18:24</p> <p class="date">Created: 2025-05-24 Sa 21:14</p>
<p class="validation"><a href="https://validator.w3.org/check?uri=referer">Validate</a></p> <p class="validation"><a href="https://validator.w3.org/check?uri=referer">Validate</a></p>
</div> </div>
</body> </body>

View file

@ -11,7 +11,7 @@ in
enableScDaemon = true; enableScDaemon = true;
enableSshSupport = true; enableSshSupport = true;
enableExtraSocket = true; enableExtraSocket = true;
pinentryPackage = pkgs.pinentry.gtk2; pinentry.package = pkgs.pinentry.gtk2;
defaultCacheTtl = 600; defaultCacheTtl = 600;
maxCacheTtl = 7200; maxCacheTtl = 7200;
extraConfig = '' extraConfig = ''

View file

@ -4,31 +4,31 @@
config = lib.mkIf config.swarselsystems.modules.mako { config = lib.mkIf config.swarselsystems.modules.mako {
services.mako = { services.mako = {
enable = true; enable = true;
# backgroundColor = "#2e3440"; settings = {
# borderColor = "#88c0d0"; border-radius = 15;
borderRadius = 15; border-size = 1;
borderSize = 1; default-timeout = 5000;
defaultTimeout = 5000; ignore-timeout = 1;
height = 150; icons = 1;
icons = true; layer = "overlay";
ignoreTimeout = true; sort = "-time";
layer = "overlay"; height = 150;
maxIconSize = 64; width = 300;
sort = "-time"; "urgency=low" = {
width = 300; border-color = lib.mkForce "#cccccc";
# font = "monospace 10"; };
extraConfig = '' "urgency=normal" = {
[urgency=low] border-color = lib.mkForce "#d08770";
border-color=#cccccc };
[urgency=normal] "urgency=high" = {
border-color=#d08770 border-color = lib.mkForce "#bf616a";
[urgency=high] default-timeout = 3000;
border-color=#bf616a };
default-timeout=3000 "category=mpd" = {
[category=mpd] default-timeout = 2000;
default-timeout=2000 group-by = "category";
group-by=category };
''; };
}; };
}; };

View file

@ -40,7 +40,7 @@
vim vim
sshfs sshfs
fuse fuse
ventoy # ventoy
poppler_utils poppler_utils
vdhcoapp vdhcoapp

View file

@ -72,7 +72,7 @@ in
src = pkgs.zsh-fzf-tab; src = pkgs.zsh-fzf-tab;
} }
]; ];
initExtra = '' initContent = ''
my-forward-word() { my-forward-word() {
local WORDCHARS=$WORDCHARS local WORDCHARS=$WORDCHARS
WORDCHARS="''${WORDCHARS//:}" WORDCHARS="''${WORDCHARS//:}"

View file

@ -1,6 +1,6 @@
{ self, lib, pkgs, config, ... }: { self, lib, pkgs, config, ... }:
let let
inherit (config.swarselsystems) mainUser xdgDir; inherit (config.swarselsystems) mainUser homeDir xdgDir;
owner = mainUser; owner = mainUser;
sopsFile = self + /secrets/work/secrets.yaml; sopsFile = self + /secrets/work/secrets.yaml;
swarselService = name: description: execStart: { swarselService = name: description: execStart: {
@ -137,7 +137,7 @@ in
# cryptography # cryptography
# ])) # ]))
# docker # docker
stable.python39 stable24_11.python39
qemu qemu
packer packer
gnumake gnumake
@ -168,20 +168,20 @@ in
''; '';
}; };
# syncthing = { syncthing = {
# settings = { settings = {
# "winters" = { "winters" = {
# id = "O7RWDMD-AEAHPP7-7TAVLKZ-BSWNBTU-2VA44MS-EYGUNBB-SLHKB3C-ZSLMOAA"; id = "O7RWDMD-AEAHPP7-7TAVLKZ-BSWNBTU-2VA44MS-EYGUNBB-SLHKB3C-ZSLMOAA";
# }; };
# folders = { folders = {
# "Documents" = { "Documents" = {
# path = "${homeDir}/Documents"; path = "${homeDir}/Documents";
# devices = [ "magicant" "winters" ]; devices = [ "magicant" "winters" ];
# id = "hgr3d-pfu3w"; id = "hgr3d-pfu3w";
# }; };
# }; };
# }; };
# }; };
udev.extraRules = '' udev.extraRules = ''
# share screen when dongle detected # share screen when dongle detected

View file

@ -143,6 +143,7 @@ in
mautrix-telegram = { mautrix-telegram = {
enable = true; enable = true;
environmentFile = config.sops.templates.mautrixtelegram.path; environmentFile = config.sops.templates.mautrixtelegram.path;
registerToSynapse = false;
settings = { settings = {
homeserver = { homeserver = {
address = "http://localhost:8008"; address = "http://localhost:8008";

View file

@ -16,7 +16,7 @@ in
templates = { templates = {
"restic-env".content = '' "restic-env".content = ''
AWS_ACCESS_KEY_ID=${config.sops.placeholder.resticaccesskey} AWS_ACCESS_KEY_ID=${config.sops.placeholder.resticaccesskey}
AWS_SECRET_ACCESS_KEY=${config.sops.placeholder.resicsecretaccesskey} AWS_SECRET_ACCESS_KEY=${config.sops.placeholder.resticsecretaccesskey}
''; '';
}; };
}; };

View file

@ -74,16 +74,16 @@ in
devices = [ "sync (@oracle)" "magicant" "${workHostName}" ]; devices = [ "sync (@oracle)" "magicant" "${workHostName}" ];
id = "hgp9s-fyq3p"; id = "hgp9s-fyq3p";
}; };
# "Documents" = { "Documents" = {
# path = "/Vault/data/syncthing/Documents"; path = "/Vault/data/syncthing/Documents";
# type = "receiveonly"; type = "receiveonly";
# versioning = { versioning = {
# type = "simple"; type = "simple";
# params.keep = "5"; params.keep = "5";
# }; };
# devices = [ "magicant" "${workHostName}" ]; devices = [ "magicant" "${workHostName}" ];
# id = "hgr3d-pfu3w"; id = "hgr3d-pfu3w";
# }; };
# ".elfeed" = { # ".elfeed" = {
# path = "/Vault/data/syncthing/.elfeed"; # path = "/Vault/data/syncthing/.elfeed";
# devices = [ "sync (@oracle)" "magicant" "${workHostName}" ]; # devices = [ "sync (@oracle)" "magicant" "${workHostName}" ];

View file

@ -41,7 +41,14 @@ let
}; };
nixpkgs-stable24_05 = final: _: { nixpkgs-stable24_05 = final: _: {
stable24_05 = import inputs.nixpkgs-stable { stable24_05 = import inputs.nixpkgs-stable24_05 {
inherit (final) system;
config.allowUnfree = true;
};
};
nixpkgs-stable24_11 = final: _: {
stable24_11 = import inputs.nixpkgs-stable24_11 {
inherit (final) system; inherit (final) system;
config.allowUnfree = true; config.allowUnfree = true;
}; };
@ -60,6 +67,7 @@ in
// (modifications final prev) // (modifications final prev)
// (nixpkgs-stable final prev) // (nixpkgs-stable final prev)
// (nixpkgs-stable24_05 final prev) // (nixpkgs-stable24_05 final prev)
// (nixpkgs-stable24_11 final prev)
// (zjstatus final prev) // (zjstatus final prev)
// (inputs.vbc-nix.overlays.default final prev) // (inputs.vbc-nix.overlays.default final prev)
// (inputs.nur.overlays.default final prev) // (inputs.nur.overlays.default final prev)