Rename for clarity

This commit is contained in:
Sridhar Ratnakumar 2023-04-27 09:31:29 -04:00
parent 0948ec8e49
commit b21ada7574
2 changed files with 10 additions and 10 deletions

View file

@ -3,7 +3,7 @@
# Configuration common to all macOS systems
flake = {
darwinModules = {
myself = {
my-home = {
home-manager.users.${config.people.myself} = { pkgs, ... }: {
imports = [
self.homeModules.common-darwin
@ -13,7 +13,7 @@
default.imports = [
self.darwinModules.home-manager
self.darwinModules.myself
self.darwinModules.my-home
self.nixosModules.common
];
};

View file

@ -4,7 +4,13 @@
# Configuration common to all Linux systems
flake = {
nixosModules = {
myself = {
# Common to all platforms
common.imports = [
./nix.nix
./caches
];
my-home = {
users.users.${config.people.myself}.isNormalUser = true;
home-manager.users.${config.people.myself} = {
imports = [
@ -13,15 +19,9 @@
};
};
# Common to all platforms
common.imports = [
./nix.nix
./caches
];
default.imports = [
self.nixosModules.home-manager
self.nixosModules.myself
self.nixosModules.my-home
self.nixosModules.common
./self-ide.nix
./ssh-authorize.nix