feat: update to NixOS 25.05

This commit is contained in:
Guz
2025-09-13 11:29:00 -03:00
parent 40b0e0af69
commit ba4d59b117
2 changed files with 422 additions and 400 deletions

778
flake.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,10 +1,10 @@
{ {
inputs = { inputs = {
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";
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";
}; };
@@ -25,7 +25,7 @@
capytalcc = { capytalcc = {
url = "git+https://forge.capytal.company/capytal/capytal.cc"; url = "git+https://forge.capytal.company/capytal/capytal.cc";
# inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
keikoswork = { keikoswork = {
@@ -34,39 +34,26 @@
}; };
dot013-nix = { dot013-nix = {
url = "git+https://forge.capytal.company/dot013/nix"; url = "github:dot013/nix";
}; };
}; };
outputs = { outputs = {
self,
nixpkgs, nixpkgs,
home-manager, home-manager,
nixpkgs-unstable, nixpkgs-unstable,
... ...
} @ inputs: { } @ inputs: {
nixosConfigurations = let nixosConfigurations = {
systemSettings = { spacestation = nixpkgs.lib.nixosSystem rec {
system = "x86_64-linux"; system = "x86_64-linux";
};
pkgs = import nixpkgs {
system = systemSettings.system;
config = {
allowUnfree = true;
allowUnfreePredicate = _: true;
};
};
pkgs-unstable = import nixpkgs-unstable {
system = systemSettings.system;
config = {
allowUnfree = true;
allowUnfreePredicate = _: true;
};
};
in {
spacestation = nixpkgs.lib.nixosSystem {
specialArgs = { specialArgs = {
inherit inputs; pkgs-unstable = import nixpkgs-unstable {
inherit pkgs; inherit system;
inherit pkgs-unstable; config.allowUnfree = true;
config.allowUnfreePredicate = _: true;
};
inherit inputs self;
}; };
modules = [ modules = [
inputs.home-manager.nixosModules.default inputs.home-manager.nixosModules.default
@@ -74,6 +61,9 @@
]; ];
}; };
}; };
homeConfigurations.worm = inputs.dot013-nix.homeConfigurations."x86_64-linux".worm; nixosModules = {
medama = ./modules/medama.nix;
};
# homeConfigurations.worm = inputs.dot013-nix.homeConfigurations."x86_64-linux".worm;
}; };
} }