Move the gui stuff back into home manager
This commit is contained in:
@@ -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 = {
|
||||
|
||||
@@ -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...
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -44,12 +44,5 @@
|
||||
environment.systemPackages = with pkgs; [
|
||||
inputs.locutus.packages.${pkgs.system}.default
|
||||
mullvad-vpn
|
||||
|
||||
wezterm
|
||||
chromium
|
||||
darktable
|
||||
nextcloud-client
|
||||
bitwarden-desktop
|
||||
jrnl
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user