diff --git a/nixos/desktop/hyprland/hyprland.nix b/nixos/desktop/hyprland/hyprland.nix index b0e3a04..9837c5b 100644 --- a/nixos/desktop/hyprland/hyprland.nix +++ b/nixos/desktop/hyprland/hyprland.nix @@ -21,6 +21,9 @@ rofi.enable = lib.mkDefault true; wlogout.enable = lib.mkDefault true; + xdg.portal.enable = true; + xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ]; + services.network-manager-applet.enable = true; services.dunst.enable = true; @@ -112,8 +115,8 @@ exec-once = [ "discord --start-minimized" "vesktop --start-minimized" - "ferdium --minimized" - "kdeconnect-indicator" + "${pkgs.ferdium}/bin/ferdium --minimized" + "${pkgs.plasma5Packages.kdeconnect-kde}/bin/kdeconnect-indicator" #"swww-daemon --format xrgb" #"swww ../../aurora_borealis.png" "hypridle" @@ -139,7 +142,7 @@ "$term" = "${pkgs.kitty}/bin/kitty"; "$editor" = "${pkgs.vscode}/bin/code"; "$file" = "dolphin"; - "$browser" = "librewolf"; + "$browser" = "${pkgs.librewolf}/bin/librewolf"; animations = { "enabled" = "yes"; diff --git a/nixos/packages/applications.nix b/nixos/packages/applications.nix index 39d66bb..97b9b79 100644 --- a/nixos/packages/applications.nix +++ b/nixos/packages/applications.nix @@ -30,11 +30,13 @@ spotify spotube inkscape + gnome-disk-utility ]) ++ (with pkgs-stable; [ loupe simple-scan vesktop + evince ]); }; } diff --git a/nixos/packages/hacking/hacking.nix b/nixos/packages/hacking/hacking.nix index eaabcfc..8250566 100644 --- a/nixos/packages/hacking/hacking.nix +++ b/nixos/packages/hacking/hacking.nix @@ -16,6 +16,9 @@ nmap netcat-openbsd bettercap + hashcat + tcpdump + sqlmap ]; }; } diff --git a/nixos/packages/programming/code.nix b/nixos/packages/programming/code.nix index 6716cf1..8c3da41 100644 --- a/nixos/packages/programming/code.nix +++ b/nixos/packages/programming/code.nix @@ -12,8 +12,15 @@ home.packages = with pkgs; [ vscode python3 + gopls ]; + home.sessionVariables = { + GOOS = "linux"; + GOARCH = "amd64"; + GOPATH = "$HOME/.local/share/go"; + }; + programs.vscode = { enable = true; @@ -46,6 +53,10 @@ "editor.defaultFormatter" = "esbenp.prettier-vscode"; }; "python.defaultInterpreterPath" = "${pkgs.python3}"; + "go.alternateTools" = { + "go-langserver" = "${pkgs.gopls}/bin/gopls"; + }; + "gopls" = {"ui.diagnostic.staticcheck" = true;}; "nix.serverPath" = "nixd"; "nix.enableLanguageServer" = true; "nix.serverSettings" = {