From 134264245ff8b1e6f0347b063b58821a938210f4 Mon Sep 17 00:00:00 2001 From: tdback Date: Wed, 5 Mar 2025 20:07:01 -0500 Subject: flake: add sol server --- flake.nix | 46 +++++++++++++++++++++++++++++++++------------- 1 file changed, 33 insertions(+), 13 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 27b01fe..4855502 100644 --- a/flake.nix +++ b/flake.nix @@ -1,17 +1,14 @@ { - inputs = { - nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11"; - nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable"; - home-manager = { - url = "github:nix-community/home-manager/release-24.11"; - inputs.nixpkgs.follows = "nixpkgs"; - }; - agenix = { - url = "github:ryantm/agenix"; - inputs.nixpkgs.follows = "nixpkgs"; - }; - deploy-rs.url = "github:serokell/deploy-rs"; - }; + inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11"; + inputs.nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable"; + + inputs.home-manager.url = "github:nix-community/home-manager/release-24.11"; + inputs.home-manager.inputs.nixpkgs.follows = "nixpkgs"; + + inputs.agenix.url = "github:ryantm/agenix"; + inputs.agenix.inputs.nixpkgs.follows = "nixpkgs"; + + inputs.deploy-rs.url = "github:serokell/deploy-rs"; outputs = { ... }@inputs: @@ -136,6 +133,29 @@ ]; } ]) + (mkSystem "sol" "x86_64-linux" inputs.nixpkgs [ + { + type = "profiles"; + modules = [ + "common" + "upgrade" + ]; + } + { + type = "scripts"; + modules = [ + "motd" + "pushover" + ]; + } + { + type = "services"; + modules = [ + "ssh" + "xonotic" + ]; + } + ]) (mkSystem "sparrow" "x86_64-linux" inputs.nixpkgs ( inputs.nixpkgs.lib.singleton { type = "profiles"; -- cgit v1.2.3