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; } 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}"]; 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 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; diff --git a/modules/home/packages.nix b/modules/home/packages.nix index 3d79ea4..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 @@ -62,7 +74,7 @@ wtype caligula gparted # partition manager ffmpeg - imv # image viewer + vimiv-qt # Image viewer, vim-like killall libnotify man-pages # extra man pages 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