mirror of
https://github.com/srid/nixos-config.git
synced 2026-05-11 17:36:07 +08:00
expose myuser
This commit is contained in:
parent
b65c92fdbc
commit
350641dd14
2 changed files with 20 additions and 18 deletions
|
|
@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue