Move the gui stuff back into home manager

This commit is contained in:
Alexander Wainwright
2025-06-26 22:06:37 +10:00
parent a3ca248347
commit 7e125b6408
3 changed files with 9 additions and 11 deletions

View File

@@ -1,4 +1,4 @@
{ config, pkgs, inputs, ... }:
{ config, pkgs, inputs, isDesktop, ... }:
{
home.username = "alex";
@@ -114,7 +114,13 @@
pciutils # lspci
usbutils # lsusb
zoxide
];
] ++ (if isDesktop then [
wezterm
chromium
darktable
nextcloud-client
bitwarden-desktop
] else []);
# basic configuration of git, please change to your own
programs.git = {

View File

@@ -35,10 +35,9 @@
# Optionally, use home-manager.extraSpecialArgs to pass arguments to
# home.nix
home-manager.extraSpecialArgs = { inherit inputs; };
home-manager.extraSpecialArgs = { inherit inputs; isDesktop=true; };
}
];
# other hosts...
};
};
};

View File

@@ -44,12 +44,5 @@
environment.systemPackages = with pkgs; [
inputs.locutus.packages.${pkgs.system}.default
mullvad-vpn
wezterm
chromium
darktable
nextcloud-client
bitwarden-desktop
jrnl
];
}