M hosts/alice/default.nix => hosts/alice/default.nix +4 -1
@@ 3,6 3,10 @@
pkgs,
...
}: {
+ imports = [
+ ./hyprland.nix
+ ];
+
sops.secrets.rootPwd.neededForUsers = true;
sops.secrets.skyePwd.neededForUsers = true;
@@ 65,7 69,6 @@
enable = true;
nvidia.enable = true;
};
- roles.plasma.enable = true;
roles.gaming = {
enable = true;
A hosts/alice/hyprland.nix => hosts/alice/hyprland.nix +28 -0
@@ 0,0 1,28 @@
+{
+ roles.hyprland.enable = true;
+
+ hm = {
+ wayland.windowManager.hyprland.settings = {
+ monitor = [
+ "DP-2,3840x2160@60,0x0,1"
+ "DP-1,2560x1440@59,3840x0,1"
+ "HDMI-A-1,1920x1080@60,6400x0,1,transform,1"
+ ];
+ };
+
+ programs.wpaperd.settings = {
+ DP-2 = {
+ path = "/home/skye/Nextcloud/Wallpapers/forest";
+ duration = "15m";
+ };
+ DP-1 = {
+ path = "/home/skye/Nextcloud/Wallpapers/minimalgals";
+ duration = "15m";
+ };
+ HDMI-A-1 = {
+ path = "/home/skye/Nextcloud/Wallpapers/sailormoonmobile";
+ duration = "15m";
+ };
+ };
+ };
+}
M hosts/arwen/default.nix => hosts/arwen/default.nix +4 -1
@@ 1,4 1,8 @@
{config, ...}: {
+ imports = [
+ ./hyprland.nix
+ ];
+
sops.secrets.rootPwd.neededForUsers = true;
sops.secrets.skyePwd.neededForUsers = true;
@@ 49,7 53,6 @@
enable = true;
amd.enable = true;
};
- roles.hyprland.enable = true;
roles.gaming = {
enable = true;
A hosts/arwen/hyprland.nix => hosts/arwen/hyprland.nix +18 -0
@@ 0,0 1,18 @@
+{
+ roles.hyprland.enable = true;
+
+ hm = {
+ wayland.windowManager.hyprland.settings = {
+ monitor = [
+ "eDP-1,1920x1080@60,0x0,1"
+ ];
+ };
+
+ programs.wpaperd.settings = {
+ eDP-1 = {
+ path = "/home/skye/wallpapers/middleearth";
+ duration = "5m";
+ };
+ };
+ };
+}
M roles/hyprland.nix => roles/hyprland.nix +20 -15
@@ 15,16 15,15 @@ in {
programs.hyprland.enable = true;
+ security.pam.services.hyprlock = {};
+
hm = {
wayland.windowManager.hyprland = {
enable = true;
+ # NOTE: These are just the default settings.
settings = {
- monitor = [
- "eDP-1,1920x1080@60,0x0,1"
- ];
-
exec-once = [
- "wpaperd"
+ "wpaperd -d"
];
general = {
@@ 66,6 65,8 @@ in {
"$mod SHIFT, return, exec, bemenu-run"
"$mod SHIFT, x, exec, hyprlock"
+ "$mod, w, exec, wpaperctl next"
+
"$mod SHIFT, c, killactive"
"$mod SHIFT, q, exit"
@@ 122,23 123,27 @@ in {
programs.hyprlock = {
enable = true;
settings = {
+ general = {
+ no_fade_in = true;
+ no_fade_out = true;
+ };
background = [
{
- path = "/home/skye/dev/femboys.png";
+ #path = "/home/skye/dev/femboys.png";
+ color = "rgba(255, 255, 255, 1.0)";
+ }
+ ];
+ input-field = [
+ {
+ monitor = "";
+ size = "200, 50";
+ position = "0, 0";
}
];
};
};
- programs.wpaperd = {
- enable = true;
- settings = {
- eDP-1 = {
- path = "/home/skye/wallpapers/middleearth";
- duration = "5m";
- };
- };
- };
+ programs.wpaperd.enable = true;
};
};
}