Skip to content

Commit

Permalink
refactor: simplify home-manger setup
Browse files Browse the repository at this point in the history
  • Loading branch information
isabelroses committed Jan 1, 2025
1 parent ede4b3b commit 059d18d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 19 deletions.
6 changes: 3 additions & 3 deletions home/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
...
}:
let
inherit (lib.modules) mkForce mkDefault;
inherit (lib.modules) mkDefault;
inherit (lib.attrsets) genAttrs;
inherit (config.garden.programs) defaults;
in
Expand All @@ -34,9 +34,9 @@ in

# we should define grauntied common modules here
sharedModules = [
{
nix.package = mkForce config.nix.package;
inputs.beapkgs.homeManagerModules.default

{
home.stateVersion =
if pkgs.stdenv.hostPlatform.isDarwin then "23.11" else config.system.stateVersion;

Expand Down
8 changes: 0 additions & 8 deletions home/isabel/default.nix
Original file line number Diff line number Diff line change
@@ -1,16 +1,8 @@
{ inputs, osConfig, ... }:
{
imports = [
inputs.beapkgs.homeManagerModules.default

./system # important system environment config
./packages # programs & their configurations, e.g. GUI apps
./services # system services, organized by display protocol
./themes # Application themeing
];

config.home = {
username = "isabel";
homeDirectory = osConfig.users.users.isabel.home;
};
}
8 changes: 0 additions & 8 deletions home/robin/default.nix
Original file line number Diff line number Diff line change
@@ -1,16 +1,8 @@
{ inputs, osConfig, ... }:
{
imports = [
inputs.beapkgs.homeManagerModules.default

./system # important system environment config
./packages # programs & their configurations, e.g. GUI apps
./services # system services, organized by display protocol
./themes # Application themeing
];

config.home = {
username = "robin";
homeDirectory = osConfig.users.users.robin.home;
};
}

0 comments on commit 059d18d

Please sign in to comment.