From b356c5d6253f68509ccf377b3ea3283d8ea779a6 Mon Sep 17 00:00:00 2001 From: Pedro Rey Anca Date: Wed, 16 Apr 2025 17:15:48 +0200 Subject: [PATCH 1/7] Switch from imv to vimiv --- modules/home/packages.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/home/packages.nix b/modules/home/packages.nix index 3d79ea4..c855556 100644 --- a/modules/home/packages.nix +++ b/modules/home/packages.nix @@ -62,7 +62,7 @@ wtype caligula gparted # partition manager ffmpeg - imv # image viewer + vimiv-qt # Image viewer, vim-like killall libnotify man-pages # extra man pages From 59ff1a5fb99545cc0bf4719f7d678cd595e6978e Mon Sep 17 00:00:00 2001 From: Pedro Rey Anca Date: Wed, 16 Apr 2025 17:16:20 +0200 Subject: [PATCH 2/7] Fix default apps --- modules/home/packages.nix | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/modules/home/packages.nix b/modules/home/packages.nix index c855556..10831c7 100644 --- a/modules/home/packages.nix +++ b/modules/home/packages.nix @@ -1,9 +1,20 @@ {pkgs, ...}: { - xdg.mimeApps.defaultApplications = { +xdg.mimeApps.enable = true; + xdg.mimeApps.defaultApplications = +{ "inode/directory" = ["nemo.desktop"]; +"application/x-gnome-saved-search" = ["nemo.desktop"]; "application/pdf" = ["okularApplication_pdf.desktop" "org.gnome.Evince.desktop"]; "text/plain" = ["org.gnome.TextEditor.desktop"]; - }; + } + // builtins.listToAttrs (map (key: { + name = "image/${key}"; + value = ["vimiv.desktop"]; + }) ["png" "jpeg" "webp" "bmp" "gif"]) + // builtins.listToAttrs (map (key: { + name = "video/${key}"; + value = ["mpv.desktop"]; + }) ["mp4" "x-matroska" "webm"]); home.packages = with pkgs; [ bemoji # emoji picker @@ -19,6 +30,7 @@ freetube # YouTube client fzf # fuzzy finder gimp + gnome-text-editor gtrash # rm replacement, put deleted files in system trash imagemagick inkscape From 954fee00719c305b98fd7c79ef35a4b0afcb73cc Mon Sep 17 00:00:00 2001 From: Pedro Rey Anca Date: Wed, 16 Apr 2025 17:19:10 +0200 Subject: [PATCH 3/7] Option name change --- hosts/frues-pc/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hosts/frues-pc/default.nix b/hosts/frues-pc/default.nix index e2e8e45..63e548c 100644 --- a/hosts/frues-pc/default.nix +++ b/hosts/frues-pc/default.nix @@ -18,7 +18,7 @@ boot.initrd.kernelModules = ["amdgpu"]; services.xserver.videoDrivers = ["amdgpu"]; - hardware.opengl.extraPackages = with pkgs; [ + hardware.graphics.extraPackages = with pkgs; [ rocmPackages.clr.icd amdvlk ]; @@ -35,4 +35,6 @@ "HDMI-A-1, 1920x1080@75, 0x0, 1" "DP-1, 2560x1440@165, 1920x0, 1.333333" ]; + + services.sshd.enable = true; } From a957cd84d433909befe2f2648091a9207d9c4af3 Mon Sep 17 00:00:00 2001 From: Pedro Rey Anca Date: Wed, 16 Apr 2025 17:20:04 +0200 Subject: [PATCH 4/7] uncomment gamescope --- modules/home/gaming.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/home/gaming.nix b/modules/home/gaming.nix index b452124..086566e 100644 --- a/modules/home/gaming.nix +++ b/modules/home/gaming.nix @@ -7,7 +7,7 @@ home.packages = with pkgs; [ ## Utils # gamemode - # gamescope + gamescope # winetricks # inputs.nix-gaming.packages.${pkgs.system}.wine-ge From c9b932ba1b340c14f82c3ad1fdc1c844749db4c8 Mon Sep 17 00:00:00 2001 From: Pedro Rey Anca Date: Wed, 16 Apr 2025 17:20:30 +0200 Subject: [PATCH 5/7] Add to dialout group --- modules/core/user.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/user.nix b/modules/core/user.nix index 168bec4..47df7a2 100644 --- a/modules/core/user.nix +++ b/modules/core/user.nix @@ -23,7 +23,7 @@ users.users.${username} = { isNormalUser = true; description = "${username}"; - extraGroups = ["networkmanager" "wheel" "i2c" "libvirtd" "adbusers"]; + extraGroups = ["networkmanager" "wheel" "i2c" "libvirtd" "adbusers" "dialout"]; shell = pkgs.zsh; }; nix.settings.allowed-users = ["${username}"]; From 09ce02d58d1e19fc3ca246dcf3dcdd0acd48e3e3 Mon Sep 17 00:00:00 2001 From: Pedro Rey Anca Date: Wed, 16 Apr 2025 17:21:05 +0200 Subject: [PATCH 6/7] Install more formatters (black and toml) --- modules/home/vscodium.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/home/vscodium.nix b/modules/home/vscodium.nix index 920972e..852b1ee 100644 --- a/modules/home/vscodium.nix +++ b/modules/home/vscodium.nix @@ -12,12 +12,15 @@ kamadorueda.alejandra # python ms-python.python + ms-python.black-formatter # C/C++ ms-vscode.cpptools # OCaml ocamllabs.ocaml-platform # CMake ms-vscode.cmake-tools + # TOML + tamasfe.even-better-toml # Color theme catppuccin.catppuccin-vsc From 61dae117c8c0fd9dd326d92aaa30a46c66addd7d Mon Sep 17 00:00:00 2001 From: Pedro Rey Anca Date: Wed, 16 Apr 2025 17:21:32 +0200 Subject: [PATCH 7/7] Use kitty in nemo --- modules/home/kitty.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/home/kitty.nix b/modules/home/kitty.nix index 7c0213e..6d4a186 100644 --- a/modules/home/kitty.nix +++ b/modules/home/kitty.nix @@ -1,4 +1,10 @@ {pkgs, ...}: { + dconf.settings = { + "org/cinnamon/desktop/applications/terminal" = { + exec = "kitty"; + }; + }; + programs.kitty = { enable = true;