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,16 +5,16 @@
lib,
...
}: {
home-manager.sharedModules = [
{
imports = [../../homeManagerModules];
alyraffauf.services.easyeffects = {
enable = true;
preset = "framework13";
};
}
];
home-manager.users.aly = {
imports = [../../homeManagerModules ../../aly.nix];
home-manager = {
sharedModules = [
{
imports = [../../homeManagerModules];
alyraffauf.services.easyeffects = {
enable = true;
preset = "framework13";
};
}
];
users.aly = import ../../aly.nix;
};
}

View file

@ -5,18 +5,16 @@
lib,
...
}: {
home-manager.sharedModules = [
{
imports = [../../homeManagerModules];
xdg.userDirs.music = "/mnt/Media/Music";
alyraffauf.desktop.hyprland.autoSuspend = false;
alyraffauf.desktop.sway.autoSuspend = false;
}
];
home-manager.users.aly = {
imports = [../../aly.nix];
};
home-manager.users.dustin = {
imports = [../../dustin.nix];
home-manager = {
sharedModules = [
{
imports = [../../homeManagerModules];
xdg.userDirs.music = "/mnt/Media/Music";
alyraffauf.desktop.hyprland.autoSuspend = false;
alyraffauf.desktop.sway.autoSuspend = false;
}
];
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];
alyraffauf.desktop.sway = {
tabletMode.enable = true;
};
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 = {
enable = true;
preset = "LoudnessEqualizer.json";
};
alyraffauf.services.easyeffects = {
enable = true;
preset = "LoudnessEqualizer";
};
}
];