mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 18:41: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
|
|
@ -1,7 +1,5 @@
|
|||
{
|
||||
config,
|
||||
inputs,
|
||||
pkgs-unstable,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
|
|
@ -9,9 +7,6 @@ let
|
|||
cfg = config.myConfig.actualbudget;
|
||||
in
|
||||
{
|
||||
disabledModules = [ "services/web-apps/actual.nix" ];
|
||||
imports = [ "${inputs.nixpkgs-unstable}/nixos/modules/services/web-apps/actual.nix" ];
|
||||
|
||||
options.myConfig.actualbudget = {
|
||||
enable = lib.mkEnableOption "";
|
||||
subdomain = lib.mkOption {
|
||||
|
|
@ -33,7 +28,6 @@ in
|
|||
|
||||
services.actual = {
|
||||
enable = true;
|
||||
package = pkgs-unstable.actual-server;
|
||||
|
||||
settings = {
|
||||
hostname = "localhost";
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
{
|
||||
config,
|
||||
pkgs-unstable,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
|
|
@ -8,20 +7,7 @@
|
|||
options.myConfig.de.hyprland.enable = lib.mkEnableOption "";
|
||||
|
||||
config = lib.mkIf config.myConfig.de.hyprland.enable {
|
||||
programs = {
|
||||
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;
|
||||
};
|
||||
programs.hyprland.enable = true;
|
||||
|
||||
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@
|
|||
config = lib.mkIf config.myConfig.geoclue.enable {
|
||||
services.geoclue2 = {
|
||||
enable = true;
|
||||
geoProviderUrl = "https://beacondb.net/v1/geolocate";
|
||||
|
||||
appConfig.gammastep = {
|
||||
isAllowed = true;
|
||||
|
|
|
|||
|
|
@ -4,14 +4,16 @@
|
|||
|
||||
config = lib.mkIf config.myConfig.sound.enable {
|
||||
security.rtkit.enable = true;
|
||||
hardware.pulseaudio.enable = false;
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
wireplumber.enable = true;
|
||||
pulse.enable = true;
|
||||
alsa = {
|
||||
services = {
|
||||
pulseaudio.enable = false;
|
||||
pipewire = {
|
||||
enable = true;
|
||||
support32Bit = true;
|
||||
wireplumber.enable = true;
|
||||
pulse.enable = true;
|
||||
alsa = {
|
||||
enable = true;
|
||||
support32Bit = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
{
|
||||
config,
|
||||
pkgs-unstable,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
let
|
||||
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" ];
|
||||
hash = "sha256-wt3+xCsT83RpPySbL7dKVwgqjKw06qzrP2Em+SxEPto=";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue