From 7a4d0f7340e08da8e1a499f905c9c65d7e10b08b Mon Sep 17 00:00:00 2001 From: xenia Date: Sun, 15 Sep 2024 23:20:47 +0200 Subject: [PATCH] Small changes on nixos --- home/alacritty/alacritty.nix | 2 +- home/common.nix | 4 +++- nixos/graphical.nix | 3 +++ nixos/kblayouts/fox-symbols.xkb | 3 +++ nixos/machines/foxhut/boot.nix | 4 ++++ 5 files changed, 14 insertions(+), 2 deletions(-) diff --git a/home/alacritty/alacritty.nix b/home/alacritty/alacritty.nix index 65ffa170..7925c024 100644 --- a/home/alacritty/alacritty.nix +++ b/home/alacritty/alacritty.nix @@ -54,7 +54,7 @@ esac"; }; mouse.hide_when_typing = stdenv.isDarwin; font = { - normal.family = "uzura_font"; + normal.family = "SAX2"; size = font-size; }; colors.primary = { diff --git a/home/common.nix b/home/common.nix index eb51ea62..68d5d515 100644 --- a/home/common.nix +++ b/home/common.nix @@ -39,13 +39,15 @@ in rec { pyusb usbtmc ipython mypy (pylsp-mypy.overrideAttrs (old: { doCheck = false; })) ])) - ( agda.withPackages (ps: with ps; [ standard-library cubical ]) ) + sqlite-interactive typst # nodePackages.typescript # nodePackages.typescript-language-server zulip-term + ngspice + # (extras.challtools python311Packages) ]; diff --git a/nixos/graphical.nix b/nixos/graphical.nix index 5cc47474..e332c031 100644 --- a/nixos/graphical.nix +++ b/nixos/graphical.nix @@ -29,6 +29,8 @@ in services.desktopManager.plasma6.enable = true; services.displayManager.defaultSession = "plasma"; + services.mullvad-vpn.enable = true; + hardware.opengl.enable = true; console.useXkbConfig = true; @@ -55,6 +57,7 @@ in stilo-themes firefox + thunderbird glxinfo start-plasma-shortcut ]; diff --git a/nixos/kblayouts/fox-symbols.xkb b/nixos/kblayouts/fox-symbols.xkb index 0c69f371..c71c398d 100644 --- a/nixos/kblayouts/fox-symbols.xkb +++ b/nixos/kblayouts/fox-symbols.xkb @@ -56,4 +56,7 @@ xkb_symbols "fox" { include "level3(lalt_switch)" key { [ Alt_R ] }; + # key { [ Super_L ] }; + key { [ Super_L ] }; + key { [ Shift_L ] }; }; diff --git a/nixos/machines/foxhut/boot.nix b/nixos/machines/foxhut/boot.nix index d6340969..5345ac77 100644 --- a/nixos/machines/foxhut/boot.nix +++ b/nixos/machines/foxhut/boot.nix @@ -23,5 +23,9 @@ mountPoint = "/home/xenia/foxshare"; options = ["uid=${builtins.toString config.users.users.xenia.uid}" "nofail"]; }; + swapDevices = [{ + device = "/swap"; + size = 16 * 1024; # 16GB + }]; }