diff --git a/flake.nix b/flake.nix index d55a344..801b1c9 100644 --- a/flake.nix +++ b/flake.nix @@ -71,6 +71,7 @@ ./modules/invidious.nix ./modules/step-ca.nix ./modules/tmpfs.nix + ./modules/logging.nix ### Hardware ### ./modules/hardware/ssd.nix home-manager.nixosModules.home-manager @@ -145,6 +146,7 @@ ./laptop/configuration.nix ./modules/cli-tools.nix ./modules/virt-manager.nix + ./modules/vmware-host.nix ./modules/ssh.nix #./modules/static-ip.nix #./modules/no-sleep-lid-closed.nix diff --git a/modules/graphical/hyprland.nix b/modules/graphical/hyprland.nix index 268acd6..1f1cb3d 100644 --- a/modules/graphical/hyprland.nix +++ b/modules/graphical/hyprland.nix @@ -292,25 +292,25 @@ in submap = notes # below - bind = $mainMod, B, exec, ${wl-paste} | grep -B 15 -i -f - ~/Nextcloud/old_gdrive/fh/risikomanagement/crisam.txt | sed 's/[ \t]*$//' | ${wl-copy} + bind = $mainMod, B, exec, ${wl-paste} | grep -B 15 -i -f - ~/Nextcloud/test.txt | sed 's/[ \t]*$//' | ${wl-copy} # above - bind = $mainMod, A, exec, ${wl-paste} | grep -A 15 -i -f - ~/Nextcloud/old_gdrive/fh/risikomanagement/crisam.txt | sed 's/[ \t]*$//' | ${wl-copy} + bind = $mainMod, A, exec, ${wl-paste} | grep -A 15 -i -f - ~/Nextcloud/test.txt | sed 's/[ \t]*$//' | ${wl-copy} # context - bind = $mainMod, C, exec, ${wl-paste} | grep -C 15 -i -f - ~/Nextcloud/old_gdrive/fh/risikomanagement/crisam.txt | sed 's/[ \t]*$//' | ${wl-copy} + bind = $mainMod, C, exec, ${wl-paste} | grep -C 15 -i -f - ~/Nextcloud/test.txt | sed 's/[ \t]*$//' | ${wl-copy} # trim bind = $mainMod, T, exec, ${wl-paste} | sed 's/[ \t]*$//' | sed 's/^[ \t]*//' | ${wl-copy} bind = $mainMod, N, exec, ${dunstify} "$(${wl-paste})" bind = $mainMod, D, exec, ${dunstctl} close-all # notes - bind = $mainMod, 1, exec, cat ~/Nextcloud/old_gdrive/fh/risikomanagement/1.txt | ${wl-copy} - bind = $mainMod, 2, exec, cat ~/Nextcloud/old_gdrive/fh/risikomanagement/2.txt | ${wl-copy} - bind = $mainMod, 3, exec, cat ~/Nextcloud/old_gdrive/fh/risikomanagement/3.txt | ${wl-copy} - bind = $mainMod, 4, exec, cat ~/Nextcloud/old_gdrive/fh/risikomanagement/4.txt | ${wl-copy} - bind = $mainMod, 5, exec, cat ~/Nextcloud/old_gdrive/fh/risikomanagement/5.txt | ${wl-copy} - bind = $mainMod, 6, exec, cat ~/Nextcloud/old_gdrive/fh/risikomanagement/6.txt | ${wl-copy} - bind = $mainMod, 7, exec, cat ~/Nextcloud/old_gdrive/fh/risikomanagement/7.txt | ${wl-copy} - bind = $mainMod, 8, exec, cat ~/Nextcloud/old_gdrive/fh/risikomanagement/8.txt | ${wl-copy} - bind = $mainMod, 0, exec, cat ~/Nextcloud/old_gdrive/fh/risikomanagement/0.txt | ${wl-copy} + bind = $mainMod, 1, exec, cat ~/Nextcloud/test.txt | ${wl-copy} + bind = $mainMod, 2, exec, cat ~/Nextcloud/test.txt | ${wl-copy} + bind = $mainMod, 3, exec, cat ~/Nextcloud/test.txt | ${wl-copy} + bind = $mainMod, 4, exec, cat ~/Nextcloud/test.txt | ${wl-copy} + bind = $mainMod, 5, exec, cat ~/Nextcloud/test.txt | ${wl-copy} + bind = $mainMod, 6, exec, cat ~/Nextcloud/test.txt | ${wl-copy} + bind = $mainMod, 7, exec, cat ~/Nextcloud/test.txt | ${wl-copy} + bind = $mainMod, 8, exec, cat ~/Nextcloud/test.txt | ${wl-copy} + bind = $mainMod, 0, exec, cat ~/Nextcloud/test.txt | ${wl-copy} bind = , escape, submap, reset submap = reset @@ -322,8 +322,8 @@ in global = { width = "(0,1000)"; height = "1000"; - offset = "10x50"; - origin = "top-right"; + offset = "0x0"; + origin = "bottom-center"; transparency = -1; frame_color = "#1a1c1b"; font = "Monospace 8"; diff --git a/modules/graphical/shared.nix b/modules/graphical/shared.nix index 6ef0828..aebfc9d 100644 --- a/modules/graphical/shared.nix +++ b/modules/graphical/shared.nix @@ -22,7 +22,7 @@ in ]; networking.firewall = { - enable = true; + enable = false; allowedTCPPortRanges = [ { from = 1714; to = 1764; } # KDE Connect ]; diff --git a/modules/logging.nix b/modules/logging.nix new file mode 100644 index 0000000..fff02f6 --- /dev/null +++ b/modules/logging.nix @@ -0,0 +1,3 @@ +{ + services.journald.extraConfig = "SystemMaxUse=4G"; +} diff --git a/modules/vmware-host.nix b/modules/vmware-host.nix new file mode 100644 index 0000000..ed881ea --- /dev/null +++ b/modules/vmware-host.nix @@ -0,0 +1,3 @@ +{ + virtualisation.vmware.host.enable = true; +}