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

78 lines
1.8 KiB
Nix
Raw Normal View History

{
description = ".homelab";
inputs = {
2024-09-09 16:55:46 -03:00
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
2024-09-18 09:57:17 -03:00
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
home-manager = {
2024-09-09 16:55:46 -03:00
url = "github:nix-community/home-manager/release-24.05";
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";
};
dot013-environment = {
url = "github:dot013/environment";
inputs.nixpkgs.follows = "nixpkgs-unstable";
};
base16 = {
url = "github:SenchoPens/base16.nix";
inputs.nixpkgs.follows = "nixpkgs";
};
2024-09-18 09:58:09 -03:00
frappurccino-forgejo = {
# url = "git+file:///home/guz/.projects/capytal/frappurccino-forgejo";
url = "git+https://forgejo.capytal.company/capytal/frappurccino-forgejo";
2024-09-18 09:58:09 -03:00
inputs.nixpkgs.follows = "nixpkgs";
};
};
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
];
};
};
2024-06-16 20:08:29 -03:00
};
}