1
0
mirror of http://code.capytal.cc/dot013/spacestation.git synced 2026-01-15 23:46:13 -03:00
Files
spacestation/flake.nix

80 lines
1.9 KiB
Nix
Raw Normal View History

{
inputs = {
2025-04-01 10:05:37 -03:00
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
2024-09-18 09:57:17 -03:00
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
home-manager = {
2025-04-01 10:05:37 -03:00
url = "github:nix-community/home-manager/release-24.11";
inputs.nixpkgs.follows = "nixpkgs";
};
sops-nix = {
url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-index-database = {
url = "github:Mic92/nix-index-database";
inputs.nixpkgs.follows = "nixpkgs";
};
base16 = {
url = "github:SenchoPens/base16.nix";
inputs.nixpkgs.follows = "nixpkgs";
};
2024-09-18 09:58:09 -03:00
2025-04-01 10:06:41 -03:00
capytalcc = {
url = "git+https://forge.capytal.company/capytal/capytal.cc";
# inputs.nixpkgs.follows = "nixpkgs";
};
2024-12-17 21:04:04 -03:00
keikoswork = {
url = "git+https://forge.capytal.company/guz013/keikos.work";
# inputs.nixpkgs.follows = "nixpkgs";
2024-09-18 09:58:09 -03:00
};
dot013-nix = {
url = "git+https://forge.capytal.company/dot013/nix";
};
};
2024-06-16 20:08:29 -03:00
outputs = {
nixpkgs,
home-manager,
2024-09-18 09:57:17 -03:00
nixpkgs-unstable,
2024-06-16 20:08:29 -03:00
...
} @ inputs: {
2024-09-18 09:57:17 -03:00
nixosConfigurations = let
systemSettings = {
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 {
2024-06-16 20:08:29 -03:00
spacestation = nixpkgs.lib.nixosSystem {
specialArgs = {
inherit inputs;
2024-09-18 09:57:17 -03:00
inherit pkgs;
inherit pkgs-unstable;
};
2024-06-16 20:08:29 -03:00
modules = [
inputs.home-manager.nixosModules.default
./configuration.nix
];
};
};
homeConfigurations.worm = inputs.dot013-nix.homeConfigurations."x86_64-linux".worm;
2024-06-16 20:08:29 -03:00
};
}