mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 14:01:34 +01:00
Upgrade to nixos 25.05
This commit is contained in:
parent
fce4ee95d7
commit
67b18d9c1d
16 changed files with 45 additions and 82 deletions
16
flake.lock
generated
16
flake.lock
generated
|
|
@ -177,16 +177,16 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1747688870,
|
"lastModified": 1747556831,
|
||||||
"narHash": "sha256-ypL9WAZfmJr5V70jEVzqGjjQzF0uCkz+AFQF7n9NmNc=",
|
"narHash": "sha256-Qb84nbYFFk0DzFeqVoHltS2RodAYY5/HZQKE8WnBDsc=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "d5f1f641b289553927b3801580598d200a501863",
|
"rev": "d0bbd221482c2713cccb80220f3c9d16a6e20a33",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"ref": "release-24.11",
|
"ref": "release-25.05",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
|
@ -284,16 +284,16 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1747676747,
|
"lastModified": 1747825515,
|
||||||
"narHash": "sha256-LXkWBVqilgx7Pohwqu/ABxDVw+Cmi5/Mj2S2mpUH0Fw=",
|
"narHash": "sha256-BWpMQymVI73QoKZdcVCxUCCK3GNvr/xa2Dc4DM1o2BE=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "72841a4a8761d1aed92ef6169a636872c986c76d",
|
"rev": "cd2812de55cf87df88a9e09bf3be1ce63d50c1a6",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"ref": "nixos-24.11",
|
"ref": "nixos-25.05",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2,14 +2,14 @@
|
||||||
inputs = {
|
inputs = {
|
||||||
flake-parts.url = "github:hercules-ci/flake-parts";
|
flake-parts.url = "github:hercules-ci/flake-parts";
|
||||||
|
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05";
|
||||||
|
|
||||||
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
|
|
||||||
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
||||||
|
|
||||||
home-manager = {
|
home-manager = {
|
||||||
url = "github:nix-community/home-manager/release-24.11";
|
url = "github:nix-community/home-manager/release-25.05";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
pkgs-unstable,
|
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
@ -10,7 +9,6 @@
|
||||||
config = lib.mkIf config.myConfig.deUtils.hypridle.enable {
|
config = lib.mkIf config.myConfig.deUtils.hypridle.enable {
|
||||||
services.hypridle = {
|
services.hypridle = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs-unstable.hypridle;
|
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
general = {
|
general = {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
pkgs-unstable,
|
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}@moduleArgs:
|
}@moduleArgs:
|
||||||
|
|
@ -18,7 +17,6 @@ in
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
programs.hyprlock = {
|
programs.hyprlock = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs-unstable.hyprlock;
|
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
general.immediate_render = true;
|
general.immediate_render = true;
|
||||||
|
|
|
||||||
|
|
@ -1,15 +1,10 @@
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
inputs,
|
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}@moduleArgs:
|
}@moduleArgs:
|
||||||
{
|
{
|
||||||
# Use unstable hyprland module for nullable package
|
|
||||||
disabledModules = [ "services/window-managers/hyprland.nix" ];
|
|
||||||
imports = [ "${inputs.home-manager-unstable}/modules/services/window-managers/hyprland.nix" ];
|
|
||||||
|
|
||||||
options.myConfig.de.hyprland.enable = lib.mkEnableOption "" // {
|
options.myConfig.de.hyprland.enable = lib.mkEnableOption "" // {
|
||||||
default = moduleArgs.osConfig.myConfig.de.hyprland.enable or false;
|
default = moduleArgs.osConfig.myConfig.de.hyprland.enable or false;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -69,7 +69,7 @@
|
||||||
|
|
||||||
"special:music, gapsout:30, on-created-empty:spotify"
|
"special:music, gapsout:30, on-created-empty:spotify"
|
||||||
"special:chat, gapsout:30, on-created-empty:discord"
|
"special:chat, gapsout:30, on-created-empty:discord"
|
||||||
"special:flake, gapsout:30, on-created-empty:kitty --directory ${config.home.sessionVariables.FLAKE}"
|
"special:flake, gapsout:30, on-created-empty:kitty --directory ${config.home.sessionVariables.NH_FLAKE}"
|
||||||
"special:monitor, gapsout:30, on-created-empty:kitty btm"
|
"special:monitor, gapsout:30, on-created-empty:kitty btm"
|
||||||
"special:files, gapsout:30, on-created-empty:nemo"
|
"special:files, gapsout:30, on-created-empty:nemo"
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,6 @@
|
||||||
config,
|
config,
|
||||||
inputs,
|
inputs,
|
||||||
pkgs,
|
pkgs,
|
||||||
pkgs-unstable,
|
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
@ -12,7 +11,6 @@
|
||||||
config = lib.mkIf config.myConfig.firefox.enable {
|
config = lib.mkIf config.myConfig.firefox.enable {
|
||||||
programs.firefox = {
|
programs.firefox = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs-unstable.firefox;
|
|
||||||
|
|
||||||
profiles.default = {
|
profiles.default = {
|
||||||
settings =
|
settings =
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
initExtra = ''
|
initContent = ''
|
||||||
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-Z}'
|
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-Z}'
|
||||||
zstyle ':completion:*' list-colors ''${(s.:.)LS_COLORS}
|
zstyle ':completion:*' list-colors ''${(s.:.)LS_COLORS}
|
||||||
zstyle ':completion:*' menu no
|
zstyle ':completion:*' menu no
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
initExtraFirst = ''
|
initContent = lib.mkBefore ''
|
||||||
(( ''${+commands[direnv]} )) && emulate zsh -c "$(direnv export zsh)"
|
(( ''${+commands[direnv]} )) && emulate zsh -c "$(direnv export zsh)"
|
||||||
|
|
||||||
if [[ -r "''${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-''${(%):-%n}.zsh" ]]; then
|
if [[ -r "''${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-''${(%):-%n}.zsh" ]]; then
|
||||||
|
|
|
||||||
|
|
@ -12,9 +12,8 @@
|
||||||
config = lib.mkIf config.myConfig.vscode.enable {
|
config = lib.mkIf config.myConfig.vscode.enable {
|
||||||
programs.vscode = {
|
programs.vscode = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs-unstable.vscode-with-extensions.override {
|
package = pkgs-unstable.vscodium;
|
||||||
vscode = pkgs-unstable.vscodium;
|
profiles.default.extensions =
|
||||||
vscodeExtensions =
|
|
||||||
let
|
let
|
||||||
inherit (inputs.nix-vscode-extensions.extensions.${pkgs.system}) open-vsx;
|
inherit (inputs.nix-vscode-extensions.extensions.${pkgs.system}) open-vsx;
|
||||||
in
|
in
|
||||||
|
|
@ -28,7 +27,6 @@
|
||||||
open-vsx.pkief.material-icon-theme
|
open-vsx.pkief.material-icon-theme
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
|
||||||
|
|
||||||
systemd.user.tmpfiles.rules =
|
systemd.user.tmpfiles.rules =
|
||||||
let
|
let
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,5 @@
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
inputs,
|
|
||||||
pkgs-unstable,
|
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
@ -9,9 +7,6 @@ let
|
||||||
cfg = config.myConfig.actualbudget;
|
cfg = config.myConfig.actualbudget;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
disabledModules = [ "services/web-apps/actual.nix" ];
|
|
||||||
imports = [ "${inputs.nixpkgs-unstable}/nixos/modules/services/web-apps/actual.nix" ];
|
|
||||||
|
|
||||||
options.myConfig.actualbudget = {
|
options.myConfig.actualbudget = {
|
||||||
enable = lib.mkEnableOption "";
|
enable = lib.mkEnableOption "";
|
||||||
subdomain = lib.mkOption {
|
subdomain = lib.mkOption {
|
||||||
|
|
@ -33,7 +28,6 @@ in
|
||||||
|
|
||||||
services.actual = {
|
services.actual = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs-unstable.actual-server;
|
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
hostname = "localhost";
|
hostname = "localhost";
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
pkgs-unstable,
|
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
@ -8,20 +7,7 @@
|
||||||
options.myConfig.de.hyprland.enable = lib.mkEnableOption "";
|
options.myConfig.de.hyprland.enable = lib.mkEnableOption "";
|
||||||
|
|
||||||
config = lib.mkIf config.myConfig.de.hyprland.enable {
|
config = lib.mkIf config.myConfig.de.hyprland.enable {
|
||||||
programs = {
|
programs.hyprland.enable = true;
|
||||||
hyprland = {
|
|
||||||
enable = true;
|
|
||||||
package = pkgs-unstable.hyprland;
|
|
||||||
portalPackage = pkgs-unstable.xdg-desktop-portal-hyprland;
|
|
||||||
};
|
|
||||||
|
|
||||||
xwayland.package = pkgs-unstable.xwayland;
|
|
||||||
};
|
|
||||||
|
|
||||||
hardware.graphics = {
|
|
||||||
package = pkgs-unstable.mesa;
|
|
||||||
package32 = pkgs-unstable.pkgsi686Linux.mesa;
|
|
||||||
};
|
|
||||||
|
|
||||||
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,6 @@
|
||||||
config = lib.mkIf config.myConfig.geoclue.enable {
|
config = lib.mkIf config.myConfig.geoclue.enable {
|
||||||
services.geoclue2 = {
|
services.geoclue2 = {
|
||||||
enable = true;
|
enable = true;
|
||||||
geoProviderUrl = "https://beacondb.net/v1/geolocate";
|
|
||||||
|
|
||||||
appConfig.gammastep = {
|
appConfig.gammastep = {
|
||||||
isAllowed = true;
|
isAllowed = true;
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,9 @@
|
||||||
|
|
||||||
config = lib.mkIf config.myConfig.sound.enable {
|
config = lib.mkIf config.myConfig.sound.enable {
|
||||||
security.rtkit.enable = true;
|
security.rtkit.enable = true;
|
||||||
hardware.pulseaudio.enable = false;
|
services = {
|
||||||
services.pipewire = {
|
pulseaudio.enable = false;
|
||||||
|
pipewire = {
|
||||||
enable = true;
|
enable = true;
|
||||||
wireplumber.enable = true;
|
wireplumber.enable = true;
|
||||||
pulse.enable = true;
|
pulse.enable = true;
|
||||||
|
|
@ -15,4 +16,5 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,13 @@
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
pkgs-unstable,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
nodes = config.myConfig.tailscale.caddyServe |> lib.filterAttrs (_: value: value.enable);
|
nodes = config.myConfig.tailscale.caddyServe |> lib.filterAttrs (_: value: value.enable);
|
||||||
|
|
||||||
caddy-tailscale = pkgs-unstable.caddy.withPlugins {
|
caddy-tailscale = pkgs.caddy.withPlugins {
|
||||||
plugins = [ "github.com/tailscale/caddy-tailscale@v0.0.0-20250207163903-69a970c84556" ];
|
plugins = [ "github.com/tailscale/caddy-tailscale@v0.0.0-20250207163903-69a970c84556" ];
|
||||||
hash = "sha256-wt3+xCsT83RpPySbL7dKVwgqjKw06qzrP2Em+SxEPto=";
|
hash = "sha256-wt3+xCsT83RpPySbL7dKVwgqjKw06qzrP2Em+SxEPto=";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
{
|
{
|
||||||
inputs,
|
inputs,
|
||||||
pkgs,
|
pkgs,
|
||||||
pkgs-unstable,
|
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
|
|
@ -22,7 +21,7 @@ in
|
||||||
{
|
{
|
||||||
imports = [ ../shared-home.nix ];
|
imports = [ ../shared-home.nix ];
|
||||||
|
|
||||||
home.sessionVariables.FLAKE = "~/Projects/nixos-config";
|
home.sessionVariables.NH_FLAKE = "~/Projects/nixos-config";
|
||||||
|
|
||||||
myConfig = {
|
myConfig = {
|
||||||
kitty.enable = true;
|
kitty.enable = true;
|
||||||
|
|
@ -41,17 +40,17 @@ in
|
||||||
|
|
||||||
pkgs.nemo-with-extensions
|
pkgs.nemo-with-extensions
|
||||||
pkgs.celluloid
|
pkgs.celluloid
|
||||||
pkgs-unstable.spotify
|
pkgs.spotify
|
||||||
pkgs.obsidian
|
pkgs.obsidian
|
||||||
pkgs-unstable.anki
|
pkgs.anki
|
||||||
pkgs-unstable.discord
|
pkgs.discord
|
||||||
(lazyDesktopApp pkgs.brave)
|
(lazyDesktopApp pkgs.brave)
|
||||||
|
|
||||||
pkgs.jetbrains.idea-community
|
pkgs.jetbrains.idea-community
|
||||||
pkgs.jetbrains.goland
|
pkgs.jetbrains.goland
|
||||||
pkgs.jetbrains.clion
|
pkgs.jetbrains.clion
|
||||||
pkgs.qtcreator
|
pkgs.qtcreator
|
||||||
pkgs-unstable.logisim-evolution
|
pkgs.logisim-evolution
|
||||||
|
|
||||||
pkgs.libreoffice
|
pkgs.libreoffice
|
||||||
pkgs.hunspell
|
pkgs.hunspell
|
||||||
|
|
@ -61,12 +60,8 @@ in
|
||||||
pkgs.corefonts
|
pkgs.corefonts
|
||||||
pkgs.roboto
|
pkgs.roboto
|
||||||
pkgs.open-sans
|
pkgs.open-sans
|
||||||
(pkgs.nerdfonts.override {
|
pkgs.nerd-fonts.jetbrains-mono
|
||||||
fonts = [
|
pkgs.nerd-fonts.symbols-only
|
||||||
"JetBrainsMono"
|
|
||||||
"NerdFontsSymbolsOnly"
|
|
||||||
];
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
|
|
||||||
fonts.fontconfig.enable = true;
|
fonts.fontconfig.enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue