all repos — nixfiles @ 6f752c78607cf2043e0bd2ce4219510bc7965276

System and user configuration, managed by nix and home-manager

use srvos for better defaults on linde/marvin

Alan Pearce
commit

6f752c78607cf2043e0bd2ce4219510bc7965276

parent

bbc69d9fbfead8f20c48d76dec98cce143ad9602

1 file changed, 7 insertions(+), 4 deletions(-)

changed files
M flake.nixflake.nix
@@ -1,7 +1,7 @@
{ inputs = { - nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; - nixpkgs-small.url = "github:NixOS/nixpkgs/nixos-unstable-small"; + srvos.url = "github:nix-community/srvos"; + nixpkgs.follows = "srvos/nixpkgs"; nixos-hardware.url = "github:NixOS/nixos-hardware"; nix-index-database.url = "github:Mic92/nix-index-database"; nix-index-database.inputs.nixpkgs.follows = "nixpkgs";
@@ -25,8 +25,8 @@ outputs =
inputs@ { self , utils + , srvos , nixpkgs - , nixpkgs-small , nixos-hardware , emacs-overlay , home-manager
@@ -86,10 +86,12 @@ common-pc
common-gpu-nvidia-nonprime ]); }; - nixosConfigurations.linde = nixpkgs-small.lib.nixosSystem { + nixosConfigurations.linde = nixpkgs.lib.nixosSystem { system = utils.lib.system.aarch64-linux; specialArgs = { inherit inputs; }; modules = [ + srvos.nixosModules.server + srvos.nixosModules.hardware-hetzner-cloud-arm agenix.nixosModules.default searchix.nixosModules.web golink.nixosModules.default
@@ -101,6 +103,7 @@ darwinConfigurations.marvin = darwin.lib.darwinSystem {
system = utils.lib.system.aarch64-darwin; specialArgs = { inherit inputs; }; modules = [ + srvos.darwinModules.desktop ./system/marvin.nix ./packages/modules/darwin/caddy ];