even more cleanup

This commit is contained in:
xunuwu 2025-01-12 16:16:47 +01:00
parent 88f9bd9dd7
commit 92679e4716
Signed by: xun
SSH key fingerprint: SHA256:Uot/1WoAjWAeqLOHA5vYy4phhVydsH7jCPmBjaPZfgI
12 changed files with 172 additions and 464 deletions

View file

@ -1,36 +0,0 @@
{
self,
inputs,
pkgs,
...
}: let
# get these into the module system
extraSpecialArgs = {inherit inputs self;};
homeImports = {
"xun@kidney" = [
../.
./kidney
{home.stateVersion = "24.05";}
];
"xun@nixdesk" = [
../.
./nixdesk
inputs.sops-nix.homeManagerModules.sops
{home.stateVersion = "23.11";}
];
};
inherit (inputs.home-manager.lib) homeManagerConfiguration;
in {
# we need to pass this to NixOS' HM module
_module.args = {inherit homeImports;};
flake = {
homeConfigurations = {
"xun@nixdesk" = homeManagerConfiguration {
modules = homeImports."xun@nixdesk";
inherit pkgs extraSpecialArgs;
};
};
};
}

View file

@ -1,10 +0,0 @@
{
imports = [
./git.nix
./github.nix
./direnv.nix
./xdg.nix
./comma.nix
./tmux.nix
];
}