refactoring packages
This commit is contained in:
parent
a5f326bc62
commit
5c92a6cd23
12
flake.lock
12
flake.lock
@ -278,11 +278,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1714981474,
|
||||
"narHash": "sha256-b3/U21CJjCjJKmA9WqUbZGZgCvospO3ArOUTgJugkOY=",
|
||||
"lastModified": 1715077503,
|
||||
"narHash": "sha256-AfHQshzLQfUqk/efMtdebHaQHqVntCMjhymQzVFLes0=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "6ebe7be2e67be7b9b54d61ce5704f6fb466c536f",
|
||||
"rev": "6e277d9566de9976f47228dd8c580b97488734d4",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@ -344,11 +344,11 @@
|
||||
"systems": "systems_4"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1714125531,
|
||||
"narHash": "sha256-P95WwUjj4i2cCH86Yb9ES+3LDfemum+hToM1upyc6IE=",
|
||||
"lastModified": 1715003183,
|
||||
"narHash": "sha256-Klcbq9ncNG+ImmlL+gjXaHRX2hm2uGm0VO/bow/9KEE=",
|
||||
"owner": "ivandimitrov8080",
|
||||
"repo": "flake-ide",
|
||||
"rev": "21fed8c35241b82fd8c14681b801d2f31285997c",
|
||||
"rev": "a8a6cd023e1ef624315509fe0624fab2964a932a",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -29,14 +29,13 @@ let
|
||||
waybar
|
||||
zsh
|
||||
];
|
||||
ivand-packages = with modules.home.packages; [
|
||||
dev
|
||||
essential
|
||||
];
|
||||
ivand-packages = {
|
||||
home.packages = with modules.home.packages; (dev ++ essential ++ random);
|
||||
};
|
||||
in
|
||||
{
|
||||
ivand = home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
modules = [ ./ivand nid.hmModules.nix-index ] ++ ivand-programs ++ ivand-packages ++ [ catppuccin.homeManagerModules.catppuccin ];
|
||||
modules = [ ./ivand nid.hmModules.nix-index ivand-packages ] ++ ivand-programs ++ [ catppuccin.homeManagerModules.catppuccin ];
|
||||
};
|
||||
}
|
||||
|
@ -7,7 +7,7 @@
|
||||
wireguard = import ./nixos/wireguard;
|
||||
};
|
||||
home = {
|
||||
packages = import ./home/packages { inherit pkgs; };
|
||||
packages = import ./home/packages pkgs;
|
||||
programs = import ./home/programs { inherit system pkgs ide; };
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,16 @@
|
||||
{ pkgs, ... }: {
|
||||
dev = import ./dev { inherit pkgs; };
|
||||
essential = import ./essential { inherit pkgs; };
|
||||
pkgs: with pkgs; {
|
||||
dev = [
|
||||
openssh
|
||||
procs
|
||||
ripgrep
|
||||
fswatch
|
||||
];
|
||||
essential = [
|
||||
gopass
|
||||
ffmpeg
|
||||
transmission
|
||||
];
|
||||
random = [
|
||||
telegram-desktop
|
||||
];
|
||||
}
|
||||
|
@ -1,8 +0,0 @@
|
||||
{ pkgs, ... }: {
|
||||
home.packages = with pkgs; [
|
||||
openssh
|
||||
procs
|
||||
ripgrep
|
||||
fswatch
|
||||
];
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
{ pkgs, ... }: {
|
||||
home.packages = with pkgs; [
|
||||
gopass
|
||||
ffmpeg
|
||||
transmission
|
||||
];
|
||||
}
|
Loading…
Reference in New Issue
Block a user