move btop to linux-specific defs

This commit is contained in:
Cyryl Płotnicki 2022-04-22 08:33:44 +01:00
parent 901ebcc4bc
commit 5cd81297b8
No known key found for this signature in database
GPG key ID: 534222210FE423ED
3 changed files with 26 additions and 21 deletions

View file

@ -52,30 +52,35 @@
in { in {
darwinConfigurations = { darwinConfigurations = {
"macmini" = darwin.lib.darwinSystem { "macmini" = darwin.lib.darwinSystem {
system = "x86_64-darwin"; system = "x86_64-darwin";
modules = [ modules = [
(./. + "/nixos/boxes/macmini") (./. + "/nixos/boxes/macmini")
home-manager.darwinModules.home-manager home-manager.darwinModules.home-manager
{ {
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true; home-manager.useUserPackages = true;
home-manager.users.cyryl = { imports = [ ./nixos/home-manager ]; }; home-manager.users.cyryl = {
imports = [ ./nixos/home-manager ];
};
} }
]; ];
}; };
"FORM3-CYRYLPLOTN" = darwin.lib.darwinSystem { "FORM3-CYRYLPLOTN" = darwin.lib.darwinSystem {
system = "x86_64-darwin"; system = "x86_64-darwin";
modules = [ modules = [
(./. + "/nixos/boxes/form3") (./. + "/nixos/boxes/form3")
home-manager.darwinModules.home-manager home-manager.darwinModules.home-manager
{ {
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true; home-manager.useUserPackages = true;
home-manager.users.cyryl = { imports = [ ./nixos/home-manager ]; }; home-manager.users.cyryl = {
imports = [ ./nixos/home-manager ];
_module.args.inputs = inputs;
};
} }
]; ];
}; };
}; };

View file

@ -12,7 +12,6 @@
binutils binutils
bitwarden-cli bitwarden-cli
bottom bottom
btop
curl curl
dnsutils dnsutils
docker-compose docker-compose

View file

@ -5,6 +5,7 @@
}; };
home.packages = with pkgs; [ home.packages = with pkgs; [
atop atop
btop
btrfs-progs btrfs-progs
glibcLocales glibcLocales
lm_sensors lm_sensors