2024-06-15 18:29:36 -03:00
|
|
|
{
|
|
|
|
|
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";
|
2024-06-15 18:29:36 -03:00
|
|
|
|
|
|
|
|
home-manager = {
|
2025-04-01 10:05:37 -03:00
|
|
|
url = "github:nix-community/home-manager/release-24.11";
|
2024-06-15 18:29:36 -03:00
|
|
|
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";
|
|
|
|
|
};
|
|
|
|
|
|
2024-09-18 18:09:26 -03:00
|
|
|
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
|
|
|
};
|
2025-04-01 10:06:13 -03:00
|
|
|
|
|
|
|
|
dot013-nix = {
|
|
|
|
|
url = "git+https://forge.capytal.company/dot013/nix";
|
|
|
|
|
};
|
2024-06-15 18:29:36 -03:00
|
|
|
};
|
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-15 18:29:36 -03:00
|
|
|
};
|
2024-06-16 20:08:29 -03:00
|
|
|
modules = [
|
|
|
|
|
inputs.home-manager.nixosModules.default
|
|
|
|
|
./configuration.nix
|
|
|
|
|
];
|
2024-06-15 18:29:36 -03:00
|
|
|
};
|
|
|
|
|
};
|
2025-04-01 10:06:13 -03:00
|
|
|
homeConfigurations.worm = inputs.dot013-nix.homeConfigurations."x86_64-linux".worm;
|
2024-06-16 20:08:29 -03:00
|
|
|
};
|
2024-06-15 18:29:36 -03:00
|
|
|
}
|