move all home.packages to users.users.${username}.packages
This commit is contained in:
parent
76a2eeda57
commit
1a83ef8613
11 changed files with 462 additions and 472 deletions
|
@ -8,8 +8,7 @@
|
|||
|
||||
inherit (lib.attrsets) attrValues;
|
||||
in {
|
||||
home-manager.users.${username} = {
|
||||
home.packages = attrValues {
|
||||
users.users.${username}.packages = attrValues {
|
||||
inherit (pkgs)
|
||||
eza
|
||||
ripgrep
|
||||
|
@ -42,5 +41,4 @@ in {
|
|||
wireguard-tools
|
||||
;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -10,10 +10,8 @@
|
|||
in {
|
||||
programs.steam.enable = true;
|
||||
|
||||
home-manager.users.${username} = {
|
||||
home.packages = attrValues {
|
||||
users.users.${username}.packages = attrValues {
|
||||
inherit (pkgs.steamPackages) steamcmd;
|
||||
inherit (pkgs) steam-tui;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -8,8 +8,7 @@
|
|||
|
||||
inherit (lib.attrsets) attrValues;
|
||||
in {
|
||||
home-manager.users.${username} = {
|
||||
home.packages = attrValues {
|
||||
users.users.${username}.packages = attrValues {
|
||||
inherit (pkgs)
|
||||
keepassxc
|
||||
eza
|
||||
|
@ -123,5 +122,4 @@ in {
|
|||
perf
|
||||
;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -8,8 +8,7 @@
|
|||
|
||||
inherit (lib.attrsets) attrValues;
|
||||
in {
|
||||
home-manager.users.${username} = {
|
||||
home.packages = attrValues {
|
||||
users.users.${username}.packages = attrValues {
|
||||
inherit (pkgs)
|
||||
keepassxc
|
||||
eza
|
||||
|
@ -77,5 +76,4 @@ in {
|
|||
perf
|
||||
;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -8,8 +8,7 @@
|
|||
|
||||
inherit (lib.attrsets) attrValues;
|
||||
in {
|
||||
home-manager.users.${username} = {
|
||||
home.packages = attrValues {
|
||||
users.users.${username}.packages = attrValues {
|
||||
inherit (pkgs)
|
||||
keepassxc
|
||||
eza
|
||||
|
@ -115,5 +114,4 @@ in {
|
|||
perf
|
||||
;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -8,8 +8,7 @@
|
|||
|
||||
inherit (lib.attrsets) attrValues;
|
||||
in {
|
||||
home-manager.users.${username} = {
|
||||
home.packages = attrValues {
|
||||
users.users.${username}.packages = attrValues {
|
||||
inherit (pkgs)
|
||||
keepassxc
|
||||
eza
|
||||
|
@ -97,5 +96,4 @@ in {
|
|||
perf
|
||||
;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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 = {
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -162,10 +162,7 @@ in {
|
|||
portalPackage = xdg-desktop-portal-hyprland;
|
||||
};
|
||||
|
||||
home-manager.users.${username} = {
|
||||
xdg.dataFile = mkIf (cfg.startupSound != null) { "hypr/startup_sound".source = cfg.startupSound; };
|
||||
|
||||
home.packages = attrValues {
|
||||
users.users.${username}.packages = attrValues {
|
||||
inherit (pkgs)
|
||||
cliphist
|
||||
wl-clipboard
|
||||
|
@ -179,6 +176,9 @@ in {
|
|||
;
|
||||
};
|
||||
|
||||
home-manager.users.${username} = {
|
||||
xdg.dataFile = mkIf (cfg.startupSound != null) { "hypr/startup_sound".source = cfg.startupSound; };
|
||||
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
package = hyprland;
|
||||
|
|
|
@ -37,13 +37,13 @@ in {
|
|||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home-manager.users.${username} = {
|
||||
home.packages = [
|
||||
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}
|
||||
|
|
|
@ -16,8 +16,7 @@ in {
|
|||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home-manager.users.${username} = {
|
||||
home.packages = [
|
||||
users.users.${username}.packages = [
|
||||
(pkgs.vesktop.overrideAttrs (old: {
|
||||
patches = (old.patches or []) ++ [ ./readonlyFix.patch ];
|
||||
# thanks aleph :3
|
||||
|
@ -45,6 +44,7 @@ in {
|
|||
}))
|
||||
];
|
||||
|
||||
home-manager.users.${username} = {
|
||||
xdg.configFile."vesktop/settings.json".text = builtins.toJSON {
|
||||
discordBranch = "ptb";
|
||||
firstLaunch = false;
|
||||
|
|
Loading…
Reference in a new issue