From 90da56e58f84aacee687b7bd69e15ba88545f0b7 Mon Sep 17 00:00:00 2001 From: Adrian Gunnar Lauterer Date: Tue, 14 Oct 2025 22:08:09 +0200 Subject: [PATCH] unstable galadriel --- flake.nix | 9 +++++---- hosts/galadriel/configuration.nix | 6 +++--- modules/ollama.nix | 2 +- modules/unstable.nix | 14 ++++++++++++++ 4 files changed, 23 insertions(+), 8 deletions(-) create mode 100644 modules/unstable.nix diff --git a/flake.nix b/flake.nix index b8c075f..d699aca 100644 --- a/flake.nix +++ b/flake.nix @@ -26,7 +26,6 @@ blog-generator.url = "github:adrlau/blog-generator"; - }; outputs = @@ -49,7 +48,7 @@ # legolas nixosConfigurations.legolas = nixpkgs.lib.nixosSystem { inherit system; - specialArgs = { inherit inputs; }; + specialArgs = { inherit inputs system; }; modules = [ ./hosts/legolas/configuration.nix @@ -80,7 +79,7 @@ # aragon nixosConfigurations.aragon = nixpkgs.lib.nixosSystem { inherit system; - specialArgs = { inherit inputs; }; + specialArgs = { inherit inputs system; }; modules = [ ./hosts/aragon/configuration.nix @@ -107,8 +106,10 @@ # galadriel nixosConfigurations.galadriel = nixpkgs.lib.nixosSystem { inherit system; - specialArgs = { inherit inputs; }; + specialArgs = { inherit inputs system; }; modules = [ + ./modules/unstable.nix + ./hosts/galadriel/configuration.nix sops-nix.nixosModules.sops diff --git a/hosts/galadriel/configuration.nix b/hosts/galadriel/configuration.nix index 391f73a..402907c 100644 --- a/hosts/galadriel/configuration.nix +++ b/hosts/galadriel/configuration.nix @@ -23,11 +23,11 @@ - ../../modules/vaultvarden.nix + #../../modules/vaultvarden.nix ../../modules/jellyfin.nix - ../../modules/qbittorrent.nix + #../../modules/qbittorrent.nix # broken for now?: ../../modules/mealie.nix - ../../modules/miniflux.nix + #../../modules/miniflux.nix ../../modules/ollama.nix ]; diff --git a/modules/ollama.nix b/modules/ollama.nix index 2c05ba2..e8bbbe6 100644 --- a/modules/ollama.nix +++ b/modules/ollama.nix @@ -1,4 +1,4 @@ -{ config, pkgs, lib, ... }: +{ config, pkgs, lib, unstable, ... }: let hostname = config.networking.hostName; diff --git a/modules/unstable.nix b/modules/unstable.nix new file mode 100644 index 0000000..a34cae9 --- /dev/null +++ b/modules/unstable.nix @@ -0,0 +1,14 @@ +{ config, pkgs, inputs, system, ... }: + +let + unstableOverlay = final: prev: { + unstable = import inputs.unstable { + inherit system; + config = prev.config; + }; + }; +in { + nixpkgs.overlays = [ unstableOverlay ]; +} + +