diff --git a/sovr/etc/nixos/configuration.nix b/sovr/etc/nixos/configuration.nix index 7f2885d..e35a189 100644 --- a/sovr/etc/nixos/configuration.nix +++ b/sovr/etc/nixos/configuration.nix @@ -2,7 +2,7 @@ # your system. Help is available in the configuration.nix(5) man page, on # https://search.nixos.org/options and in the NixOS manual (`nixos-help`). -{ config, lib, pkgs, ... }: +{ config, pkgs, inputs, ... }: { imports = @@ -25,6 +25,7 @@ tmux vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. wget + inputs.sovr-server.packages."${pkgs.system}".sovr-server ]; i18n.defaultLocale = "en_US.UTF-8"; diff --git a/sovr/etc/nixos/flake.lock b/sovr/etc/nixos/flake.lock index 603f783..6413e40 100644 --- a/sovr/etc/nixos/flake.lock +++ b/sovr/etc/nixos/flake.lock @@ -16,9 +16,45 @@ "type": "github" } }, + "nixpkgs_2": { + "locked": { + "lastModified": 1735264675, + "narHash": "sha256-MgdXpeX2GuJbtlBrH9EdsUeWl/yXEubyvxM1G+yO4Ak=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "d49da4c08359e3c39c4e27c74ac7ac9b70085966", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-24.11", + "repo": "nixpkgs", + "type": "github" + } + }, "root": { "inputs": { - "nixpkgs": "nixpkgs" + "nixpkgs": "nixpkgs", + "sovr-server": "sovr-server" + } + }, + "sovr-server": { + "inputs": { + "nixpkgs": "nixpkgs_2" + }, + "locked": { + "lastModified": 1735827455, + "narHash": "sha256-BpqQu/opMGrr6xUbbFQy2bkEbUSQhbxN4X8M8DRun5I=", + "owner": "tealok-tech", + "repo": "sovr.cloud", + "rev": "950e618c387282e13e4ec865ae37d0e168b4469a", + "type": "github" + }, + "original": { + "owner": "tealok-tech", + "ref": "main", + "repo": "sovr.cloud", + "type": "github" } } }, diff --git a/sovr/etc/nixos/flake.nix b/sovr/etc/nixos/flake.nix index 4ac9558..84f77bf 100644 --- a/sovr/etc/nixos/flake.nix +++ b/sovr/etc/nixos/flake.nix @@ -4,10 +4,12 @@ inputs = { # NixOS official package source, using the nixos-24.11 branch here nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11"; + sovr-server.url = "github:tealok-tech/sovr.cloud/main"; }; outputs = { self, nixpkgs, ... }@inputs: { nixosConfigurations.sovr = nixpkgs.lib.nixosSystem { + specialArgs = { inherit inputs; }; system = "x86_64-linux"; modules = [ # Import the previous configuration.nix we used,