even more cleanup
This commit is contained in:
parent
88f9bd9dd7
commit
92679e4716
12 changed files with 172 additions and 464 deletions
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -1,10 +0,0 @@
|
|||
{
|
||||
imports = [
|
||||
./git.nix
|
||||
./github.nix
|
||||
./direnv.nix
|
||||
./xdg.nix
|
||||
./comma.nix
|
||||
./tmux.nix
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue