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

View file

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