expose myuser

This commit is contained in:
Sridhar Ratnakumar 2022-12-03 14:53:18 -05:00
parent b65c92fdbc
commit 350641dd14
2 changed files with 20 additions and 18 deletions

View file

@ -16,9 +16,19 @@
};
})
];
myself = {
home-manager.users.${config.people.myself} = { pkgs, ... }: {
imports = [
self.homeModules.common-darwin
../home/shellcommon.nix
../home/git.nix
];
};
};
default.imports = [
self.darwinModules.common
self.darwinModules.home
self.darwinModules.myself
];
};
lib-darwin.mkMacosSystem = inputs.darwin.lib.darwinSystem rec {
@ -30,15 +40,6 @@
modules = [
self.darwinModules.default
../systems/darwin.nix
{
home-manager.users.${config.people.myself} = { pkgs, ... }: {
imports = [
self.homeModules.common-darwin
../home/shellcommon.nix
../home/git.nix
];
};
}
];
};
};

View file

@ -31,9 +31,19 @@
};
}
];
myself = {
home-manager.users.${config.people.myself} = { pkgs, ... }: {
imports = [
self.homeModules.common-linux
../home/shellcommon.nix
../home/git.nix
];
};
};
default.imports = [
self.nixosModules.common
self.nixosModules.home
self.nixosModules.myself
./self-ide.nix
./takemessh
./current-location.nix
@ -46,15 +56,6 @@
specialArgs = { inherit system inputs; };
modules = [
self.nixosModules.default
{
home-manager.users.${config.people.myself} = { pkgs, ... }: {
imports = [
self.homeModules.common-linux
../home/shellcommon.nix
../home/git.nix
];
};
}
] ++ extraModules;
};
};