working home manager switch without --impure

This commit is contained in:
John Lancaster
2026-03-08 12:31:03 -05:00
parent c45a48039e
commit e25f7420ff
9 changed files with 109 additions and 92 deletions

View File

@@ -1,25 +1,11 @@
# This module is for programs with GUIs that run in a desktop environment
{ inputs, ... }:
{
flake.homeModules.desktop =
{ pkgs, ... } :
{
xdg.enable = true;
imports = with inputs.self.homeModules; [
rebuild
john
ssh
git
shell
onepassword
ghostty
sops
];
};
flake.homeConfigurations.desktop = inputs.home-manager.lib.homeManagerConfiguration {
pkgs = import inputs.nixpkgs { system = "x86_64-linux"; };
modules = with inputs.self.homeModules; [
desktop
];
};
}

View File

@@ -0,0 +1,23 @@
{ inputs, ... }:
{
flake.homeModules.shell-tools = { pkgs, ... }: {
imports = with inputs.self.homeModules; [
shell # Includes option to select between zsh and bash
# Tools
eza
files
];
home.packages = with pkgs; [
wget
curl
cacert
busybox
gnugrep
dig
btop
uv
xclip
];
};
}