From bf02a3f0aeb702cab07fd513b7f5d2162fb2bda6 Mon Sep 17 00:00:00 2001 From: Vegard Bieker Matthey Date: Thu, 19 Feb 2026 21:12:17 +0100 Subject: [PATCH] flake.lock: bump and misc changes --- configuration.nix | 1 + flake.lock | 30 +++++++++++++++--------------- home.nix | 19 ++++++++++++++----- 3 files changed, 30 insertions(+), 20 deletions(-) diff --git a/configuration.nix b/configuration.nix index 2c87824..fb41a8a 100644 --- a/configuration.nix +++ b/configuration.nix @@ -147,6 +147,7 @@ cachix grim slurp + wireshark ]; }; diff --git a/flake.lock b/flake.lock index 40ac3cd..166df3c 100644 --- a/flake.lock +++ b/flake.lock @@ -8,11 +8,11 @@ ] }, "locked": { - "lastModified": 1768135262, - "narHash": "sha256-PVvu7OqHBGWN16zSi6tEmPwwHQ4rLPU9Plvs8/1TUBY=", + "lastModified": 1769996383, + "narHash": "sha256-AnYjnFWgS49RlqX7LrC4uA+sCCDBj0Ry/WOJ5XWAsa0=", "owner": "hercules-ci", "repo": "flake-parts", - "rev": "80daad04eddbbf5a4d883996a73f3f542fa437ac", + "rev": "57928607ea566b5db3ad13af0e57e921e6b12381", "type": "github" }, "original": { @@ -67,11 +67,11 @@ ] }, "locked": { - "lastModified": 1769397130, - "narHash": "sha256-TTM4KV9IHwa181X7afBRbhLJIrgynpDjAXJFMUOWfyU=", + "lastModified": 1771531206, + "narHash": "sha256-1R3Wx6KUkMb4x4E5UOhW9p6rqiexzSGGWxZqSHqW5n0=", "owner": "nix-community", "repo": "home-manager", - "rev": "c37679d37bdbecf11bbe3c5eb238d89ca4f60641", + "rev": "91be7cce763fa4022c7cf025a71b0c366d1b6e77", "type": "github" }, "original": { @@ -82,11 +82,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1769170682, - "narHash": "sha256-oMmN1lVQU0F0W2k6OI3bgdzp2YOHWYUAw79qzDSjenU=", + "lastModified": 1771369470, + "narHash": "sha256-0NBlEBKkN3lufyvFegY4TYv5mCNHbi5OmBDrzihbBMQ=", "owner": "nixos", "repo": "nixpkgs", - "rev": "c5296fdd05cfa2c187990dd909864da9658df755", + "rev": "0182a361324364ae3f436a63005877674cf45efb", "type": "github" }, "original": { @@ -105,11 +105,11 @@ "systems": "systems_2" }, "locked": { - "lastModified": 1769418848, - "narHash": "sha256-jLSg9IkglcIw64kU1utXxsxXhiVdD45dkh9ZJKaFQ7U=", + "lastModified": 1771135771, + "narHash": "sha256-wyvBIhDuyCRyjB3yPg77qoyxrlgQtBR1rVW3c9knV3E=", "owner": "nix-community", "repo": "nixvim", - "rev": "c19a0517ddeed4c1548611e42e187048fc2e5dcf", + "rev": "ed0424f0b08d303a7348f52f7850ad1b2704f9ba", "type": "github" }, "original": { @@ -126,11 +126,11 @@ ] }, "locked": { - "lastModified": 1769425051, - "narHash": "sha256-/p57VO6pwwVqAeNwbei6BLqe9hmPybu6FHIKNNRwhjg=", + "lastModified": 1771530821, + "narHash": "sha256-ajAvy4BPmgyY9pGVKaVm1dawTXX6pxhh5yyXXWiXo+4=", "owner": "nix-community", "repo": "NUR", - "rev": "8c9b80c54ac2d8d302f6b42e91ec8ceb5df5dca7", + "rev": "5e339105b4421927b8f494d4aa0d75e59e2ad1de", "type": "github" }, "original": { diff --git a/home.nix b/home.nix index 7a527c0..3f91d67 100644 --- a/home.nix +++ b/home.nix @@ -17,6 +17,11 @@ homeDirectory = "/home/vbm"; stateVersion = "25.11"; sessionVariables = { + XDG_CACHE_HOME = "${config.xdg.cacheHome}"; + XDG_CONFIG_HOME = "${config.xdg.configHome}"; + XDG_DATA_HOME = "${config.xdg.dataHome}"; + XDG_STATE_HOME = "${config.xdg.stateHome}"; + ECLIPSE_HOME = "${config.xdg.configHome}/eclipse"; PSQL_HISTORY = "${config.xdg.stateHome}/psql_history"; MAVEN_OPTS = "-Dmaven.repo.local=${config.xdg.dataHome}/maven/repository"; @@ -186,14 +191,20 @@ programs.retroarch = { enable = true; cores = { + # https://docs.retroachievements.org/general/emulator-support-and-issues.html snes9x.enable = true; fbneo.enable = true; + fceumm.enable = true; + gambatte.enable = true; + mgba.enable = true; + mupen64plus.enable = true; }; settings = { video_driver = "vulkan"; video_fullscreen = "true"; audio_driver = "pipewire"; microphone_driver = "pipewire"; + input_driver = "wayland"; materialui_thumbnail_background_enable = "true"; preemptive_frames_enable = "true"; run_ahead_frames = "2"; @@ -256,7 +267,7 @@ plugins.telescope.enable = true; plugins.fidget.enable = true; plugins.cmp = { - enable = true; + enable = false; autEnableSources = true; settings.sources = [ { name = "nvim_lsp"; } @@ -399,8 +410,9 @@ }; settings = { show_banner = false; - # line_editor.show_hints = false; + show_hints = false; }; + environmentVariables = config.home.sessionVariables; extraConfig = "$env.config.edit_mode = 'vi'"; }; @@ -424,9 +436,6 @@ programs.librewolf = { enable = true; - # package = pkgs.librewolf-bin; # librewolf-unwrapped shenanigans. - # package = null; - profiles.default = { settings = { "browser.warnOnQuit" = false;