refactoring packages
This commit is contained in:
parent
a5f326bc62
commit
5c92a6cd23
12
flake.lock
12
flake.lock
@ -278,11 +278,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1714981474,
|
"lastModified": 1715077503,
|
||||||
"narHash": "sha256-b3/U21CJjCjJKmA9WqUbZGZgCvospO3ArOUTgJugkOY=",
|
"narHash": "sha256-AfHQshzLQfUqk/efMtdebHaQHqVntCMjhymQzVFLes0=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "6ebe7be2e67be7b9b54d61ce5704f6fb466c536f",
|
"rev": "6e277d9566de9976f47228dd8c580b97488734d4",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -344,11 +344,11 @@
|
|||||||
"systems": "systems_4"
|
"systems": "systems_4"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1714125531,
|
"lastModified": 1715003183,
|
||||||
"narHash": "sha256-P95WwUjj4i2cCH86Yb9ES+3LDfemum+hToM1upyc6IE=",
|
"narHash": "sha256-Klcbq9ncNG+ImmlL+gjXaHRX2hm2uGm0VO/bow/9KEE=",
|
||||||
"owner": "ivandimitrov8080",
|
"owner": "ivandimitrov8080",
|
||||||
"repo": "flake-ide",
|
"repo": "flake-ide",
|
||||||
"rev": "21fed8c35241b82fd8c14681b801d2f31285997c",
|
"rev": "a8a6cd023e1ef624315509fe0624fab2964a932a",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -29,14 +29,13 @@ let
|
|||||||
waybar
|
waybar
|
||||||
zsh
|
zsh
|
||||||
];
|
];
|
||||||
ivand-packages = with modules.home.packages; [
|
ivand-packages = {
|
||||||
dev
|
home.packages = with modules.home.packages; (dev ++ essential ++ random);
|
||||||
essential
|
};
|
||||||
];
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
ivand = home-manager.lib.homeManagerConfiguration {
|
ivand = home-manager.lib.homeManagerConfiguration {
|
||||||
inherit pkgs;
|
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;
|
wireguard = import ./nixos/wireguard;
|
||||||
};
|
};
|
||||||
home = {
|
home = {
|
||||||
packages = import ./home/packages { inherit pkgs; };
|
packages = import ./home/packages pkgs;
|
||||||
programs = import ./home/programs { inherit system pkgs ide; };
|
programs = import ./home/programs { inherit system pkgs ide; };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,16 @@
|
|||||||
{ pkgs, ... }: {
|
pkgs: with pkgs; {
|
||||||
dev = import ./dev { inherit pkgs; };
|
dev = [
|
||||||
essential = import ./essential { inherit pkgs; };
|
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