move all home.packages to users.users.${username}.packages

This commit is contained in:
jacekpoz 2024-10-02 16:55:18 +02:00
parent 76a2eeda57
commit 1a83ef8613
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8
11 changed files with 462 additions and 472 deletions

View file

@ -8,39 +8,37 @@
inherit (lib.attrsets) attrValues;
in {
home-manager.users.${username} = {
home.packages = attrValues {
inherit (pkgs)
eza
ripgrep
unzip
trash-cli
dig
xdg-ninja
gnupg
age
fd
asciinema
asciinema-agg
du-dust
file
magic-wormhole
uutils-coreutils
imagemagick
psmisc
jq
fq
progress
parallel
p7zip
xxd
lshw
tree
smartmontools
curl
fastfetch
wireguard-tools
;
};
users.users.${username}.packages = attrValues {
inherit (pkgs)
eza
ripgrep
unzip
trash-cli
dig
xdg-ninja
gnupg
age
fd
asciinema
asciinema-agg
du-dust
file
magic-wormhole
uutils-coreutils
imagemagick
psmisc
jq
fq
progress
parallel
p7zip
xxd
lshw
tree
smartmontools
curl
fastfetch
wireguard-tools
;
};
}

View file

@ -10,10 +10,8 @@
in {
programs.steam.enable = true;
home-manager.users.${username} = {
home.packages = attrValues {
inherit (pkgs.steamPackages) steamcmd;
inherit (pkgs) steam-tui;
};
users.users.${username}.packages = attrValues {
inherit (pkgs.steamPackages) steamcmd;
inherit (pkgs) steam-tui;
};
}

View file

@ -8,120 +8,118 @@
inherit (lib.attrsets) attrValues;
in {
home-manager.users.${username} = {
home.packages = attrValues {
inherit (pkgs)
keepassxc
eza
ripgrep
signal-desktop-beta
element-desktop
obs-studio
heroic
ungoogled-chromium
tor-browser-bundle-bin
mullvad-browser
thunderbird
gimp
easyeffects
libreoffice-fresh
prismlauncher
qbittorrent
zellij
caprine-bin
trash-cli
xdg-utils
pamixer
brightnessctl
dig
imv
pcmanfm
xdg-ninja
gnupg
age
rage
fd
udisks
ffmpeg_6-full
yt-dlp
filelight
asciinema
asciinema-agg
du-dust
appimage-run
file
fastfetch
uutils-coreutils
anki
alsa-utils
ezquake
imagemagick
psmisc
mesa-demos
#aseprite-unfree
jq
fq
progress
parallel
p7zip
xxd
mpc-cli
playerctl
xdg-user-dirs
lshw
tree
exiv2
krita
usbutils
kiwix
inkscape
gomuks
twitch-tui
ytfzf
mat2
simplex-chat-desktop
libsixel
lsix
qmk
enigma
superTuxKart
solaar
httpie
mangohud
nix-index
heaptrack
magic-wormhole
modemmanager
usb-modeswitch
usb-modeswitch-data
mobile-broadband-provider-info
modem-manager-gui
webcamoid
fswebcam
pciutils
rnote
inxi
pcsc-tools
libnfc
nix-tree
duf
bat
hw-probe
zed-editor
osu-lazer-bin
delta
scrcpy
godot_4
libnotify
radicle-node
;
inherit (pkgs.libsForQt5)
kdenlive
;
inherit (config.boot.kernelPackages)
cpupower
perf
;
};
users.users.${username}.packages = attrValues {
inherit (pkgs)
keepassxc
eza
ripgrep
signal-desktop-beta
element-desktop
obs-studio
heroic
ungoogled-chromium
tor-browser-bundle-bin
mullvad-browser
thunderbird
gimp
easyeffects
libreoffice-fresh
prismlauncher
qbittorrent
zellij
caprine-bin
trash-cli
xdg-utils
pamixer
brightnessctl
dig
imv
pcmanfm
xdg-ninja
gnupg
age
rage
fd
udisks
ffmpeg_6-full
yt-dlp
filelight
asciinema
asciinema-agg
du-dust
appimage-run
file
fastfetch
uutils-coreutils
anki
alsa-utils
ezquake
imagemagick
psmisc
mesa-demos
#aseprite-unfree
jq
fq
progress
parallel
p7zip
xxd
mpc-cli
playerctl
xdg-user-dirs
lshw
tree
exiv2
krita
usbutils
kiwix
inkscape
gomuks
twitch-tui
ytfzf
mat2
simplex-chat-desktop
libsixel
lsix
qmk
enigma
superTuxKart
solaar
httpie
mangohud
nix-index
heaptrack
magic-wormhole
modemmanager
usb-modeswitch
usb-modeswitch-data
mobile-broadband-provider-info
modem-manager-gui
webcamoid
fswebcam
pciutils
rnote
inxi
pcsc-tools
libnfc
nix-tree
duf
bat
hw-probe
zed-editor
osu-lazer-bin
delta
scrcpy
godot_4
libnotify
radicle-node
;
inherit (pkgs.libsForQt5)
kdenlive
;
inherit (config.boot.kernelPackages)
cpupower
perf
;
};
}

View file

@ -8,74 +8,72 @@
inherit (lib.attrsets) attrValues;
in {
home-manager.users.${username} = {
home.packages = attrValues {
inherit (pkgs)
keepassxc
eza
ripgrep
signal-desktop-beta
element-desktop
obs-studio
heroic
ungoogled-chromium
tor-browser-bundle-bin
mullvad-browser
thunderbird
gimp
easyeffects
libreoffice-fresh
qbittorrent
zellij
unzip
caprine-bin
trash-cli
networkmanagerapplet
xdg-utils
pamixer
brightnessctl
dig
imv
pcmanfm
xdg-ninja
gnupg
age
rage
fd
udisks
ffmpeg_6-full
yt-dlp
filelight
asciinema
asciinema-agg
du-dust
appimage-run
file
fastfetch
magic-wormhole
alsa-utils
imagemagick
psmisc
mesa-demos
jq
fq
progress
parallel
p7zip
xxd
mpc-cli
playerctl
xdg-user-dirs
lshw
tree
exiv2
libnotify
radicle-node
;
inherit (config.boot.kernelPackages)
cpupower
perf
;
};
users.users.${username}.packages = attrValues {
inherit (pkgs)
keepassxc
eza
ripgrep
signal-desktop-beta
element-desktop
obs-studio
heroic
ungoogled-chromium
tor-browser-bundle-bin
mullvad-browser
thunderbird
gimp
easyeffects
libreoffice-fresh
qbittorrent
zellij
unzip
caprine-bin
trash-cli
networkmanagerapplet
xdg-utils
pamixer
brightnessctl
dig
imv
pcmanfm
xdg-ninja
gnupg
age
rage
fd
udisks
ffmpeg_6-full
yt-dlp
filelight
asciinema
asciinema-agg
du-dust
appimage-run
file
fastfetch
magic-wormhole
alsa-utils
imagemagick
psmisc
mesa-demos
jq
fq
progress
parallel
p7zip
xxd
mpc-cli
playerctl
xdg-user-dirs
lshw
tree
exiv2
libnotify
radicle-node
;
inherit (config.boot.kernelPackages)
cpupower
perf
;
};
}

View file

@ -8,112 +8,110 @@
inherit (lib.attrsets) attrValues;
in {
home-manager.users.${username} = {
home.packages = attrValues {
inherit (pkgs)
keepassxc
eza
ripgrep
signal-desktop-beta
element-desktop
obs-studio
heroic
ungoogled-chromium
tor-browser-bundle-bin
mullvad-browser
thunderbird
gimp
easyeffects
libreoffice-fresh
prismlauncher
qbittorrent
zellij
caprine-bin
trash-cli
xdg-utils
pamixer
brightnessctl
dig
imv
pcmanfm
xdg-ninja
gnupg
age
rage
fd
udisks
ffmpeg_6-full
yt-dlp
filelight
asciinema
asciinema-agg
du-dust
appimage-run
file
fastfetch
uutils-coreutils
anki
alsa-utils
ezquake
imagemagick
psmisc
mesa-demos
aseprite-unfree
jq
fq
progress
parallel
p7zip
xxd
mpc-cli
playerctl
xdg-user-dirs
lshw
tree
exiv2
krita
usbutils
kiwix
inkscape
gomuks
twitch-tui
ytfzf
mat2
simplex-chat-desktop
libsixel
lsix
qmk
enigma
superTuxKart
solaar
httpie
mangohud
nix-index
heaptrack
magic-wormhole
sherlock
inxi
nix-tree
pciutils
duf
bat
rnote
hw-probe
zed-editor
osu-lazer-bin
delta
scrcpy
godot_4
libnotify
radicle-node
;
inherit (pkgs.libsForQt5)
kdenlive
;
inherit (config.boot.kernelPackages)
cpupower
perf
;
};
users.users.${username}.packages = attrValues {
inherit (pkgs)
keepassxc
eza
ripgrep
signal-desktop-beta
element-desktop
obs-studio
heroic
ungoogled-chromium
tor-browser-bundle-bin
mullvad-browser
thunderbird
gimp
easyeffects
libreoffice-fresh
prismlauncher
qbittorrent
zellij
caprine-bin
trash-cli
xdg-utils
pamixer
brightnessctl
dig
imv
pcmanfm
xdg-ninja
gnupg
age
rage
fd
udisks
ffmpeg_6-full
yt-dlp
filelight
asciinema
asciinema-agg
du-dust
appimage-run
file
fastfetch
uutils-coreutils
anki
alsa-utils
ezquake
imagemagick
psmisc
mesa-demos
aseprite-unfree
jq
fq
progress
parallel
p7zip
xxd
mpc-cli
playerctl
xdg-user-dirs
lshw
tree
exiv2
krita
usbutils
kiwix
inkscape
gomuks
twitch-tui
ytfzf
mat2
simplex-chat-desktop
libsixel
lsix
qmk
enigma
superTuxKart
solaar
httpie
mangohud
nix-index
heaptrack
magic-wormhole
sherlock
inxi
nix-tree
pciutils
duf
bat
rnote
hw-probe
zed-editor
osu-lazer-bin
delta
scrcpy
godot_4
libnotify
radicle-node
;
inherit (pkgs.libsForQt5)
kdenlive
;
inherit (config.boot.kernelPackages)
cpupower
perf
;
};
}

View file

@ -8,94 +8,92 @@
inherit (lib.attrsets) attrValues;
in {
home-manager.users.${username} = {
home.packages = attrValues {
inherit (pkgs)
keepassxc
eza
ripgrep
obs-studio
ungoogled-chromium
tor-browser-bundle-bin
mullvad-browser
thunderbird
gimp
helvum
easyeffects
libreoffice-fresh
qbittorrent
zellij
trash-cli
xdg-utils
pamixer
brightnessctl
dig
imv
pcmanfm
xdg-ninja
gnupg
age
rage
fd
udisks
ffmpeg_6-full
yt-dlp
filelight
asciinema
asciinema-agg
du-dust
appimage-run
file
fastfetch
uutils-coreutils
alsa-utils
imagemagick
psmisc
mesa-demos
jq
fq
progress
parallel
p7zip
xxd
playerctl
xdg-user-dirs
lshw
tree
exiv2
usbutils
ytfzf
mat2
libsixel
lsix
qmk
httpie
mangohud
nix-index
heaptrack
magic-wormhole
webcamoid
fswebcam
pciutils
inxi
pcsc-tools
libnfc
nix-tree
duf
bat
hw-probe
delta
scrcpy
teams-for-linux
openconnect
vpn-slice
sshfs
libnotify
;
inherit (config.boot.kernelPackages)
cpupower
perf
;
};
users.users.${username}.packages = attrValues {
inherit (pkgs)
keepassxc
eza
ripgrep
obs-studio
ungoogled-chromium
tor-browser-bundle-bin
mullvad-browser
thunderbird
gimp
helvum
easyeffects
libreoffice-fresh
qbittorrent
zellij
trash-cli
xdg-utils
pamixer
brightnessctl
dig
imv
pcmanfm
xdg-ninja
gnupg
age
rage
fd
udisks
ffmpeg_6-full
yt-dlp
filelight
asciinema
asciinema-agg
du-dust
appimage-run
file
fastfetch
uutils-coreutils
alsa-utils
imagemagick
psmisc
mesa-demos
jq
fq
progress
parallel
p7zip
xxd
playerctl
xdg-user-dirs
lshw
tree
exiv2
usbutils
ytfzf
mat2
libsixel
lsix
qmk
httpie
mangohud
nix-index
heaptrack
magic-wormhole
webcamoid
fswebcam
pciutils
inxi
pcsc-tools
libnfc
nix-tree
duf
bat
hw-probe
delta
scrcpy
teams-for-linux
openconnect
vpn-slice
sshfs
libnotify
;
inherit (config.boot.kernelPackages)
cpupower
perf
;
};
}

View file

@ -28,7 +28,11 @@ in {
config = mkIf cfg.enable {
programs.zsh.enable = true;
users.users.${username}.shell = pkgs.zsh;
users.users.${username} = {
shell = pkgs.zsh;
# for fzf-tab
packages = [ pkgs.fzf ];
};
environment = {
shells = [ pkgs.zsh ];
@ -36,8 +40,6 @@ in {
};
home-manager.users.${username} = {
# for fzf-tab
home.packages = [ pkgs.fzf ];
programs.zsh = {
enable = true;
shellAliases = {

View file

@ -16,9 +16,9 @@ in {
# https://github.com/NixOS/nixpkgs/issues/158025
security.pam.services.gtklock.text = "auth include login";
home-manager.users.${username} = {
home.packages = [ pkgs.gtklock ];
users.users.${username}.packages = [ pkgs.gtklock ];
home-manager.users.${username} = {
xdg.configFile."gtklock/config.ini".text = ''
[main]
gtk-theme=${config.poz.themes.gtk.name}

View file

@ -162,23 +162,23 @@ in {
portalPackage = xdg-desktop-portal-hyprland;
};
users.users.${username}.packages = attrValues {
inherit (pkgs)
cliphist
wl-clipboard
hyprpicker
ydotool
wev
;
inherit (inputs.hyprcontrib.packages.${pkgs.system})
hyprprop
grimblast
;
};
home-manager.users.${username} = {
xdg.dataFile = mkIf (cfg.startupSound != null) { "hypr/startup_sound".source = cfg.startupSound; };
home.packages = attrValues {
inherit (pkgs)
cliphist
wl-clipboard
hyprpicker
ydotool
wev
;
inherit (inputs.hyprcontrib.packages.${pkgs.system})
hyprprop
grimblast
;
};
wayland.windowManager.hyprland = {
enable = true;
package = hyprland;

View file

@ -37,13 +37,13 @@ in {
};
config = mkIf cfg.enable {
home-manager.users.${username} = {
home.packages = [
inputs.quickshell.packages.${pkgs.system}.default
# for da poz
pkgs.qt6.qtsvg
];
users.users.${username}.packages = [
inputs.quickshell.packages.${pkgs.system}.default
# for da poz
pkgs.qt6.qtsvg
];
home-manager.users.${username} = {
xdg.configFile."quickshell/manifest.conf".text = ''
${concatStrings (mapAttrsToList (name: value: ''
${name} = ${value}

View file

@ -16,35 +16,35 @@ in {
};
config = mkIf cfg.enable {
home-manager.users.${username} = {
home.packages = [
(pkgs.vesktop.overrideAttrs (old: {
patches = (old.patches or []) ++ [ ./readonlyFix.patch ];
# thanks aleph :3
# https://github.com/AlephNought0/Faery/blob/main/modules/home/programs/graphical/vesktop/patchedvesktop.patch
postFixup = concatStrings [
old.postFixup
''
wrapProgram $out/bin/vesktop \
--add-flags "--ozone-platform=wayland \
--enable-zero-copy \
--use-gl=angle \
--use-vulkan \
--enable-oop-rasterization \
--enable-raw-draw \
--enable-gpu-rasterization \
--enable-gpu-compositing \
--enable-native-gpu-memory-buffers \
--enable-accelerated-2d-canvas \
--enable-accelerated-video-decode \
--enable-accelerated-mjpeg-decode \
--disable-gpu-vsync \
--enable-features=Vulkan,VulkanFromANGLE,DefaultANGLEVulkan,VaapiIgnoreDriverChecks,VaapiVideoDecoder,PlatformHEVCDecoderSupport"
''
];
}))
];
users.users.${username}.packages = [
(pkgs.vesktop.overrideAttrs (old: {
patches = (old.patches or []) ++ [ ./readonlyFix.patch ];
# thanks aleph :3
# https://github.com/AlephNought0/Faery/blob/main/modules/home/programs/graphical/vesktop/patchedvesktop.patch
postFixup = concatStrings [
old.postFixup
''
wrapProgram $out/bin/vesktop \
--add-flags "--ozone-platform=wayland \
--enable-zero-copy \
--use-gl=angle \
--use-vulkan \
--enable-oop-rasterization \
--enable-raw-draw \
--enable-gpu-rasterization \
--enable-gpu-compositing \
--enable-native-gpu-memory-buffers \
--enable-accelerated-2d-canvas \
--enable-accelerated-video-decode \
--enable-accelerated-mjpeg-decode \
--disable-gpu-vsync \
--enable-features=Vulkan,VulkanFromANGLE,DefaultANGLEVulkan,VaapiIgnoreDriverChecks,VaapiVideoDecoder,PlatformHEVCDecoderSupport"
''
];
}))
];
home-manager.users.${username} = {
xdg.configFile."vesktop/settings.json".text = builtins.toJSON {
discordBranch = "ptb";
firstLaunch = false;