This commit is contained in:
2026-07-04 05:01:54 +02:00
parent 524ee6e1ce
commit 12f0b1e422
116 changed files with 1355 additions and 231 deletions
+67 -17
View File
@@ -2,28 +2,78 @@
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
home-manager.url = "github:nix-community/home-manager";
nvf.url = "path:./modules/nvim";
nvf.url = "path:./config/desktop/nvim";
};
outputs = { self, nixpkgs, home-manager, nvf, ... }@inputs:
let
system = "x86_64-linux";
in {
nixosConfigurations.darkstar = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs system; };
modules = [
nvf.nixosModules.default
./hosts/darkstar/configuration.nix
home-manager.nixosModules.home-manager
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = { inherit inputs; };
users.user = ./modules/home/home.nix;
};
}
];
nixosConfigurations = {
# desktop
darkstar = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs system; };
modules = [
nvf.nixosModules.default
./hosts/darkstar/configuration.nix
home-manager.nixosModules.home-manager
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = { inherit inputs; };
users.user = ./config/desktop/home/home.nix;
};
}
];
};
# thinkpad t14 gen 2i
molniya = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs system; };
modules = [
nvf.nixosModules.default
./hosts/darkstar/configuration.nix
home-manager.nixosModules.home-manager
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = { inherit inputs; };
users.user = ./config/desktop/home/home.nix;
};
}
];
};
# server (r320)
kepler = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs system; };
modules = [
./hosts/kepler/configuration.nix
home-manager.nixosModules.home-manager
{
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = { inherit inputs; };
users.user = ./hosts/kepler/config/home/home.nix;
};
}
];
};
# router
voyager = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs system; };
modules = [
./hosts/voyager/configuration.nix
];
};
};
};
}