Renamed specialisations. Started configuring hyprpaper and hyprlock

This commit is contained in:
2025-11-21 09:23:30 +01:00
parent ee522bd869
commit 27d3b1cae1
11 changed files with 140 additions and 90 deletions

View File

@ -9,19 +9,39 @@
enable = true;
xwayland.enable = true;
#settings = {
# bind = [
# "SUPER, Space, pkill rofi || rofi -show drun -modi drun,filebrowser,run,window"
# ];
#};
settings = {
# bind = [
# "SUPER, Space, pkill rofi || rofi -show drun -modi drun,filebrowser,run,window"
# ];
#So hyprland doesnt break after a rebuild...
#exec = [ "systemctl --user restart hyprland-session.target" ];
};
extraConfig = builtins.readFile ./hyprland.conf;
};
};
services = {
hyprpaper = {
enable = true;
settings = {
preload = [
"/etc/nixos/other/wallpaper2.png"
];
wallpaper = [
"eDP-1,/etc/nixos/other/wallpaper2.png"
];
};
};
};
programs = {
noctalia-shell = {
#enable = true;
systemd.enable = true;
enable = false;
systemd.enable = false;
};
hyprlock.enable = true;
};
}

View File

@ -39,6 +39,7 @@ $menu = wofi --show drun
#USE autostart.nix INSTEAD OF THIS!!!
#exec = [ "systemctl --user restart hyprland-session.target" ];
# exec-once = $terminal
# exec-once = nm-applet &
# exec-once = waybar & hyprpaper & firefox
@ -176,8 +177,8 @@ master {
# https://wiki.hyprland.org/Configuring/Variables/#misc
misc {
force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :(
force_default_wallpaper = 0 # Set to 0 or 1 to disable the anime mascot wallpapers
disable_hyprland_logo = true # If true disables the random hyprland logo / anime girl background. :(
}
@ -226,14 +227,15 @@ $mainMod = SUPER # Sets "Windows" key as main modifier
bind = $mainMod, Space, exec, pkill rofi || rofi -show drun -modi drun,filebrowser,run,window
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, Q, exec, $terminal
bind = $mainMod, Enter, exec, $terminal
bind = $mainMod, C, killactive,
bind = $mainMod, M, exit,
bind = $mainMod, E, exec, $fileManager
bind = $mainMod, V, togglefloating,
bind = $mainMod, R, exec, $menu
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle
bind = $mainMod, L, exec, hyprlock
#bind = $mainMod, M, exit,
#bind = $mainMod, E, exec, $fileManager
#bind = $mainMod, V, togglefloating,
#bind = $mainMod, R, exec, $menu
#bind = $mainMod, P, pseudo, # dwindle
#bind = $mainMod, J, togglesplit, # dwindle
# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l

View File

@ -10,19 +10,20 @@
environment.systemPackages = with pkgs;
[
(waybar.overrideAttrs (oldAttrs: {
mesonFlags = oldAttrs.mesonFlags ++ [ "-Dexperimental=true" ];
})
)
(waybar.overrideAttrs (oldAttrs: {
mesonFlags = oldAttrs.mesonFlags ++ [ "-Dexperimental=true" ];
})
)
hyprland
dunst
libnotify
hyprpaper
sway #Sway Wayland compositor
inputs.noctalia.packages.${system}.default
#inputs.noctalia.nixosModules.default
inputs.noctalia.packages.${system}.default
#kitty #Terminal (Already Included by default)
rofi-wayland #Search bar (Meta + Space)
rofi-wayland #Search bar (Meta + Space)
yazi
hyprlock
];
programs = {
@ -32,7 +33,11 @@
withUWSM = false;
};
waybar.enable = true;
hyprlock = {
enable = true;
};
#waybar.enable = true;
#rofi.enable = true;
};