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,
...
}: {
home-manager.users = {
aly = {
imports = [../../aly.nix];
};
dustin = {
imports = [../../dustin.nix];
};
home-manager = {
users.aly = import ../../aly.nix;
users.dustin = import ../../dustin.nix;
};
}

View file

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

View file

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

View file

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

View file

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

View file

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