Compare commits

..

2 commits

Author SHA1 Message Date
23ffe07637
chore: upgrade to NixOS 25.11
Some checks failed
Test / tests (push) Failing after 1m46s
2025-12-09 23:27:36 +01:00
75d3736626
chore(flake): update inputs 2025-12-09 22:37:12 +01:00
21 changed files with 96 additions and 80 deletions

View file

@ -5,8 +5,8 @@
specialisation = { specialisation = {
cosmic.configuration = { cosmic.configuration = {
services.xserver.displayManager.gdm.enable = lib.mkForce false; services.displayManager.gdm.enable = lib.mkForce false;
services.xserver.desktopManager.gnome.enable = lib.mkForce false; services.desktopManager.gnome.enable = lib.mkForce false;
services.desktopManager.cosmic.enable = true; services.desktopManager.cosmic.enable = true;
services.displayManager.cosmic-greeter.enable = true; services.displayManager.cosmic-greeter.enable = true;

View file

@ -16,10 +16,10 @@
tailscale-qs tailscale-qs
]; ];
services.xserver.displayManager.gdm.enable = true; services.displayManager.gdm.enable = true;
services.xserver.displayManager.gdm.wayland = true; services.displayManager.gdm.wayland = true;
services.xserver.desktopManager.gnome.enable = true; services.desktopManager.gnome.enable = true;
services.xserver.desktopManager.gnome.extraGSettingsOverrides = '' services.desktopManager.gnome.extraGSettingsOverrides = ''
[org.gnome.desktop.input-sources] [org.gnome.desktop.input-sources]
sources=[('xkb', 'gb'), ('xkb', 'mozc-jp')] sources=[('xkb', 'gb'), ('xkb', 'mozc-jp')]
@ -40,7 +40,6 @@
gnome-software gnome-software
totem totem
epiphany epiphany
evince
]; ];
programs.gnome-terminal.enable = false; programs.gnome-terminal.enable = false;
programs.geary.enable = false; programs.geary.enable = false;

76
flake.lock generated
View file

@ -10,11 +10,11 @@
"systems": "systems" "systems": "systems"
}, },
"locked": { "locked": {
"lastModified": 1754433428, "lastModified": 1762618334,
"narHash": "sha256-NA/FT2hVhKDftbHSwVnoRTFhes62+7dxZbxj5Gxvghs=", "narHash": "sha256-wyT7Pl6tMFbFrs8Lk/TlEs81N6L+VSybPfiIgzU8lbQ=",
"owner": "ryantm", "owner": "ryantm",
"repo": "agenix", "repo": "agenix",
"rev": "9edb1787864c4f59ae5074ad498b6272b3ec308d", "rev": "fcdea223397448d35d9b31f798479227e80183f6",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -26,11 +26,11 @@
"arkenfox-userjs": { "arkenfox-userjs": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1755109759, "lastModified": 1762131136,
"narHash": "sha256-+DN5bKev9IyefMikOqEWZf/u0flJbLAxwEotGhKSSS4=", "narHash": "sha256-LPDiiEPOZu5Ah5vCLyCMT3w1uoBhUjyqoPWCOiLVLnw=",
"owner": "arkenfox", "owner": "arkenfox",
"repo": "user.js", "repo": "user.js",
"rev": "9103afafff2b5287b495c1a1268968fdb447d66f", "rev": "0f14e030b3a9391e761c03ce3c260730a78a4db6",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -72,11 +72,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1756719547, "lastModified": 1762286984,
"narHash": "sha256-N9gBKUmjwRKPxAafXEk1EGadfk2qDZPBQp4vXWPHINQ=", "narHash": "sha256-9I2H9x5We6Pl+DBYHjR1s3UT8wgwcpAH03kn9CqtdQc=",
"owner": "serokell", "owner": "serokell",
"repo": "deploy-rs", "repo": "deploy-rs",
"rev": "125ae9e3ecf62fb2c0fd4f2d894eb971f1ecaed2", "rev": "9c870f63e28ec1e83305f7f6cb73c941e699f74f",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -129,11 +129,11 @@
}, },
"locked": { "locked": {
"dir": "pkgs/firefox-addons", "dir": "pkgs/firefox-addons",
"lastModified": 1757822625, "lastModified": 1765253041,
"narHash": "sha256-w+V97GrUZK5Lt50DOzhmFGPf3coxfj4TTNHa0rHswuE=", "narHash": "sha256-D4/vwhvX26KW3gux9CCiJ87zc5UOiLTFlfG3+5h0VRI=",
"owner": "rycee", "owner": "rycee",
"repo": "nur-expressions", "repo": "nur-expressions",
"rev": "5a1d5f5453eef0ea2510d9860d2f803911df6776", "rev": "687d6eb2a8503afdeaaf9e230fb72f880daa7252",
"type": "gitlab" "type": "gitlab"
}, },
"original": { "original": {
@ -178,11 +178,11 @@
"flake-compat_3": { "flake-compat_3": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1747046372, "lastModified": 1761588595,
"narHash": "sha256-CIVLLkVgvHYbgI2UpXvIIBJ12HWgX+fjA8Xf8PUmqCY=", "narHash": "sha256-XKUZz9zewJNUj46b4AJdiRZJAvSZ0Dqj2BNfXvFlJC4=",
"owner": "edolstra", "owner": "edolstra",
"repo": "flake-compat", "repo": "flake-compat",
"rev": "9100a0f413b0c601e0533d1d94ffd501ce2e7885", "rev": "f387cd2afec9419c8ee37694406ca490c3f34ee5",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -198,11 +198,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1756770412, "lastModified": 1763759067,
"narHash": "sha256-+uWLQZccFHwqpGqr2Yt5VsW/PbeJVTn9Dk6SHWhNRPw=", "narHash": "sha256-LlLt2Jo/gMNYAwOgdRQBrsRoOz7BPRkzvNaI/fzXi2Q=",
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "flake-parts", "repo": "flake-parts",
"rev": "4524271976b625a4a605beefd893f270620fd751", "rev": "2cccadc7357c0ba201788ae99c4dfa90728ef5e0",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -299,16 +299,16 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1757808926, "lastModified": 1765170903,
"narHash": "sha256-K6PEI5PYY94TVMH0mX3MbZNYFme7oNRKml/85BpRRAo=", "narHash": "sha256-O8VTGey1xxiRW+Fpb+Ps9zU7ShmxUA1a7cMTcENCVNg=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "f21d9167782c086a33ad53e2311854a8f13c281e", "rev": "20561be440a11ec57a89715480717baf19fe6343",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nix-community", "owner": "nix-community",
"ref": "release-25.05", "ref": "release-25.11",
"repo": "home-manager", "repo": "home-manager",
"type": "github" "type": "github"
} }
@ -353,11 +353,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1757943327, "lastModified": 1764440730,
"narHash": "sha256-w6cDExPBqbq7fTLo4dZ1ozDGeq3yV6dSN4n/sAaS6OM=", "narHash": "sha256-ZlJTNLUKQRANlLDomuRWLBCH5792x+6XUJ4YdFRjtO4=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "67a709cfe5d0643dafd798b0b613ed579de8be05", "rev": "9154f4569b6cdfd3c595851a6ba51bfaa472d9f3",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -368,27 +368,27 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1757810152, "lastModified": 1764983851,
"narHash": "sha256-Vp9K5ol6h0J90jG7Rm4RWZsCB3x7v5VPx588TQ1dkfs=", "narHash": "sha256-y7RPKl/jJ/KAP/VKLMghMgXTlvNIJMHKskl8/Uuar7o=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "9a094440e02a699be5c57453a092a8baf569bdad", "rev": "d9bc5c7dceb30d8d6fafa10aeb6aa8a48c218454",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "NixOS",
"ref": "nixos-25.05", "ref": "nixos-25.11",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1757745802, "lastModified": 1765186076,
"narHash": "sha256-hLEO2TPj55KcUFUU1vgtHE9UEIOjRcH/4QbmfHNF820=", "narHash": "sha256-hM20uyap1a0M9d344I692r+ik4gTMyj60cQWO+hAYP8=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "c23193b943c6c689d70ee98ce3128239ed9e32d1", "rev": "addf7cf5f383a3101ecfba091b98d0a1263dc9b8",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -423,11 +423,11 @@
"systems": "systems_3" "systems": "systems_3"
}, },
"locked": { "locked": {
"lastModified": 1757924682, "lastModified": 1765269853,
"narHash": "sha256-YNnHjDE2uc8Z9+H97NoAhvm8cP8/8vctae0HVgTCEPE=", "narHash": "sha256-F/54YLlz7FEmE45lWXyhVXPaBRHy31ttuPhGCbXH+Os=",
"owner": "astro", "owner": "astro",
"repo": "nix-openwrt-imagebuilder", "repo": "nix-openwrt-imagebuilder",
"rev": "16c20f7b8cde74a9751ace674db42608c86d129b", "rev": "885f9ccc245b8a1d9a537bb28b3fbbd12a038165",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -445,11 +445,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1757953049, "lastModified": 1765016596,
"narHash": "sha256-PwWGLIn8XNXSP4iRno2vK6b/Hy/mo6qZuRDzSB1VA4Y=", "narHash": "sha256-rhSqPNxDVow7OQKi4qS5H8Au0P4S3AYbawBSmJNUtBQ=",
"owner": "cachix", "owner": "cachix",
"repo": "pre-commit-hooks.nix", "repo": "pre-commit-hooks.nix",
"rev": "d1d8fe5cece10276fb7108e17c9a5efc07926ce5", "rev": "548fc44fca28a5e81c5d6b846e555e6b9c2a5a3c",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -13,7 +13,7 @@ rec {
}; };
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable"; nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
@ -32,7 +32,7 @@ rec {
flake-utils.url = "github:numtide/flake-utils"; flake-utils.url = "github:numtide/flake-utils";
home-manager = { home-manager = {
url = "github:nix-community/home-manager/release-25.05"; url = "github:nix-community/home-manager/release-25.11";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };

View file

@ -1,6 +1,7 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
hardware.xone.enable = true; # TODO currently broken
hardware.xpadneo.enable = true; # hardware.xone.enable = true;
# hardware.xpadneo.enable = true;
} }

View file

@ -2,5 +2,5 @@
with pkgs; with pkgs;
{ {
home.packages = [ AusweisApp2 ]; home.packages = [ ausweisapp ];
} }

View file

@ -8,7 +8,7 @@
with lib; with lib;
let let
firefox-addons = inputs.firefox-addons.packages.${pkgs.system}; firefox-addons = inputs.firefox-addons.packages.${pkgs.stdenv.hostPlatform.system};
inherit (import ../modules/firefox/common.nix { inherit config lib pkgs; }) mkConfig; inherit (import ../modules/firefox/common.nix { inherit config lib pkgs; }) mkConfig;

View file

@ -6,7 +6,7 @@
}: }:
let let
firefox-addons = inputs.firefox-addons.packages.${pkgs.system}; firefox-addons = inputs.firefox-addons.packages.${pkgs.stdenv.hostPlatform.system};
commonSettings = { commonSettings = {
# Disable DNS over HTTPS (use system DNS, i.e. VPN's DNS) # Disable DNS over HTTPS (use system DNS, i.e. VPN's DNS)

View file

@ -17,10 +17,10 @@
nodePackages.typescript-language-server nodePackages.typescript-language-server
# not working like variant from node_modules # not working like variant from node_modules
# nodePackages.graphql-language-service-cli # nodePackages.graphql-language-service-cli
nodePackages.dockerfile-language-server-nodejs dockerfile-language-server
haskellPackages.haskell-language-server haskellPackages.haskell-language-server
rust-analyzer rust-analyzer
sumneko-lua-language-server lua-language-server
marksman marksman
# linters & formatters # linters & formatters

View file

@ -42,7 +42,7 @@ with pkgs;
home.packages = with pkgs; [ home.packages = with pkgs; [
# system # system
gparted gparted
gnome-firmware-updater gnome-firmware
mission-center mission-center
# productivity # productivity

View file

@ -43,7 +43,7 @@
home.packages = with pkgs; [ home.packages = with pkgs; [
# system # system
gparted gparted
gnome-firmware-updater gnome-firmware
resources resources
# productivity # productivity

View file

@ -10,6 +10,6 @@
home.packages = with pkgs; [ home.packages = with pkgs; [
unstable.wineWowPackages.stable unstable.wineWowPackages.stable
lutris lutris
heroic unstable.heroic
]; ];
} }

View file

@ -28,7 +28,7 @@
signing = { signing = {
signByDefault = true; signByDefault = true;
}; };
extraConfig = { settings = {
init = { init = {
defaultBranch = "main"; defaultBranch = "main";
}; };
@ -41,8 +41,7 @@
abbreviateCommands = true; abbreviateCommands = true;
missingCommitsCheck = "warn"; missingCommitsCheck = "warn";
}; };
}; alias = {
aliases = {
# usage: git mr <source> <MR number> (git mr origin 1010) # usage: git mr <source> <MR number> (git mr origin 1010)
mr = "!sh -c 'git fetch $1 merge-requests/$2/head:mr-$1-$2 && git checkout mr-$1-$2' -"; mr = "!sh -c 'git fetch $1 merge-requests/$2/head:mr-$1-$2 && git checkout mr-$1-$2' -";
# usage: git pr <source> <PR number> (git pr origin 1010) # usage: git pr <source> <PR number> (git pr origin 1010)
@ -52,4 +51,5 @@
clean-branches = ''!sh -c 'git branch --merged "''${1:-main}" | egrep -v "(^\*|master|main|staging|production)" | xargs git branch -d' -''; clean-branches = ''!sh -c 'git branch --merged "''${1:-main}" | egrep -v "(^\*|master|main|staging|production)" | xargs git branch -d' -'';
}; };
}; };
};
} }

View file

@ -22,6 +22,7 @@ in
vendorPath = ".mullvad"; vendorPath = ".mullvad";
configPath = "${vendorPath}/mullvadbrowser"; configPath = "${vendorPath}/mullvadbrowser";
}; };
platforms.darwin = null;
}) })
(mkFirefoxProfileBinModule { (mkFirefoxProfileBinModule {
inherit modulePath name packageName; inherit modulePath name packageName;

View file

@ -22,6 +22,7 @@ in
vendorPath = ".tor project"; vendorPath = ".tor project";
configPath = "${vendorPath}/firefox"; configPath = "${vendorPath}/firefox";
}; };
platforms.darwin = null;
}) })
(mkFirefoxProfileBinModule { (mkFirefoxProfileBinModule {
inherit modulePath name packageName; inherit modulePath name packageName;

View file

@ -36,10 +36,12 @@ in
{ {
programs.git = { programs.git = {
# fix/workaround for https://github.com/NixOS/nixpkgs/issues/169193 # fix/workaround for https://github.com/NixOS/nixpkgs/issues/169193
extraConfig.safe.directory = "/etc/nixos"; settings = {
safe.directory = "/etc/nixos";
userName = profiles."${cfg.defaultProfile}".name; user = {
userEmail = profiles."${cfg.defaultProfile}".email; inherit (profiles."${cfg.defaultProfile}") name email;
};
};
signing = { signing = {
key = profiles."${cfg.defaultProfile}".signingKey; key = profiles."${cfg.defaultProfile}".signingKey;
}; };

View file

@ -1,4 +1,9 @@
{ inputs, config, ... }: {
inputs,
config,
pkgs,
...
}:
{ {
imports = [ imports = [
@ -41,7 +46,7 @@
]; ];
services.ollama = { services.ollama = {
acceleration = "rocm"; package = pkgs.unstable.ollama-rocm;
rocmOverrideGfx = "11.5.0"; rocmOverrideGfx = "11.5.0";
}; };

View file

@ -1,4 +1,9 @@
{ inputs, config, ... }: {
inputs,
config,
pkgs,
...
}:
{ {
imports = [ imports = [
@ -54,7 +59,7 @@
]; ];
networking.firewall.allowedUDPPorts = [ networking.firewall.allowedUDPPorts = [
24727 # AusweisApp2 24727 # ausweisapp
]; ];
networking.hosts = { networking.hosts = {
# force IPv4, see: https://github.com/transmission/transmission/issues/407 # force IPv4, see: https://github.com/transmission/transmission/issues/407
@ -62,8 +67,9 @@
}; };
services.ollama = { services.ollama = {
acceleration = "rocm"; package = pkgs.unstable.ollama-rocm;
rocmOverrideGfx = "10.3.1"; # gfx1031 not officially supported, gfx1030 is closest
rocmOverrideGfx = "10.3.0";
}; };
seven = { seven = {

View file

@ -2,6 +2,7 @@
config, config,
inputs, inputs,
pkgs, pkgs,
lib,
... ...
}: }:
@ -18,7 +19,8 @@
services.ollama = { services.ollama = {
enable = true; enable = true;
package = pkgs.unstable.ollama; package = lib.mkDefault pkgs.unstable.ollama-vulkan;
host = "0.0.0.0";
}; };
services.open-webui = { services.open-webui = {

View file

@ -1,7 +1,7 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
# for reader used with AusweisApp2 # for reader used with ausweisapp
services.pcscd.enable = true; services.pcscd.enable = true;
services.pcscd.plugins = with pkgs; [ services.pcscd.plugins = with pkgs; [
ccid ccid

View file

@ -11,7 +11,6 @@
# Users need to be in groups: libvirtd, qemu-libvirtd # Users need to be in groups: libvirtd, qemu-libvirtd
virtualisation.libvirtd.enable = true; virtualisation.libvirtd.enable = true;
virtualisation.libvirtd.qemu.runAsRoot = false; virtualisation.libvirtd.qemu.runAsRoot = false;
virtualisation.libvirtd.qemu.ovmf.enable = true;
virtualisation.libvirtd.qemu.swtpm.enable = true; virtualisation.libvirtd.qemu.swtpm.enable = true;
virtualisation.libvirtd.onBoot = "ignore"; virtualisation.libvirtd.onBoot = "ignore";
virtualisation.libvirtd.onShutdown = "shutdown"; virtualisation.libvirtd.onShutdown = "shutdown";