From 25ae736305ad0d5362639151bfe9fd13ab9875b7 Mon Sep 17 00:00:00 2001 From: Kopatz <7265381+Kropatz@users.noreply.github.com> Date: Thu, 11 Sep 2025 18:10:48 +0200 Subject: [PATCH 1/2] plymouth --- modules/graphical/stylix.nix | 1 + systems/laptop/configuration.nix | 13 +++++++++++++ 2 files changed, 14 insertions(+) diff --git a/modules/graphical/stylix.nix b/modules/graphical/stylix.nix index 185fffd..e74e333 100644 --- a/modules/graphical/stylix.nix +++ b/modules/graphical/stylix.nix @@ -70,6 +70,7 @@ in { #targets.hyprland.enable = false; does not exist in the MR version yet targets = { grub.enable = false; + plymouth.enable = false; }; fonts = { serif = config.stylix.fonts.sansSerif; diff --git a/systems/laptop/configuration.nix b/systems/laptop/configuration.nix index d04a249..375e55a 100644 --- a/systems/laptop/configuration.nix +++ b/systems/laptop/configuration.nix @@ -4,6 +4,7 @@ # Include the results of the hardware scan. ./hardware-configuration.nix ./modules/battery.nix + ../../modules/misc/faster-boot-time.nix ../../modules/ecryptfs.nix #../../modules/fh/scanning.nix ../../modules/support/ntfs.nix @@ -90,6 +91,18 @@ services.blueman.enable = true; hardware.bluetooth.enable = true; # enables support for Bluetooth hardware.bluetooth.powerOnBoot = false; # powers up the default Bluetooth controller on boot + boot = { + consoleLogLevel = 3; + initrd.verbose = false; + plymouth.enable = true; + kernelParams = [ + "quiet" + "splash" + "boot.shell_on_fail" + "udev.log_priority=3" + "rd.systemd.show_status=auto" + ]; + }; age.identityPaths = [ "/home/kopatz/.ssh/id_ed25519" "/etc/ssh/ssh_host_ed25519_key" ]; From 9a8cd3853aec27f6e5d776787afdca166934d3ae Mon Sep 17 00:00:00 2001 From: Kopatz <7265381+Kropatz@users.noreply.github.com> Date: Fri, 12 Sep 2025 11:30:03 +0200 Subject: [PATCH 2/2] enable clipboardevent in firefox and copy to clipboard --- home-manager/firefox/config/privacy.nix | 3 ++- home-manager/hyprland/hyprland-settings.nix | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/home-manager/firefox/config/privacy.nix b/home-manager/firefox/config/privacy.nix index f3c3474..990ed8b 100644 --- a/home-manager/firefox/config/privacy.nix +++ b/home-manager/firefox/config/privacy.nix @@ -78,7 +78,8 @@ # Disable the clipboardevents. # Disable that websites can get notifications if you copy, paste, or cut something # from a web page, and it lets them know which part of the page had been selected. - "dom.event.clipboardevents.enabled" = false; + #"dom.event.clipboardevents.enabled" = false; + "dom.event.clipboardevents.enabled" = true; # Disable Search Suggestions # Firefox suggests search terms in the search field. This will send everything # typed or pasted in the search field to the chosen search engine, even when you diff --git a/home-manager/hyprland/hyprland-settings.nix b/home-manager/hyprland/hyprland-settings.nix index 1ed7ceb..2eff41d 100644 --- a/home-manager/hyprland/hyprland-settings.nix +++ b/home-manager/hyprland/hyprland-settings.nix @@ -201,7 +201,8 @@ in wl-copy = "${pkgs.wl-clipboard}/bin/wl-copy"; wl-paste = "${pkgs.wl-clipboard}/bin/wl-paste"; grimblast = "${pkgs.grimblast}/bin/grimblast"; - saved-screenshot-cmd = ''${grimblast} --freeze save area $OUT && notify-send "Saved screenshot to $OUT" -h string:image-path:$OUT''; + saved-screenshot-cmd = ''${grimblast} --freeze save area $OUT && notify-send "Saved screenshot to $OUT" -h string:image-path:$OUT && echo "file://$(realpath $OUT)" | wl-copy -t text/uri-list +''; pdfgrep = "${pkgs.pdfgrep}/bin/pdfgrep"; brightnessctl = "${pkgs.brightnessctl}/bin/brightnessctl"; #swaylock = "${pkgs.swaylock}/bin/swaylock";