simpify per-host home configurations

This commit is contained in:
Aly Raffauf 2024-05-21 22:28:52 -04:00
parent d08a113c68
commit 62943b1e61
6 changed files with 39 additions and 43 deletions

View file

@ -5,12 +5,8 @@
lib, lib,
... ...
}: { }: {
home-manager.users = { home-manager = {
aly = { users.aly = import ../../aly.nix;
imports = [../../aly.nix]; users.dustin = import ../../dustin.nix;
};
dustin = {
imports = [../../dustin.nix];
};
}; };
} }

View file

@ -5,7 +5,8 @@
lib, lib,
... ...
}: { }: {
home-manager.sharedModules = [ home-manager = {
sharedModules = [
{ {
imports = [../../homeManagerModules]; imports = [../../homeManagerModules];
alyraffauf.services.easyeffects = { alyraffauf.services.easyeffects = {
@ -14,7 +15,6 @@
}; };
} }
]; ];
home-manager.users.aly = { users.aly = import ../../aly.nix;
imports = [../../homeManagerModules ../../aly.nix];
}; };
} }

View file

@ -5,7 +5,8 @@
lib, lib,
... ...
}: { }: {
home-manager.sharedModules = [ home-manager = {
sharedModules = [
{ {
imports = [../../homeManagerModules]; imports = [../../homeManagerModules];
xdg.userDirs.music = "/mnt/Media/Music"; xdg.userDirs.music = "/mnt/Media/Music";
@ -13,10 +14,7 @@
alyraffauf.desktop.sway.autoSuspend = false; alyraffauf.desktop.sway.autoSuspend = false;
} }
]; ];
home-manager.users.aly = { users.aly = import ../../aly.nix;
imports = [../../aly.nix]; users.dustin = import ../../dustin.nix;
};
home-manager.users.dustin = {
imports = [../../dustin.nix];
}; };
} }

View file

@ -5,7 +5,7 @@
lib, lib,
... ...
}: { }: {
home-manager.users.aly = { home-manager = {
imports = [../../aly.nix]; users.aly = import ../../aly.nix;
}; };
} }

View file

@ -5,10 +5,14 @@
lib, lib,
... ...
}: { }: {
home-manager.users.aly = { home-manager = {
imports = [../../aly.nix]; sharedModules = [
{
alyraffauf.desktop.sway = { alyraffauf.desktop.sway = {
tabletMode.enable = true; tabletMode.enable = true;
}; };
}
];
users.aly = import ../../aly.nix;
}; };
} }

View file

@ -9,11 +9,9 @@
sharedModules = [ sharedModules = [
{ {
imports = [../../homeManagerModules]; imports = [../../homeManagerModules];
alyraffauf = { alyraffauf.services.easyeffects = {
services.easyeffects = {
enable = true; enable = true;
preset = "LoudnessEqualizer.json"; preset = "LoudnessEqualizer";
};
}; };
} }
]; ];