From 1339fe6e58d0ed35e607b5c0ba45063520ce4b13 Mon Sep 17 00:00:00 2001 From: Pedro Rey Anca Date: Mon, 9 Jun 2025 11:59:33 +0200 Subject: [PATCH 1/4] Add useful network tools --- modules/core/network.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/core/network.nix b/modules/core/network.nix index 8f7d819..6e06a4d 100644 --- a/modules/core/network.nix +++ b/modules/core/network.nix @@ -18,5 +18,10 @@ environment.systemPackages = with pkgs; [ networkmanagerapplet + + wireguard-tools + + openconnect + networkmanager-openconnect ]; } From 7b01c5444adecf6008a9582d5adefa06ac2b24cb Mon Sep 17 00:00:00 2001 From: Pedro Rey Anca Date: Mon, 9 Jun 2025 12:00:08 +0200 Subject: [PATCH 2/4] New monitor for frues-pc --- hosts/frues-pc/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hosts/frues-pc/default.nix b/hosts/frues-pc/default.nix index 63e548c..9197a0e 100644 --- a/hosts/frues-pc/default.nix +++ b/hosts/frues-pc/default.nix @@ -32,8 +32,9 @@ }; home-manager.users.${username}.wayland.windowManager.hyprland.settings.monitor = [ - "HDMI-A-1, 1920x1080@75, 0x0, 1" + "DP-2, 1920x1080@60, 0x0, 1" "DP-1, 2560x1440@165, 1920x0, 1.333333" +"HDMI-A-1, 1920x1080@75, 3840x0, 1" ]; services.sshd.enable = true; From caa0ae4fe2a3c03e098d082c0f719ea647412c63 Mon Sep 17 00:00:00 2001 From: Pedro Rey Anca Date: Mon, 9 Jun 2025 12:00:31 +0200 Subject: [PATCH 3/4] Add some AMD GPU stuff --- hosts/frues-pc/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hosts/frues-pc/default.nix b/hosts/frues-pc/default.nix index 9197a0e..04af35d 100644 --- a/hosts/frues-pc/default.nix +++ b/hosts/frues-pc/default.nix @@ -16,12 +16,15 @@ boot.loader.efi.efiSysMountPoint = "/boot/efi"; +# https://nixos.wiki/wiki/AMD_GPU boot.initrd.kernelModules = ["amdgpu"]; services.xserver.videoDrivers = ["amdgpu"]; hardware.graphics.extraPackages = with pkgs; [ rocmPackages.clr.icd amdvlk +driversi686Linux.amdvlk ]; +hardware.graphics.enable32Bit = true; # For 32 bit applications # It is an open-source implementation of Nvidia’s Moonlight game streaming application services.sunshine = { From f173a43c728dadd5ed5d55090e9f37ed62cb6cbd Mon Sep 17 00:00:00 2001 From: Pedro Rey Anca Date: Mon, 9 Jun 2025 12:01:18 +0200 Subject: [PATCH 4/4] Configure nemo in separate file --- modules/home/default.nix | 1 + modules/home/kitty.nix | 6 ------ modules/home/nemo.nix | 13 +++++++++++++ modules/home/packages.nix | 1 - 4 files changed, 14 insertions(+), 7 deletions(-) create mode 100644 modules/home/nemo.nix diff --git a/modules/home/default.nix b/modules/home/default.nix index c5a7bdb..f14fe4d 100644 --- a/modules/home/default.nix +++ b/modules/home/default.nix @@ -20,6 +20,7 @@ ++ [(import ./kdeconnect.nix)] ++ [(import ./kitty.nix)] # terminal ++ [(import ./swaync)] # notification deamon +++ [(import ./nemo.nix)] # File manager ++ [(import ./nextcloud.nix)] # nextcloud client ++ [(import ./nvim.nix)] # neovim editor ++ [(import ./packages.nix)] # other packages diff --git a/modules/home/kitty.nix b/modules/home/kitty.nix index ed26632..b45cdec 100644 --- a/modules/home/kitty.nix +++ b/modules/home/kitty.nix @@ -1,10 +1,4 @@ {pkgs, ...}: { - dconf.settings = { - "org/cinnamon/desktop/applications/terminal" = { - exec = "kitty"; - }; - }; - programs.kitty = { enable = true; diff --git a/modules/home/nemo.nix b/modules/home/nemo.nix new file mode 100644 index 0000000..3ac8091 --- /dev/null +++ b/modules/home/nemo.nix @@ -0,0 +1,13 @@ +{pkgs, ...}: { + home.packages = with pkgs; [nemo-with-extensions]; + + xdg.mimeApps.defaultApplications = { + "inode/directory" = ["nemo.desktop"]; + "application/x-gnome-saved-search" = ["nemo.desktop"]; + }; + dconf.settings = { + "org/cinnamon/desktop/applications/terminal" = { + exec = "kitty"; + }; + }; +} diff --git a/modules/home/packages.nix b/modules/home/packages.nix index b798833..3806152 100644 --- a/modules/home/packages.nix +++ b/modules/home/packages.nix @@ -37,7 +37,6 @@ inkscape kdePackages.kleopatra # Gpg GUI lazygit - nemo-with-extensions # file manager jq nitch # systhem fetch util nix-prefetch-github