From 98b686e5a535e3432c5c51f7b91ea3ef80003c92 Mon Sep 17 00:00:00 2001 From: Nickolaj Jepsen Date: Mon, 15 Dec 2025 10:00:08 +0100 Subject: [PATCH] chore: update work setup --- flake.lock | 42 ++++++++++++++++++------------------ hosts/desktop/nvidia.nix | 9 -------- hosts/work/bluetooth.nix | 2 -- hosts/work/nvidia.nix | 9 -------- modules/base/nix.nix | 2 -- modules/desktop/monitors.nix | 1 - modules/desktop/niri.nix | 3 --- modules/homelab/glance.nix | 2 +- modules/programs/vscode.nix | 35 ++++++++++++++++++++++++++++++ 9 files changed, 57 insertions(+), 48 deletions(-) diff --git a/flake.lock b/flake.lock index 2f9876a..dc548fd 100644 --- a/flake.lock +++ b/flake.lock @@ -198,11 +198,11 @@ ] }, "locked": { - "lastModified": 1765326679, - "narHash": "sha256-fTLX9kDwLr9Y0rH/nG+h1XG5UU+jBcy0PFYn5eneRX8=", + "lastModified": 1765688338, + "narHash": "sha256-MjrytR2kiHYUnzX11cXaD31tS7kKdhM1KFaac0+KAig=", "owner": "nix-community", "repo": "disko", - "rev": "d64e5cdca35b5fad7c504f615357a7afe6d9c49e", + "rev": "be1a6b8a05afdd5d5fa69fcaf3c4ead7014c9fd8", "type": "github" }, "original": { @@ -444,11 +444,11 @@ "xwayland-satellite-unstable": "xwayland-satellite-unstable" }, "locked": { - "lastModified": 1765629179, - "narHash": "sha256-yYQR3ZYXWEh8mAQOhj6ZOZ4VxZrpzhRz14bOXAMPtcQ=", + "lastModified": 1765786620, + "narHash": "sha256-MPgXA3vfeUclJAt1r1LfH6TXmcqDEJm3HVDjr4Y1fIs=", "owner": "sodiboo", "repo": "niri-flake", - "rev": "46e723aa46565b67910187b4b7ad48b615d7f576", + "rev": "97440574d71b235b601013edf4749397b1ce99a6", "type": "github" }, "original": { @@ -477,11 +477,11 @@ "niri-unstable": { "flake": false, "locked": { - "lastModified": 1765625997, - "narHash": "sha256-d0/ugnBSrCJwwySMc5skOMbAfEdjWapc+EMFbcsnd5Q=", + "lastModified": 1765687800, + "narHash": "sha256-Erk+ypR8N+rCvjMdUB1N/v4jtm4QRH9k7r/9zh2HyC8=", "owner": "YaLTeR", "repo": "niri", - "rev": "d1fc1ab731f7cc59923a16acce9a387782bfeb10", + "rev": "7c0898570ca5bd3f10fbf4cf2f8a00edc48d787b", "type": "github" }, "original": { @@ -536,11 +536,11 @@ "nixpkgs": "nixpkgs_3" }, "locked": { - "lastModified": 1765591065, - "narHash": "sha256-IdYRrUhfZHtAI3nOMKVeP0lsfZpaa/wHf2B8qD4VeOk=", + "lastModified": 1765764441, + "narHash": "sha256-2YMRlmFZIfHgV6/b+CbzpOxvl0oyDmIwYSaq/fGGrWo=", "owner": "nix-community", "repo": "nix-vscode-extensions", - "rev": "ee90360c87fad52e8c34ef8b9ab3b52017c146a4", + "rev": "db1e72f90d92e075f90f40df15e55a20dc758e77", "type": "github" }, "original": { @@ -670,11 +670,11 @@ }, "nixpkgs-stable": { "locked": { - "lastModified": 1765311797, - "narHash": "sha256-mSD5Ob7a+T2RNjvPvOA1dkJHGVrNVl8ZOrAwBjKBDQo=", + "lastModified": 1765762245, + "narHash": "sha256-3iXM/zTqEskWtmZs3gqNiVtRTsEjYAedIaLL0mSBsrk=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "09eb77e94fa25202af8f3e81ddc7353d9970ac1b", + "rev": "c8cfcd6ccd422e41cc631a0b73ed4d5a925c393d", "type": "github" }, "original": { @@ -732,11 +732,11 @@ }, "nixpkgs_4": { "locked": { - "lastModified": 1765311797, - "narHash": "sha256-mSD5Ob7a+T2RNjvPvOA1dkJHGVrNVl8ZOrAwBjKBDQo=", + "lastModified": 1765762245, + "narHash": "sha256-3iXM/zTqEskWtmZs3gqNiVtRTsEjYAedIaLL0mSBsrk=", "owner": "nixos", "repo": "nixpkgs", - "rev": "09eb77e94fa25202af8f3e81ddc7353d9970ac1b", + "rev": "c8cfcd6ccd422e41cc631a0b73ed4d5a925c393d", "type": "github" }, "original": { @@ -770,11 +770,11 @@ ] }, "locked": { - "lastModified": 1765670463, - "narHash": "sha256-U6QRo4b7l3NQa6aoJ3svpV3fP9cXigfadICFd18xgyc=", + "lastModified": 1765784529, + "narHash": "sha256-jOZhMdbJ/8OF40baogBQEM0MOkz5l1NnLdFlZ6zQJ9I=", "owner": "nix-community", "repo": "NUR", - "rev": "223ca4c42215c8d9dd9f72a5cceb454892232e84", + "rev": "1002d79d2099a615e0d2ab4b3394664fccd59cd9", "type": "github" }, "original": { diff --git a/hosts/desktop/nvidia.nix b/hosts/desktop/nvidia.nix index 589feef..902687e 100644 --- a/hosts/desktop/nvidia.nix +++ b/hosts/desktop/nvidia.nix @@ -11,15 +11,6 @@ }; services.xserver.videoDrivers = ["nvidia"]; - fireproof.home-manager.wayland.windowManager.hyprland.settings = { - env = [ - "LIBVA_DRIVER_NAME,nvidia" - "__GLX_VENDOR_LIBRARY_NAME,nvidia" - "NVD_BACKEND,direct" - ]; - - cursor.no_hardware_cursors = true; - }; fireproof.home-manager.programs.niri.settings = { environment = { "LIBVA_DRIVER_NAME" = "nvidia"; diff --git a/hosts/work/bluetooth.nix b/hosts/work/bluetooth.nix index 4fb811e..399c972 100644 --- a/hosts/work/bluetooth.nix +++ b/hosts/work/bluetooth.nix @@ -2,8 +2,6 @@ _: { hardware.bluetooth.enable = true; hardware.bluetooth.powerOnBoot = true; - services.blueman.enable = true; - services.pipewire.wireplumber.extraConfig.bluetoothEnhancements = { "monitor.bluez.properties" = { "bluez5.enable-sbc-xq" = true; diff --git a/hosts/work/nvidia.nix b/hosts/work/nvidia.nix index 0a368b2..0d4ef5e 100644 --- a/hosts/work/nvidia.nix +++ b/hosts/work/nvidia.nix @@ -9,13 +9,4 @@ _: { powerManagement.enable = true; nvidiaSettings = true; }; - fireproof.home-manager.wayland.windowManager.hyprland.settings = { - env = [ - "LIBVA_DRIVER_NAME,nvidia" - "__GLX_VENDOR_LIBRARY_NAME,nvidia" - "NVD_BACKEND,direct" - ]; - - cursor.no_hardware_cursors = true; - }; } diff --git a/modules/base/nix.nix b/modules/base/nix.nix index ca37517..6f553dd 100644 --- a/modules/base/nix.nix +++ b/modules/base/nix.nix @@ -10,13 +10,11 @@ experimental-features = "nix-command flakes"; substituters = [ - "https://hyprland.cachix.org" "https://nix-community.cachix.org" "https://install.determinate.systems" ]; trusted-public-keys = [ - "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" "cache.flakehub.com-3:hJuILl5sVK4iKm86JzgdXW12Y2Hwd5G07qKtHTOcDCM=" ]; diff --git a/modules/desktop/monitors.nix b/modules/desktop/monitors.nix index ad77ec9..5e38ec6 100644 --- a/modules/desktop/monitors.nix +++ b/modules/desktop/monitors.nix @@ -45,7 +45,6 @@ }; transform = lib.mkOption { - # https://wiki.hyprland.org/Configuring/Monitors/#rotating type = lib.types.nullOr lib.types.int; default = null; example = 1; diff --git a/modules/desktop/niri.nix b/modules/desktop/niri.nix index 6945f78..606a554 100644 --- a/modules/desktop/niri.nix +++ b/modules/desktop/niri.nix @@ -28,10 +28,7 @@ in { prefer-no-csd = true; clipboard.disable-primary = true; spawn-at-startup = [ - {command = ["systemctl" "--user" "start" "hypridle"];} {command = ["systemctl" "--user" "start" "hyprpaper"];} - {command = ["systemctl" "--user" "start" "mako"];} - {command = ["systemctl" "--user" "start" "waybar"];} ]; xwayland-satellite = { enable = true; diff --git a/modules/homelab/glance.nix b/modules/homelab/glance.nix index d0f4743..81d56dd 100644 --- a/modules/homelab/glance.nix +++ b/modules/homelab/glance.nix @@ -237,7 +237,7 @@ in { { type = "hacker-news"; collapse-after = 10; - limit = 20; + limit = 30; } { type = "rss"; diff --git a/modules/programs/vscode.nix b/modules/programs/vscode.nix index ac5d20a..df7cf68 100644 --- a/modules/programs/vscode.nix +++ b/modules/programs/vscode.nix @@ -29,6 +29,41 @@ in { profiles.default = { enableUpdateCheck = true; enableExtensionUpdateCheck = true; + userMcp = { + inputs = [ + { + type = "promptString"; + id = "context7-api-key"; + description = "Context7 API Key"; + password = true; + } + ]; + servers = { + linear = { + url = "https://mcp.linear.app/mcp"; + type = "http"; + }; + sentry = { + url = "https://mcp.sentry.dev/mcp"; + type = "http"; + }; + figma = { + url = "https://mcp.figma.com/mcp"; + type = "http"; + }; + context7 = { + type = "http"; + url = "https://mcp.context7.com/mcp"; + headers = { + CONTEXT7_API_KEY = "\${input:context7-api-key}"; + }; + }; + insight = { + url = "https://insight.mcp.aortl.net/mcp"; + type = "http"; + }; + }; + }; keybindings = [ { "key" = "ctrl+shift+p";