refactor!(tmpfiles): expand power upon tmpfiles by deabstracting
This returns tmpfiles to its original form. Turns out that making something too simple gives it less power.
This commit is contained in:
parent
f4770f1908
commit
035fb24038
20 changed files with 74 additions and 72 deletions
63
hosts/solterra/users/artur/default.nix
Normal file
63
hosts/solterra/users/artur/default.nix
Normal file
|
@ -0,0 +1,63 @@
|
|||
{
|
||||
inputs,
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
alqueva.users.artur = {
|
||||
shell = config.alqueva.shells.nushell.package;
|
||||
tmpfiles = [
|
||||
"L+ %h/.config/qutebrowser/config.py - - - - ${./configs/qutebrowser/config.py}"
|
||||
"L+ %h/.config/qutebrowser/theme - - - - ${./configs/qutebrowser/theme}"
|
||||
(let
|
||||
theme = pkgs.fetchurl {
|
||||
url = "https://raw.githubusercontent.com/deathbeam/base16-discord/refs/heads/main/themes/base16-nord.theme.css";
|
||||
hash = "sha256-LofqgsVl+XKisk/dmb/PpwuLEWdEgchIfIw4xZs6LQw=";
|
||||
};
|
||||
in "L+ %h/.config/vesktop/themes/theme.user.css - - - - ${theme}")
|
||||
"L+ %h/.config/vesktop/settings/quickCss.css - - - - ${./configs/vesktop/quickCss.css}"
|
||||
"L+ %h/.config/kanshi/ - - - - ${./configs/kanshi}"
|
||||
"L+ %h/.config/dunst/ - - - - ${./configs/dunst}"
|
||||
"L+ %h/.config/niri/ - - - - ${./configs/niri}"
|
||||
"L+ %h/.config/rofi/ - - - - ${./configs/rofi}"
|
||||
"L+ %h/.config/foot - - - - ${./configs/foot}"
|
||||
"L+ %h/.config/waybar - - - - ${./configs/waybar}"
|
||||
"L+ %h/.face.icon - - - - ${./.face.icon}"
|
||||
];
|
||||
packages = builtins.attrValues {
|
||||
inherit
|
||||
(pkgs)
|
||||
eww
|
||||
wget
|
||||
vesktop-electron32
|
||||
mpv
|
||||
imv
|
||||
amberol
|
||||
fractal
|
||||
nicotine-plus-libadwaita
|
||||
nautilus
|
||||
librewolf
|
||||
playerctl
|
||||
geary
|
||||
qutebrowser
|
||||
dunst
|
||||
gh
|
||||
rofi-wayland
|
||||
foot
|
||||
signal-desktop
|
||||
dino
|
||||
polari
|
||||
;
|
||||
inherit (inputs.hetch.packages.${pkgs.system}) hetch;
|
||||
inherit (inputs.gimp-nixpkgs.legacyPackages.${pkgs.system}) gimp;
|
||||
};
|
||||
groups = [
|
||||
"wheel"
|
||||
"video"
|
||||
"audio"
|
||||
"networkmanager"
|
||||
"input"
|
||||
"libvirtd"
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue