From 3364a4505d9144987f120ba69e78433017b6f7b0 Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Sun, 3 Dec 2023 16:48:54 +0100 Subject: [PATCH 1/4] Add nitrokey hardware --- nixos/includes/hardware/nitrokey.nix | 3 +++ nixos/includes/system/sshclient.nix | 11 +++++++++++ 2 files changed, 14 insertions(+) create mode 100644 nixos/includes/hardware/nitrokey.nix create mode 100644 nixos/includes/system/sshclient.nix diff --git a/nixos/includes/hardware/nitrokey.nix b/nixos/includes/hardware/nitrokey.nix new file mode 100644 index 0000000..8ffd61b --- /dev/null +++ b/nixos/includes/hardware/nitrokey.nix @@ -0,0 +1,3 @@ +{ + hardware.nitrokey.enable = true; +} diff --git a/nixos/includes/system/sshclient.nix b/nixos/includes/system/sshclient.nix new file mode 100644 index 0000000..06098ba --- /dev/null +++ b/nixos/includes/system/sshclient.nix @@ -0,0 +1,11 @@ +{pkgs, ...}: +{ + environment.systemPackages = with pkgs; [ + lxqt.lxqt-openssh-askpass + ]; + programs.ssh = { + startAgent = false; + enableAskPassword = true; + askPassword = "${pkgs.lxqt.lxqt-openssh-askpass}/bin/lxqt-openssh-askpass"; + }; +} From 9780b167d30892ebeada3654be4e43f91717c259 Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Sun, 3 Dec 2023 16:50:31 +0100 Subject: [PATCH 2/4] Implement new method to add native messaging --- home-manager/firefox/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/home-manager/firefox/default.nix b/home-manager/firefox/default.nix index 83ca6d8..010de88 100644 --- a/home-manager/firefox/default.nix +++ b/home-manager/firefox/default.nix @@ -10,11 +10,11 @@ in programs.firefox = { enable = true; package = pkgs.wrapFirefox pkgs.firefox-unwrapped { - cfg = { + nativeMessagingHosts = [ # Tridactyl native connector - enableTridactylNative = true; - enableBrowserpass = true; - }; + pkgs.tridactyl-native + pkgs.browserpass + ]; extraPolicies = { DontCheckDefaultBrowser = true; DisablePocket = true; From 05741a00fe2d6ec7a072a9a4ec2e57df9c42d744 Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Sun, 3 Dec 2023 16:53:25 +0100 Subject: [PATCH 3/4] Update output configuration for Mr Meeseeks --- home-manager/hosts/mrmeeseeks.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/home-manager/hosts/mrmeeseeks.nix b/home-manager/hosts/mrmeeseeks.nix index 27dfc6f..5c4cffc 100644 --- a/home-manager/hosts/mrmeeseeks.nix +++ b/home-manager/hosts/mrmeeseeks.nix @@ -2,15 +2,15 @@ _: { wayland.windowManager.sway.config.output = { "Iiyama North America PL2792UH 1166310803122" = { mode = "3840x2160@60Hz"; - position = "0,0"; + position = "1080,0"; scale = "2"; bg = "~/medias/images/wallpapers/desktop.jpg center #000000"; }; "Iiyama North America PL2792UH 1176923201598" = { mode = "3840x2160@60Hz"; - position = "1920,0"; + position = "0,0"; scale = "2"; - transform = "90"; + transform = "270"; bg = "~/medias/images/wallpapers/desktop.jpg center #000000"; }; }; From e6f78ce0853135d1ce4feb16cf8ba76f2edae6ec Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Sun, 3 Dec 2023 16:54:43 +0100 Subject: [PATCH 4/4] Upate locale configuration avoid perl warning --- nixos/includes/system/locales.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/includes/system/locales.nix b/nixos/includes/system/locales.nix index 3378d3c..8d94d16 100644 --- a/nixos/includes/system/locales.nix +++ b/nixos/includes/system/locales.nix @@ -5,6 +5,8 @@ i18n = { # defaultLocale = "en_US.UTF-8"; extraLocaleSettings = { + LANGUAGE = "en_US.UTF-8"; + LC_ALL = "en_US.UTF-8"; LANG = "en_US.UTF-8"; LC_TIME = "en_DK.UTF-8"; LC_DATE = "en_DK.UTF-8";