disko siken

This commit is contained in:
tulg 2025-10-19 21:56:53 +03:00
parent 014c7a45bb
commit 1b0796e4dd
8 changed files with 319 additions and 27 deletions

62
flake.fucked Normal file
View file

@ -0,0 +1,62 @@
{
description = "Tulga's multi-device NixOS configuration (no global modules)";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-colors.url = "github:misterio77/nix-colors";
zen-browser = {
url = "github:0xc000022070/zen-browser-flake";
inputs.nixpkgs.follows = "nixpkgs";
};
disko = {
url = "github:nix-community/disko";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, home-manager, nix-colors, disko, ... } @ inputs:
let
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
};
in {
#
nixosConfigurations.virgil = nixpkgs.lib.nixosSystem {
inherit system;
modules = [
./hosts/virgil/configuration.nix
home-manager.nixosModules.home-manager
./modules/home.nix
];
specialArgs = { inherit inputs pkgs self ; };
};
#
nixosConfigurations.archangel = nixpkgs.lib.nixosSystem {
inherit system;
modules = [
./hosts/archangel/configuration.nix
];
specialArgs = { inherit ; };
};
# placeholder
#nixosConfigurations.server = nixpkgs.lib.nixosSystem {
# inherit system;
# modules = [
# ./hosts/server/configuration.nix
# ];
# };
};
}