From ddf9229e156fa70756c33c75e8e5a181305163ae Mon Sep 17 00:00:00 2001 From: Grigory Shipunov Date: Thu, 2 Jan 2025 18:45:55 +0000 Subject: [PATCH] update cloud to 24.11 --- flake.nix | 4 +++- hosts/cloud/configuration.nix | 2 +- modules/basic-tools/nix.nix | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 4e6de69..6b18a48 100644 --- a/flake.nix +++ b/flake.nix @@ -71,10 +71,12 @@ cloud = nixpkgs-stable.lib.nixosSystem { system = "x86_64-linux"; specialArgs = { inherit inputs; }; - moudles = [ + modules = [ sops-nix.nixosModules.sops ./hosts/cloud + + ./modules/basic-tools ]; }; }; diff --git a/hosts/cloud/configuration.nix b/hosts/cloud/configuration.nix index 470f9aa..6f8d6aa 100644 --- a/hosts/cloud/configuration.nix +++ b/hosts/cloud/configuration.nix @@ -10,5 +10,5 @@ networking.domain = "oxapentane.com"; services.openssh.enable = true; users.users.root.openssh.authorizedKeys.keys = [''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJl9iYG5oHBq/poBn7Jf1/FGWWbAnbx+NKjs7qtT3uAK'' ]; - system.stateVersion = "23.11"; + system.stateVersion = "24.11"; } diff --git a/modules/basic-tools/nix.nix b/modules/basic-tools/nix.nix index 0b1b8ea..9faa527 100644 --- a/modules/basic-tools/nix.nix +++ b/modules/basic-tools/nix.nix @@ -16,4 +16,6 @@ in builtins.mapAttrs (_name: v: { flake = v; }) flakes; nix.nixPath = lib.mapAttrsToList (name: value: "${name}=${value.outPath}") inputs.self.inputs; + + nixpkgs.config.allowUnfree = true; }