Merge branch 'master' of github.com:/kropatz/nix-config

This commit is contained in:
Kopatz
2025-09-12 14:24:37 +02:00
4 changed files with 18 additions and 2 deletions

View File

@@ -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

View File

@@ -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";

View File

@@ -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;

View File

@@ -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" ];