Remove all GUI elements from default home configs, using gui/default.nix instead

This commit is contained in:
Evie Litherland-Smith 2023-06-17 10:30:39 +01:00
parent bf81136d18
commit 4bdbd153f0
6 changed files with 16 additions and 31 deletions

View file

@ -1,4 +1 @@
{pkgs, ...}: { {...}: {imports = [./env ./tui];}
imports = [./env ./gui ./tui];
home.packages = with pkgs; [signal-desktop];
}

View file

@ -1,4 +1,4 @@
{pkgs, ...}: { {pkgs, ...}: {
imports = [./firefox.nix ./wezterm.nix]; imports = [./firefox.nix ./wezterm.nix];
home.packages = with pkgs; [bitwarden otpclient]; home.packages = with pkgs; [signal-desktop bitwarden otpclient];
} }

View file

@ -1,4 +1 @@
{pkgs, ...}: { {...}: {imports = [./default.nix ./git/personal.nix ./ssh/personal.nix];}
imports = [./default.nix ./git/personal.nix ./ssh/personal.nix];
home.packages = with pkgs; [discord element-desktop];
}

View file

@ -1,8 +1,15 @@
{pkgs, ...}: { {...}: {
imports = [./default.nix ./git/work.nix ./ssh/work.nix]; imports = [./default.nix ./git/work.nix ./ssh/work.nix];
home.packages = with pkgs; [openfortivpn nomachine-client teams-for-linux zoom-us];
programs.fish.functions.arch = '' programs.fish.functions.arch = ''
distrobox list | grep -i archlinux > /dev/null || distrobox create -n arch -i docker.io/library/archlinux:latest -y distrobox list | grep -i archlinux > /dev/null || distrobox create -n arch -i docker.io/library/archlinux:latest -y
distrobox enter arch distrobox enter arch
''; '';
programs.fish.functions.nvsync = ''
rsync -avz --filter=':- .gitignore' --exclude='.git*'\
--delete-during --delete-excluded\
$HOME/.config/nvim/ heimdall003.jet.uk:.config/nvim
rsync -avz --filter=':- .gitignore' --exclude='.git*'\
--delete-during --delete-excluded\
$HOME/.config/nvim/ freia:.config/nvim
'';
} }

View file

@ -1,21 +1,11 @@
{pkgs, ...}: { {pkgs, ...}: {
imports = [ imports = [../../home/personal.nix ../../home/gui/wezterm.nix];
../../env
../../tui
../../gui/wezterm.nix
../../git/personal.nix
../../ssh/personal.nix
];
# Home Manager needs a bit of information about you and the # Home Manager needs a bit of information about you and the
# paths it should manage. # paths it should manage.
home.username = "tux"; home.username = "tux";
home.homeDirectory = "/Users/tux"; home.homeDirectory = "/Users/tux";
home.stateVersion = "22.11"; home.stateVersion = "22.11";
services.syncthing.enable = true;
home.packages = [pkgs.gcc]; home.packages = [pkgs.gcc];
programs.fish.shellAbbrs.update = "home-manager switch"; programs.fish.shellAbbrs.update = "home-manager switch";
programs.zsh = { programs.zsh = {
shellAliases.update = "home-manager switch"; shellAliases.update = "home-manager switch";
@ -24,4 +14,5 @@
eval "$(/opt/homebrew/bin/brew shellenv)" eval "$(/opt/homebrew/bin/brew shellenv)"
''; '';
}; };
services.syncthing.enable = true;
} }

View file

@ -1,16 +1,9 @@
{pkgs, ...}: { {pkgs, ...}: {
imports = [ imports = [../../home/personal.nix];
../../env
../../tui
../../gui/chromium.nix
../../gui/foot.nix
../../ssh/personal.nix
../../git/personal.nix
];
home.username = "xenia"; home.username = "xenia";
home.homeDirectory = "/home/xenia"; home.homeDirectory = "/home/xenia";
home.stateVersion = "22.11"; home.stateVersion = "22.11";
home.packages = with pkgs; [home-manager sweet]; home.packages = with pkgs; [home-manager];
programs.bash.bashrcExtra = '' programs.bash.bashrcExtra = ''
source $HOME/.nix-profile/etc/profile.d/nix.sh source $HOME/.nix-profile/etc/profile.d/nix.sh
''; '';