decomplect common

This commit is contained in:
Sridhar Ratnakumar 2022-12-03 15:05:25 -05:00
parent 5e3f4fd77d
commit ff61cd7cc1
2 changed files with 2 additions and 7 deletions

View file

@ -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 {

View file

@ -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