55 lines
1.6 KiB
Nix
55 lines
1.6 KiB
Nix
{
|
|
description = "Nixos config flake";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
|
|
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
flake-parts.url = "github:hercules-ci/flake-parts";
|
|
import-tree.url = "github:vic/import-tree";
|
|
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager/release-25.11";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
sops-nix = {
|
|
url = "github:Mic92/sops-nix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
disko.url = "github:nix-community/disko";
|
|
disko.inputs.nixpkgs.follows = "nixpkgs";
|
|
firefox-addons = {
|
|
url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
dzgui-nix = {
|
|
url = "github:lelgenio/dzgui-nix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
audio = {
|
|
url = "github:polygon/audio.nix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
nix-minecraft.url = "github:Infinidoge/nix-minecraft";
|
|
nix-minecraft.inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
outputs = inputs @ {
|
|
flake-parts,
|
|
import-tree,
|
|
...
|
|
}:
|
|
flake-parts.lib.mkFlake {inherit inputs;} {
|
|
systems = ["x86_64-linux"];
|
|
imports = [
|
|
inputs.home-manager.flakeModules.home-manager
|
|
./hosts/comfy-station
|
|
./hosts/monolith
|
|
./hosts/harbor
|
|
(./home + "/jonas@comfy-station")
|
|
(./home + "/jonas@monolith")
|
|
(import-tree ./modules)
|
|
(import-tree ./templates)
|
|
];
|
|
};
|
|
}
|