char/topaz-flake
git clone https://git.t4t.associates/char/topaz-flake
6cf7d6d
main
1{ 2description = "topaz flake" ; 3inputs = { 4nixpkgs . url = "github:NixOS/nixpkgs/nixos-26.05" ; 5nixpkgs-unstable . url = "github:NixOS/nixpkgs/nixos-unstable" ; 6tranquil = { 7url = "git+https://tangled.org/char.lt/tranquil-pds?ref=char/hack" ; 8inputs . nixpkgs . follows = "nixpkgs" ; 9}; 10}; 11outputs = 12{ 13self , 14nixpkgs , 15nixpkgs-unstable , 16tranquil , 17 ... 18} @inputs : 19{ 20packages . x86_64-linux = { 21city-role-bot = 22nixpkgs . legacyPackages . x86_64-linux . callPackage ./packages/city-role-bot.nix { }; 23watch-party = 24nixpkgs . legacyPackages . x86_64-linux . callPackage ./packages/watch-party.nix { }; 25}; 26 27nixosConfigurations . topaz = nixpkgs . lib . nixosSystem { 28system = "x86_64-linux" ; 29specialArgs = { 30inherit tranquil ; 31unstable-pkgs = nixpkgs-unstable . legacyPackages . "x86_64-linux" ; 32}; 33modules = [ 34( 35{ pkgs , ...} : 36{ 37system . stateVersion = "23.11" ; 38nix . package = pkgs . lix ; 39nix . settings . experimental-features = [ 40"nix-command" 41"flakes" 42]; 43} 44) 45./_generated/hardware-configuration.nix 46./_generated/networking.nix 47./system/base.nix 48./system/city-role-bot.nix 49./system/irc.nix 50./system/mail.nix 51./system/nginx.nix 52./system/pocket-id.nix 53./system/prosody.nix 54./system/soju.nix 55./system/web/cerulea-tombstones.nix 56./system/web/cerulea-video.nix 57./system/web/media-site.nix 58./system/web/serve-esm.nix 59./system/web/watch-party.nix 60 61tranquil . nixosModules . default 62./system/web/pds.nix 63]; 64}; 65}; 66}