home-manager: moved to shared modules for multi user configs

This commit is contained in:
Aly Raffauf 2024-05-19 12:35:15 -04:00
parent 2f1af3ef7e
commit 4f82c8c5bb
7 changed files with 26 additions and 19 deletions

View file

@ -7,10 +7,10 @@
}: {
home-manager.users = {
aly = {
imports = [../../homeManagerModules ../../aly.nix];
imports = [../../aly.nix];
};
dustin = {
imports = [../../homeManagerModules ../../dustin.nix];
imports = [../../dustin.nix];
};
};
}

View file

@ -5,12 +5,17 @@
lib,
...
}: {
home-manager.users.aly = {
imports = [../../homeManagerModules ../../aly.nix];
home-manager.sharedModules = [
{
imports = [../../homeManagerModules];
alyraffauf.desktop.sway.redShift = false;
alyraffauf.services.easyeffects = {
enable = true;
preset = "framework13";
};
}
];
home-manager.users.aly = {
imports = [../../homeManagerModules ../../aly.nix];
};
}

View file

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

View file

@ -6,6 +6,6 @@
...
}: {
home-manager.users.aly = {
imports = [../../homeManagerModules ../../aly.nix];
imports = [../../aly.nix];
};
}

View file

@ -6,7 +6,7 @@
...
}: {
home-manager.users.aly = {
imports = [../../homeManagerModules ../../aly.nix];
imports = [../../aly.nix];
alyraffauf.desktop.sway = {
tabletMode.enable = true;
};

View file

@ -6,7 +6,7 @@
...
}: {
home-manager.users.aly = {
imports = [../../homeManagerModules ../../aly.nix];
imports = [../../aly.nix];
alyraffauf = {
services.easyeffects = {
enable = true;