hosts: explicitly declare home manager configs

This commit is contained in:
Aly Raffauf 2024-09-27 23:07:11 -04:00
parent 1ab96b8316
commit 1d36df0519
5 changed files with 161 additions and 134 deletions

View file

@ -1,5 +1,6 @@
{ {self, ...}: {
home-manager.sharedModules = [ home-manager = {
sharedModules = [
{ {
services.easyeffects = { services.easyeffects = {
enable = true; enable = true;
@ -10,4 +11,10 @@
ar.home.desktop.hyprland.laptopMonitors = ["desc:BOE 0x095F,preferred,auto,1.566667"]; ar.home.desktop.hyprland.laptopMonitors = ["desc:BOE 0x095F,preferred,auto,1.566667"];
} }
]; ];
users = {
aly = self.homeManagerModules.aly;
dustin = self.homeManagerModules.dustin;
};
};
} }

View file

@ -1,5 +1,10 @@
{lib, ...}: { {
home-manager.sharedModules = [ lib,
self,
...
}: {
home-manager = {
sharedModules = [
{ {
wayland.windowManager.sway.config.output = { wayland.windowManager.sway.config.output = {
"eDP-1" = { "eDP-1" = {
@ -22,4 +27,7 @@
}; };
} }
]; ];
users.aly = self.homeManagerModules.aly;
};
} }

View file

@ -33,7 +33,8 @@
} }
]; ];
users.aly = lib.mkForce ({config, ...}: { users = {
aly = {config, ...}: {
imports = [self.homeManagerModules.aly]; imports = [self.homeManagerModules.aly];
age.secrets = { age.secrets = {
@ -96,6 +97,9 @@
orientation = "center"; orientation = "center";
}; };
}; };
}); };
dustin = self.homeManagerModules.dustin;
};
}; };
} }

View file

@ -4,7 +4,8 @@
self, self,
... ...
}: { }: {
home-manager.sharedModules = [ home-manager = {
sharedModules = [
{ {
wayland.windowManager = { wayland.windowManager = {
hyprland.settings = { hyprland.settings = {
@ -51,4 +52,7 @@
}; };
} }
]; ];
users.aly = self.homeManagerModules.aly;
};
} }

View file

@ -1,5 +1,6 @@
{ {self, ...}: {
home-manager.sharedModules = [ home-manager = {
sharedModules = [
{ {
wayland.windowManager.sway.config.output = {"LG Display 0x0569 Unknown".scale = "1.25";}; wayland.windowManager.sway.config.output = {"LG Display 0x0569 Unknown".scale = "1.25";};
@ -13,4 +14,7 @@
}; };
} }
]; ];
users.aly = self.homeManagerModules.aly;
};
} }