Sat Jun 1 05:19:39 PM CEST 2024

This commit is contained in:
Thomas Avé 2024-06-01 17:19:39 +02:00
parent fc742c24e0
commit d27d4d28fc
2 changed files with 29 additions and 10 deletions

View File

@ -18,9 +18,28 @@
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
# networking.networkmanager.enable = true; # Easiest to use and most distros use this by default. # networking.networkmanager.enable = true; # Easiest to use and most distros use this by default.
nix.settings = {
substituters = [ "https://hyprland.cachix.org" ];
trusted-public-keys = [ "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" ];
};
# System Packages # System Packages
programs.zsh.enable = true; programs.zsh.enable = true;
programs.hyprland.enable = true; programs.hyprland = {
enable = true;
package = inputs.hyprland.packages.${pkgs.system}.hyprland;
};
services.greetd = {
enable = true;
settings = rec {
initial_session = {
command = "Hyprland";
user = "user";
};
default_session = initial_session;
};
};
# Pipewire # Pipewire
security.rtkit.enable = true; security.rtkit.enable = true;

View File

@ -62,16 +62,16 @@ in
services.hyprpaper = { services.hyprpaper = {
enable = true; enable = true;
settings = { settings = {
ipc = "off"; ipc = "on";
splash = false; splash = false;
preload = preload =
[ "${./files/wallpaper.png}"]; [ "${./files/wallpaper.png}" ];
wallpaper = [ wallpaper = [
"DP-3,${./files/wallpaper.png}" "DP-3,${./files/wallpaper.png}"
"DP-2,${./files/wallpaper.png}" "DP-2,${./files/wallpaper.png}"
"HDMI-A-1,${./files/wallpaper.png}" "HDMI-A-1,${./files/wallpaper.png}"
]; ];
}; };
}; };
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {