mirror of
https://github.com/srid/nixos-config.git
synced 2026-05-11 09:28:13 +08:00
Rename for clarity
This commit is contained in:
parent
0948ec8e49
commit
b21ada7574
2 changed files with 10 additions and 10 deletions
|
|
@ -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
|
||||
];
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue