summary refs log tree commit diff
path: root/host/Rory-desktop/configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'host/Rory-desktop/configuration.nix')
-rw-r--r--host/Rory-desktop/configuration.nix41
1 files changed, 34 insertions, 7 deletions
diff --git a/host/Rory-desktop/configuration.nix b/host/Rory-desktop/configuration.nix
index db6615d..0623850 100644
--- a/host/Rory-desktop/configuration.nix
+++ b/host/Rory-desktop/configuration.nix
@@ -14,14 +14,15 @@ args@{
     # (import ../../modules/base-secrets.nix {  path = "/home/rory/.config/sops/config.yaml"; })
     ../../modules/packages/vim.nix
     #      ../../modules/environments/home.nix
-    #    ../../modules/software-templates/profilers.nix
+    ../../modules/software-templates/profilers.nix
+    ../../modules/packages/overlays/openvpn.nix # Temporary: Fix a build failure
     ./postgres.nix
     ./nginx.nix
 
     # hardware-specific imports
     ./optional/hardware-specific/amd.nix
 
-    ./optional/gui/x11.nix
+    #./optional/gui/x11.nix
     ./optional/gui/wayland.nix
 
     ./printing.nix
@@ -32,6 +33,7 @@ args@{
     kernelPackages = pkgs.linuxPackages_latest;
     loader = {
       grub = {
+        configurationLimit = 10;
         enable = true;
         device = "nodev"; # nodev for EFI only
         # EFI
@@ -50,6 +52,8 @@ args@{
     #readOnlyNixStore = false;
   };
   programs.noisetorch.enable = true;
+  programs.gamemode.enable = true;
+  users.users.Rory.extraGroups = ["gamemode"];
 
   environment.sessionVariables = {
     ZSH_DISABLE_COMPFIX = "true";
@@ -136,9 +140,9 @@ args@{
     # - IDEs
     #jetbrains-toolbox
     jetbrains.rider
-    #jetbrains.webstorm
+    jetbrains.webstorm
     #jetbrains.clion
-    github-copilot-intellij-agent
+    #github-copilot-intellij-agent
 
     dbeaver-bin
     #insomnia
@@ -166,10 +170,10 @@ args@{
     #ungoogled-chromium #needed for Rider in order to debug WASM
 
     #yuzu-early-access
-    wineWowPackages.unstableFull
-    winetricks
+    #wineWowPackages.unstableFull
+    #winetricks
     #fragments
-    peek
+    #peek
 
     unrar-wrapper
 
@@ -187,7 +191,16 @@ args@{
     # (dwarf-fortress-packages.dwarf-fortress-full.override { enableStoneSense = true; enableFPS = true; theme = dwarf-fortress-packages.themes.spacefox; })
     mangohud
     prismlauncher
+
+    thunderbird
+
+    p11-kit
+    opensc
+    eid-mw
   ];
+  environment.etc."pkcs11/modules/opensc-pkcs11".text = ''
+    module: ${pkgs.opensc}/lib/opensc-pkcs11.so
+  '';
 
   programs.steam.enable = true;
   programs.steam.gamescopeSession.enable = true;
@@ -274,6 +287,20 @@ args@{
   networking.hosts."127.0.0.1" = builtins.attrNames config.services.nginx.virtualHosts;
   
   services.gvfs.enable = true;
+  zramSwap = {
+    enable = true;
+    memoryPercent = 200;
+  };
+  services.pcscd.enable = true;
+
+
+  virtualisation.vmVariant = {
+    users = {
+      mutableUsers = false;
+      users.Rory.password = "password";
+    };
+    networking.interfaces.enp34s0 = lib.mkForce {};
+  };
 
   system.stateVersion = "22.11"; # DO NOT EDIT!
 }