diff --git a/hosts/frues-pc/default.nix b/hosts/frues-pc/default.nix index 63e548c..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 = { @@ -32,8 +35,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; 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 ]; } 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