Move the gui stuff back into home manager
This commit is contained in:
parent
a3ca248347
commit
7e125b6408
3 changed files with 9 additions and 11 deletions
|
|
@ -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
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue