Skip to content

Commit

Permalink
my-home is not used outside the file; remove
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Sep 28, 2024
1 parent f758380 commit d88e133
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 19 deletions.
16 changes: 7 additions & 9 deletions nix-darwin/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,14 @@
# Configuration common to all macOS systems
flake = {
darwinModules = {
my-home = {
home-manager.users.${config.people.myself} = {
imports = [
self.homeModules.common-darwin
];
};
};

default.imports = [
self.darwinModules.my-home
{
home-manager.users.${config.people.myself} = {
imports = [
self.homeModules.common-darwin
];
};
}
self.nixosModules.common
inputs.ragenix.darwinModules.default
inputs.github-nix-ci.darwinModules.default
Expand Down
19 changes: 9 additions & 10 deletions nixos/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,22 @@
flake = {
nixosModules = {
# NixOS modules that are known to work on nix-darwin.
# Thsi is shared with nix-darwin/default.nix
common.imports = [
./nix.nix
./caches
./self/primary-as-admin.nix
];

my-home = {
users.users.${config.people.myself}.isNormalUser = true;
home-manager.users.${config.people.myself} = {
imports = [
self.homeModules.common-linux
];
};
};

default.imports = [
self.nixosModules.my-home
{
users.users.${config.people.myself}.isNormalUser = true;
home-manager.users.${config.people.myself} = {
imports = [
self.homeModules.common-linux
];
};
}
self.nixosModules.common
inputs.ragenix.nixosModules.default
inputs.github-nix-ci.nixosModules.default
Expand Down

0 comments on commit d88e133

Please sign in to comment.