From 03a4cc572af7c582171d132a220221c2441b1c0a Mon Sep 17 00:00:00 2001 From: th3r00t Date: Mon, 8 Sep 2025 11:57:13 -0400 Subject: [PATCH] Latest Updates --- flake.lock | 8 ++++---- home-xps13.nix | 6 +++++- modules/configuration-common.nix | 1 + modules/configuration-xps13.nix | 6 +++--- modules/hyprland.nix | 12 +++++++++++- modules/services.nix | 10 ++++++++++ 6 files changed, 34 insertions(+), 9 deletions(-) create mode 100644 modules/services.nix diff --git a/flake.lock b/flake.lock index 203f5da..1c80221 100644 --- a/flake.lock +++ b/flake.lock @@ -182,11 +182,11 @@ "neovim-config": { "flake": false, "locked": { - "lastModified": 1757104099, - "narHash": "sha256-WEGbE3KUM/DlHdPRd8RCAGkMyUuDGdhuR98TBapSgYg=", + "lastModified": 1757304493, + "narHash": "sha256-SjqJ1J/wXhWdbw21zrp4+xw6+ybypKL7LF/Zr6jEsSg=", "ref": "master", - "rev": "4ae2d233c27e26b9f8470c953021fbf834cad943", - "revCount": 8, + "rev": "bbde81753f12c0640cae09b91fb90dd3c3be526a", + "revCount": 14, "type": "git", "url": "https://git.th3r00t.net/th3r00t/nvim-config.git" }, diff --git a/home-xps13.nix b/home-xps13.nix index fbdaf13..424490a 100644 --- a/home-xps13.nix +++ b/home-xps13.nix @@ -97,10 +97,14 @@ # wineWowPackages.staging wineWowPackages.waylandFull winetricks - logmein-hamachi openmw virt-viewer kitty + galaxy-buds-client + hyprshot + nim + nimlangserver + nimble ]; services.udiskie = { enable = false; diff --git a/modules/configuration-common.nix b/modules/configuration-common.nix index 08b23f4..9d24fa6 100644 --- a/modules/configuration-common.nix +++ b/modules/configuration-common.nix @@ -5,6 +5,7 @@ [ ./shares.nix ./sops.nix + ./services.nix ]; nix.settings.experimental-features = [ "nix-command" "flakes" ]; diff --git a/modules/configuration-xps13.nix b/modules/configuration-xps13.nix index cbf27a5..c975329 100644 --- a/modules/configuration-xps13.nix +++ b/modules/configuration-xps13.nix @@ -95,12 +95,12 @@ printing.enable = true; pulseaudio.enable = false; libinput.enable = true; - logmein-hamachi.enable = true; + # logmein-hamachi.enable = true; }; # Open ports in the firewall. - networking.firewall.allowedTCPPorts = [ 21 22 80 443 5900 8080 12121 12122 ]; - networking.firewall.allowedUDPPorts = [ 21 22 80 443 5900 8080 12121 12122 ]; + networking.firewall.allowedTCPPorts = [ 21 22 80 443 5900 8080 12121 12122 61208 ]; + networking.firewall.allowedUDPPorts = [ 21 22 80 443 5900 8080 12121 12122 61208 ]; # networking.firewall.enable = false; # This value determines the NixOS release from which the default diff --git a/modules/hyprland.nix b/modules/hyprland.nix index 391cd8e..531208d 100644 --- a/modules/hyprland.nix +++ b/modules/hyprland.nix @@ -78,6 +78,7 @@ $manpages = footclient -T capture -e pytui -m $sysmon = footclient -T system-monitor -e bashtop $editor = neovide + $screenshot = hyprshot -f ~/Pictures/Screenshots/%Y-%m-%d-%H%M%S.png bind = $mainMod SHIFT, M, exec, hyprvirtmon.py bind = $mainMod SHIFT, Return, exec, $terminal @@ -98,6 +99,14 @@ bind = $mainMod, Y, fullscreen, 1 bind = $mainMod, T, togglegroup + + # Screenshot a window + bind = $mainMod, PRINT, exec, hyprshot -m window + # Screenshot a monitor + # bind = , PRINT, exec, hyprshot -m output + # Screenshot a region + bind = $shiftMod, PRINT, exec, hyprshot -m region + # Move focus with mainMod + arrow keys bind = $mainMod, left, movefocus, l bind = $mainMod, right, movefocus, r @@ -236,7 +245,8 @@ "/etc/nixos/home/Wallpapers/star-wars-movie-shadow-stormtrooper-wallpaper-3440x1440_15.jpg" ]; wallpaper = [ - ",/etc/nixos/home/Wallpapers/starwars-minimal-battle-wallpaper.jpg" + # ",/etc/nixos/home/Wallpapers/starwars-minimal-battle-wallpaper.jpg" + ",/etc/nixos/home/Wallpapers/kylo-ren-dark-wallpaper.jpg" ]; }; }; diff --git a/modules/services.nix b/modules/services.nix new file mode 100644 index 0000000..ef65a08 --- /dev/null +++ b/modules/services.nix @@ -0,0 +1,10 @@ +{ config, pkgs, ... }: +{ + services = { + glances = { + enable = true; + port = 61208; + extraArgs = "--webserver"; + }; + }; +}