mirror of
https://github.com/srid/nixos-config.git
synced 2025-12-26 15:04:59 +08:00
decomplect common
This commit is contained in:
parent
5e3f4fd77d
commit
ff61cd7cc1
2 changed files with 2 additions and 7 deletions
|
|
@ -3,7 +3,6 @@
|
|||
# Configuration common to all macOS systems
|
||||
flake = {
|
||||
darwinModules = {
|
||||
common = self.nixosModules.common;
|
||||
myself = {
|
||||
home-manager.users.${config.people.myself} = { pkgs, ... }: {
|
||||
imports = [
|
||||
|
|
@ -14,9 +13,9 @@
|
|||
};
|
||||
};
|
||||
default.imports = [
|
||||
self.darwinModules.common
|
||||
self.darwinModules.home-manager
|
||||
self.darwinModules.myself
|
||||
../nixos/caches
|
||||
];
|
||||
};
|
||||
lib-darwin.mkMacosSystem = extraModules: inputs.darwin.lib.darwinSystem rec {
|
||||
|
|
|
|||
|
|
@ -3,10 +3,6 @@
|
|||
# Configuration common to all Linux systems
|
||||
flake = {
|
||||
nixosModules = {
|
||||
# These imports are platform independent.
|
||||
common.imports = [
|
||||
./caches
|
||||
];
|
||||
other-people = {
|
||||
# Temporarily sharing with Uday.
|
||||
users.users.uday.isNormalUser = true;
|
||||
|
|
@ -27,9 +23,9 @@
|
|||
};
|
||||
};
|
||||
default.imports = [
|
||||
self.nixosModules.common
|
||||
self.nixosModules.home-manager
|
||||
self.nixosModules.myself
|
||||
./caches
|
||||
./self-ide.nix
|
||||
./takemessh
|
||||
./current-location.nix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue