⬆️ [shared] Upgrade to NixOS 25.05

This commit is contained in:
2025-05-26 20:27:34 +02:00
parent 53329b8d1c
commit fc89c377e8
14 changed files with 58 additions and 63 deletions

View File

@ -17,8 +17,6 @@ My NixOS configurations with dotfiles for my systems.
| Runner | Rofi |
| Fetch | Fastfetch |
Requires Nix-channel with [NixOS 24.11](https://nixos.org/)
## Commands
First time run, will create a shell with the minimum dependencies in order to download the rest

72
flake.lock generated
View File

@ -49,11 +49,11 @@
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1746650299,
"narHash": "sha256-4+pxk1KcSH8ww3tgN808nNJ3E7Q8gNWI+U0sesW7mBQ=",
"lastModified": 1748080874,
"narHash": "sha256-sUebEzAkrY8Aq5G0GHFyRddmRNGP/a2iTtV7ISNvi/c=",
"owner": "catppuccin",
"repo": "nix",
"rev": "f746600f15b69df05c84e3037749a3be5b1276d1",
"rev": "0ba11b12be81f0849a89ed17ab635164ea8f0112",
"type": "github"
},
"original": {
@ -67,11 +67,11 @@
"nixpkgs": "nixpkgs_2"
},
"locked": {
"lastModified": 1745469639,
"narHash": "sha256-LNIzSWQ+xoVpanW4NKdN7Np8z9CtoU2+yXaztH1Upt4=",
"lastModified": 1748262720,
"narHash": "sha256-b9SRqnglNtyWE+ivBcIyyGybrDN1uy9zEy2D6X284bo=",
"owner": "rishabh5321",
"repo": "grayjay-flake",
"rev": "da25d4ae2cd44954d6655ceb4781e766c2b1cccb",
"rev": "b523be9dba411e9e7e5f36f71676dddede93c664",
"type": "github"
},
"original": {
@ -87,16 +87,16 @@
]
},
"locked": {
"lastModified": 1746171682,
"narHash": "sha256-EyXUNSa+H+YvGVuQJP1nZskXAowxKYp79RNUsNdQTj4=",
"lastModified": 1748226808,
"narHash": "sha256-GaBRgxjWO1bAQa8P2+FDxG4ANBVhjnSjBms096qQdxo=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "50eee705bbdbac942074a8c120e8194185633675",
"rev": "83665c39fa688bd6a1f7c43cf7997a70f6a109f9",
"type": "github"
},
"original": {
"owner": "nix-community",
"ref": "release-24.11",
"ref": "release-25.05",
"repo": "home-manager",
"type": "github"
}
@ -128,11 +128,11 @@
"nixpkgs": "nixpkgs_3"
},
"locked": {
"lastModified": 1745885816,
"narHash": "sha256-yuIb6/gGcII+2YgtTLcYdga0pcL63B18xQ/oitOhg7k=",
"lastModified": 1748203813,
"narHash": "sha256-VCwlSYJjXFhQSdwjk7FdeyALIzknOM1TavCDt3KLgB8=",
"owner": "Jas-SinghFSU",
"repo": "HyprPanel",
"rev": "0c82ce9704c8063be8d8f60443071c91943eb68c",
"rev": "12d6960e198cf5107aed84a4b21e95c826d43dad",
"type": "github"
},
"original": {
@ -159,27 +159,27 @@
},
"nixpkgs-stable": {
"locked": {
"lastModified": 1746557022,
"narHash": "sha256-QkNoyEf6TbaTW5UZYX0OkwIJ/ZMeKSSoOMnSDPQuol0=",
"lastModified": 1748162331,
"narHash": "sha256-rqc2RKYTxP3tbjA+PB3VMRQNnjesrT0pEofXQTrMsS8=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "1d3aeb5a193b9ff13f63f4d9cc169fb88129f860",
"rev": "7c43f080a7f28b2774f3b3f43234ca11661bf334",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-24.11",
"ref": "nixos-25.05",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1746663147,
"narHash": "sha256-Ua0drDHawlzNqJnclTJGf87dBmaO/tn7iZ+TCkTRpRc=",
"lastModified": 1748026106,
"narHash": "sha256-6m1Y3/4pVw1RWTsrkAK2VMYSzG4MMIj7sqUy7o8th1o=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "dda3dcd3fe03e991015e9a74b22d35950f264a54",
"rev": "063f43f2dbdef86376cc29ad646c45c46e93234c",
"type": "github"
},
"original": {
@ -191,11 +191,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1745234285,
"narHash": "sha256-GfpyMzxwkfgRVN0cTGQSkTC0OHhEkv3Jf6Tcjm//qZ0=",
"lastModified": 1748026106,
"narHash": "sha256-6m1Y3/4pVw1RWTsrkAK2VMYSzG4MMIj7sqUy7o8th1o=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "c11863f1e964833214b767f4a369c6e6a7aba141",
"rev": "063f43f2dbdef86376cc29ad646c45c46e93234c",
"type": "github"
},
"original": {
@ -223,16 +223,16 @@
},
"nixpkgs_4": {
"locked": {
"lastModified": 1746557022,
"narHash": "sha256-QkNoyEf6TbaTW5UZYX0OkwIJ/ZMeKSSoOMnSDPQuol0=",
"lastModified": 1748162331,
"narHash": "sha256-rqc2RKYTxP3tbjA+PB3VMRQNnjesrT0pEofXQTrMsS8=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "1d3aeb5a193b9ff13f63f4d9cc169fb88129f860",
"rev": "7c43f080a7f28b2774f3b3f43234ca11661bf334",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-24.11",
"ref": "nixos-25.05",
"repo": "nixpkgs",
"type": "github"
}
@ -274,11 +274,11 @@
]
},
"locked": {
"lastModified": 1746485181,
"narHash": "sha256-PxrrSFLaC7YuItShxmYbMgSuFFuwxBB+qsl9BZUnRvg=",
"lastModified": 1747603214,
"narHash": "sha256-lAblXm0VwifYCJ/ILPXJwlz0qNY07DDYdLD+9H+Wc8o=",
"owner": "mic92",
"repo": "sops-nix",
"rev": "e93ee1d900ad264d65e9701a5c6f895683433386",
"rev": "8d215e1c981be3aa37e47aeabd4e61bb069548fd",
"type": "github"
},
"original": {
@ -295,11 +295,11 @@
"systems": "systems"
},
"locked": {
"lastModified": 1746738008,
"narHash": "sha256-bIMysaVhNyjuFgt8QpnGZv0T4YMao26Vz5R/xfYAJO0=",
"lastModified": 1748147548,
"narHash": "sha256-9IaAQkgyF4PFtVyui8vF6oJah0iVcO9DaOefjdTMthE=",
"owner": "Gerg-L",
"repo": "spicetify-nix",
"rev": "a43fae27f33f8d3e793a6ca2946190cb24a00b03",
"rev": "f0595e3b59260457042450749eaec00a5a47db35",
"type": "github"
},
"original": {
@ -329,11 +329,11 @@
"nixpkgs": "nixpkgs_5"
},
"locked": {
"lastModified": 1746846243,
"narHash": "sha256-AV7zvbi1SVbGxODW7SKw3MhMkS1SQNNwp+XEky14rR4=",
"lastModified": 1748229380,
"narHash": "sha256-ulYljT6A8/v9QsMWnTsDYxa1/bG/22Ufy+KfrN4jA74=",
"owner": "0xc000022070",
"repo": "zen-browser-flake",
"rev": "efa32c933ca9f6341bbf57ede9a674d45ebe72e2",
"rev": "14207b0fc7caba6b6a9c7a9aecf7f901435daa93",
"type": "github"
},
"original": {

View File

@ -5,17 +5,17 @@
#
# ========= Official NixOS and HM Package Sources =========
#
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05";
# The next two are for pinning to stable vs unstable regardless of what the above is set to
# This is particularly useful when an upcoming stable release is in beta because you can effectively
# keep 'nixpkgs-stable' set to stable for critical packages while setting 'nixpkgs' to the beta branch to
# get a jump start on deprecation changes.
# See also 'stable-packages' and 'unstable-packages' overlays at 'overlays/default.nix"
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-24.11";
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-25.05";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager/release-24.11";
url = "github:nix-community/home-manager/release-25.05";
inputs.nixpkgs.follows = "nixpkgs";
};

View File

@ -34,11 +34,9 @@ switch *FLAGS:
switch-now *FLAGS:
nh os switch . {{FLAGS}}
update-all:
nix-channel --update
update-all *FLAGS:
nix flake update
just switch
just switch {{FLAGS}}
update PKG:
nix flake update {{PKG}}

View File

@ -5,6 +5,6 @@
services.gpg-agent = {
enable = true;
enableFishIntegration = true;
pinentryPackage = pkgs.pinentry-curses;
pinentry.package = pkgs.pinentry-curses;
};
}

View File

@ -1,5 +1,4 @@
{
outputs,
systemConfig,
common,
...
@ -12,9 +11,6 @@
stateVersion = systemConfig.version;
};
# Adds pkgs.unstable in order to fetch packages from unstable repositories
nixpkgs.overlays = [ outputs.overlays.unstable-packages ];
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
}

View File

@ -21,5 +21,8 @@
overlays = [ outputs.overlays.unstable-packages ];
};
system.stateVersion = systemConfig.version;
system = {
rebuild.enableNg = true;
stateVersion = systemConfig.version;
};
}

View File

@ -19,7 +19,7 @@
fontSize = 14;
in
{
assistant = {
agent = {
default_model = {
provider = "ollama";
model = "deepseek-r1:8b";

View File

@ -78,7 +78,7 @@
fail_color = "${theme.redRgb}";
fail_text = "<i>$FAIL <b>($ATTEMPTS)</b></i>";
capslock_color = "${theme.yellowRgb}";
position = "0, -47"; # TODO change to use % at 25.05
position = "0, -5%";
halign = "center";
valign = "center";
};

View File

@ -9,6 +9,11 @@ let
in
{
wayland.windowManager.hyprland.settings = {
ecosystem = {
no_update_news = true;
no_donation_nag = true;
};
monitor = [
", preferred, auto, 1"
];

View File

@ -1,4 +1,4 @@
{ pkgs, theme, ... }:
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
@ -8,10 +8,7 @@
fonts = {
fontconfig.enable = true;
packages = with pkgs; [
(nerdfonts.override { fonts = [ theme.nerdFont ]; })
jetbrains-mono
# The line below will replace the lines above in 25.05
# nerd-fonts.jetbrains-mono
nerd-fonts.jetbrains-mono
font-awesome
];
};

View File

@ -13,8 +13,6 @@
spotify
];
hardware.pulseaudio.enable = false; # Will be moved to services in 25.05
security.rtkit.enable = true; # Enable RealtimeKit for audio purposes
services = {
@ -28,6 +26,6 @@
# Uncomment the following line if you want to use JACK applications
# jack.enable = true;
};
# pulseaudio.enable = false; # TODO uncommenct at 25.05
pulseaudio.enable = false; # Will be moved to services in 25.05
};
}

View File

@ -11,7 +11,7 @@ in
# Select internationalisation properties.
i18n = {
defaultLocale = en;
supportedLocales = [
extraLocales = [
"${en}/${utf-8}"
"${nb}/${utf-8}"
];

View File

@ -3,6 +3,6 @@
{
environment.systemPackages = with pkgs; [
onlyoffice-desktopeditors
planify
# planify
];
}