From ffeaa645f61116d93fedd7cc575f659a3c0fcab8 Mon Sep 17 00:00:00 2001 From: Ethan Simmons Date: Wed, 17 Dec 2025 12:02:43 -0600 Subject: [PATCH] Edit alpheratz config --- hosts/alpheratz/system.nix | 8 ++++++++ hosts/shared/dotfiles/nvim/lua/config/plugins/init.lua | 5 ++++- modules/nix/gui.nix | 6 +++++- 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/hosts/alpheratz/system.nix b/hosts/alpheratz/system.nix index b2cdcb9..9ded46d 100644 --- a/hosts/alpheratz/system.nix +++ b/hosts/alpheratz/system.nix @@ -69,6 +69,7 @@ discord wine matlab-language-server + zoom-us ]; services.printing.enable = false; @@ -77,6 +78,7 @@ nssmdns4 = true; openFirewall = true; }; + services.flatpak.enable = true; programs.ssh.forwardX11 = true; programs.ssh.setXAuthLocation = true; @@ -94,6 +96,12 @@ "/".options = [ "compress=zstd" ]; "/home".options = [ "compress=zstd" ]; "/nix".options = [ "compress=zstd" "noatime" ]; + "/mnt/drive0" = { + device = "/dev/sr0"; + fsType = "auto"; + mountPoint = "/mnt/drive0"; + options = [ "ro" "user" "noauto" "unhide" ]; + }; }; networking.wg-quick.interfaces = { diff --git a/hosts/shared/dotfiles/nvim/lua/config/plugins/init.lua b/hosts/shared/dotfiles/nvim/lua/config/plugins/init.lua index 09fad85..71e5764 100644 --- a/hosts/shared/dotfiles/nvim/lua/config/plugins/init.lua +++ b/hosts/shared/dotfiles/nvim/lua/config/plugins/init.lua @@ -4,7 +4,10 @@ local plugins = { 'nvim-lualine/lualine.nvim', 'kyazdani42/nvim-web-devicons', - 'kylechui/nvim-surround', + { + 'kylechui/nvim-surround', + event = "VeryLazy", + }, 'ibhagwan/fzf-lua', diff --git a/modules/nix/gui.nix b/modules/nix/gui.nix index 18cac76..2bc23c7 100644 --- a/modules/nix/gui.nix +++ b/modules/nix/gui.nix @@ -35,7 +35,10 @@ in # Remove when nixpkgs issue 143365 is fixed security.pam.services.swaylock = mkIf (!cfg.sway.desktop) {}; - xdg.portal.config.common = [ "wlr" "gtk" ]; + xdg.portal.enable = true; + xdg.portal.config.common = { + default = [ "wlr" "gtk" ]; + }; programs.thunar.enable = true; hardware.opengl.enable = true; @@ -50,6 +53,7 @@ in fonts = { packages = with pkgs; [ + xdg-desktop-portal-wlr liberation_ttf noto-fonts noto-fonts-cjk-sans