From 21fc8d03a77c538abc4d214c5aa465e098059c8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Av=C3=A9?= Date: Mon, 17 Feb 2025 12:12:01 +0100 Subject: [PATCH] Disable fprintd on Aloria --- flake.lock | 24 ++++----- home/Aloria.nix | 1 - home/Arendia.nix | 1 - home/nvim/files/lua/plugins/ai_complete.lua | 56 ++++++++++----------- hosts/Aloria/default.nix | 24 ++++----- 5 files changed, 52 insertions(+), 54 deletions(-) diff --git a/flake.lock b/flake.lock index 296b434..6c89b2e 100644 --- a/flake.lock +++ b/flake.lock @@ -8,11 +8,11 @@ "locked": { "lastModified": 1, "narHash": "sha256-DuhR3y0gPZG0AJ2FDd+nUKzQMwT+c/DFIUWNDQ5Uyx4=", - "path": "/nix/store/m05g2k4z8ms5akz0fdwlk89cwnhy5hb0-source/home/ags", + "path": "/nix/store/3xrgbwyljldwxdh0f59jy04byc3x3cyn-source/home/ags", "type": "path" }, "original": { - "path": "/nix/store/m05g2k4z8ms5akz0fdwlk89cwnhy5hb0-source/home/ags", + "path": "/nix/store/3xrgbwyljldwxdh0f59jy04byc3x3cyn-source/home/ags", "type": "path" } }, @@ -220,11 +220,11 @@ ] }, "locked": { - "lastModified": 1739735835, - "narHash": "sha256-S4VskZCNjRX6saW7GtVb4MD3kWdfvRvLurLj9QcM4Wg=", + "lastModified": 1739756364, + "narHash": "sha256-r8RxE0W3uhJ6unzbIddWTAzrpP9tMnmbj0F+DF+CTSM=", "owner": "nix-community", "repo": "home-manager", - "rev": "b15e9ec6769d770879759f086dd4e51fae7f2394", + "rev": "662fa98bf488daa82ce8dc2bc443872952065ab9", "type": "github" }, "original": { @@ -307,11 +307,11 @@ "xdph": "xdph" }, "locked": { - "lastModified": 1739665242, - "narHash": "sha256-eKIMpBXaGrB/V/afS4pjropo50FgLE1t1W2aMI4/mhA=", + "lastModified": 1739757807, + "narHash": "sha256-R+fSm684OXCOjhhdANCgBvUPRPiya6Cyi2zV5Xf6sHI=", "ref": "refs/heads/main", - "rev": "897ee276dc0a8a6b11a8102b225a9e969faac0bf", - "revCount": 5823, + "rev": "59c615c321c45302491de3b1c003844c86aefca7", + "revCount": 5825, "submodules": true, "type": "git", "url": "https://github.com/hyprwm/Hyprland" @@ -653,11 +653,11 @@ "treefmt-nix": "treefmt-nix" }, "locked": { - "lastModified": 1739738009, - "narHash": "sha256-e8xhem64JzqPBpCVtGAL+Qh//xmMCE9o7ykDA7OLgx0=", + "lastModified": 1739782361, + "narHash": "sha256-xd5HJX9ZW2MkKpCrnBVl/9EtwhnEQLDQaVYSjzCbtKE=", "owner": "nix-community", "repo": "NUR", - "rev": "6ac541510c7a0635d958a40df23dafe693922aea", + "rev": "5dfbce41e737044067e52cdf44dd2c42fbbcf64e", "type": "github" }, "original": { diff --git a/home/Aloria.nix b/home/Aloria.nix index 0333d23..e49228d 100644 --- a/home/Aloria.nix +++ b/home/Aloria.nix @@ -28,7 +28,6 @@ in moonlight-qt vscode texliveFull - zed-editor gnome-power-manager ]; diff --git a/home/Arendia.nix b/home/Arendia.nix index 7fc13e8..b629627 100644 --- a/home/Arendia.nix +++ b/home/Arendia.nix @@ -27,7 +27,6 @@ in moonlight-qt vscode texliveFull - zed-editor gnome-power-manager jetbrains.pycharm-professional ]; diff --git a/home/nvim/files/lua/plugins/ai_complete.lua b/home/nvim/files/lua/plugins/ai_complete.lua index e13a648..b384df2 100644 --- a/home/nvim/files/lua/plugins/ai_complete.lua +++ b/home/nvim/files/lua/plugins/ai_complete.lua @@ -1,22 +1,22 @@ -- Copilot --- return { --- "zbirenbaum/copilot.lua", --- cmd = "Copilot", --- event = "InsertEnter", --- opts = { --- suggestion = { --- auto_trigger = true, --- auto_refresh = true, --- keymap = { --- accept = "", --- }, --- }, --- filetypes = { --- markdown = true, --- tex = true, --- } --- } --- } +return { + "zbirenbaum/copilot.lua", + cmd = "Copilot", + event = "InsertEnter", + opts = { + suggestion = { + auto_trigger = true, + auto_refresh = true, + keymap = { + accept = "", + }, + }, + filetypes = { + markdown = true, + tex = true, + } + } +} -- Supermaven -- return { @@ -31,13 +31,13 @@ -- } -- Neocodium -return { - "monkoose/neocodeium", - event = "InsertEnter", - config = function() - local neocodeium = require("neocodeium") - neocodeium.setup() - vim.keymap.set("i", "", neocodeium.accept) - vim.keymap.set("i", "a", function () neocodeium.cycle_or_complete(1) end) - end, -} +-- return { +-- "monkoose/neocodeium", +-- event = "InsertEnter", +-- config = function() +-- local neocodeium = require("neocodeium") +-- neocodeium.setup() +-- vim.keymap.set("i", "", neocodeium.accept) +-- vim.keymap.set("i", "a", function () neocodeium.cycle_or_complete(1) end) +-- end, +-- } diff --git a/hosts/Aloria/default.nix b/hosts/Aloria/default.nix index 85c0651..d37b762 100644 --- a/hosts/Aloria/default.nix +++ b/hosts/Aloria/default.nix @@ -35,18 +35,18 @@ in { }; }; - systemd.services.fprintd = { - wantedBy = [ "multi-user.target" ]; - serviceConfig.Type = "simple"; - }; - services.fprintd = { - enable = true; - tod = { - enable = true; - driver = pkgs.libfprint-2-tod1-broadcom; - }; - }; - security.pam.services.sudo.fprintAuth = true; + # systemd.services.fprintd = { + # wantedBy = [ "multi-user.target" ]; + # serviceConfig.Type = "simple"; + # }; + # services.fprintd = { + # enable = true; + # tod = { + # enable = true; + # driver = pkgs.libfprint-2-tod1-broadcom; + # }; + # }; + # security.pam.services.sudo.fprintAuth = true; # virtualisation virtualisation.libvirtd.enable = true;