From d2b548cac21f70acf0d28aa7f1ef8141789d58e1 Mon Sep 17 00:00:00 2001 From: Rouven Seifert Date: Tue, 28 Feb 2023 15:05:07 +0100 Subject: [PATCH] misc security and qol updates --- hosts/thinkpad/default.nix | 1 + hosts/thinkpad/modules/networks/uni.nix | 1 - users/rouven/modules/accounts/default.nix | 2 +- users/rouven/modules/neovim/default.nix | 4 +++- users/rouven/modules/packages.nix | 6 ++++++ 5 files changed, 11 insertions(+), 3 deletions(-) diff --git a/hosts/thinkpad/default.nix b/hosts/thinkpad/default.nix index be2bb0b..de15180 100755 --- a/hosts/thinkpad/default.nix +++ b/hosts/thinkpad/default.nix @@ -16,6 +16,7 @@ # Use the systemd-boot EFI boot loader. boot = { loader.systemd-boot.enable = true; + loader.systemd-boot.editor = false; loader.efi.canTouchEfiVariables = true; kernelPackages = pkgs.linuxPackages_latest; }; diff --git a/hosts/thinkpad/modules/networks/uni.nix b/hosts/thinkpad/modules/networks/uni.nix index 0ee732d..1ee57ea 100644 --- a/hosts/thinkpad/modules/networks/uni.nix +++ b/hosts/thinkpad/modules/networks/uni.nix @@ -30,7 +30,6 @@ FSR = { psk = "@FSR_PSK@"; authProtocols = [ "WPA-PSK" ]; - extraConfig = "disabled=1"; }; }; openconnect.interfaces = { diff --git a/users/rouven/modules/accounts/default.nix b/users/rouven/modules/accounts/default.nix index 82bd5d6..6962adc 100644 --- a/users/rouven/modules/accounts/default.nix +++ b/users/rouven/modules/accounts/default.nix @@ -39,7 +39,6 @@ in }; accounts.email.accounts = { "rouven@rfive.de" = rec { - primary = true; address = "rouven@rfive.de"; gpg.key = gpg-default-key; realName = "Rouven Seifert"; @@ -164,6 +163,7 @@ in }; "iFSR" = { address = "rouven.seifert@ifsr.de"; + primary = true; gpg.key = gpg-default-key; realName = "Rouven Seifert"; userName = "rouven.seifert"; diff --git a/users/rouven/modules/neovim/default.nix b/users/rouven/modules/neovim/default.nix index 1fb0e20..f14c99e 100644 --- a/users/rouven/modules/neovim/default.nix +++ b/users/rouven/modules/neovim/default.nix @@ -97,6 +97,9 @@ pyright = { enable = true; }; + texlab = { + enable = true; + }; rnix-lsp = { enable = true; }; @@ -146,7 +149,6 @@ }; extraPlugins = with pkgs.vimPlugins; [ - vim-nix dracula-vim nerdcommenter ]; diff --git a/users/rouven/modules/packages.nix b/users/rouven/modules/packages.nix index 3d96569..402b6eb 100644 --- a/users/rouven/modules/packages.nix +++ b/users/rouven/modules/packages.nix @@ -9,6 +9,7 @@ pcmanfm # rock solid file manager xdg-utils # used for xdg-open snapper-gui + comma # run any command # graphics evince # pdf viewer @@ -60,7 +61,12 @@ # libs libyubikey libfido2 + (pkgs.texlive.combine { + inherit (pkgs.texlive) scheme-medium; + }) ]; + + xdg.mimeApps = { enable = true; defaultApplications =