From f443e79c174de089521a24f2800d17b301531edc Mon Sep 17 00:00:00 2001 From: Hermes Date: Sat, 20 Jun 2026 15:29:08 -0400 Subject: [PATCH] fix: dotfiles as flake input (not submodule path) so Nix gets actual files --- flake.nix | 6 +++++- users/gortium/gortium.nix | 2 +- users/gortium/home.nix | 1 - 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index d4c17b9..6635cfc 100644 --- a/flake.nix +++ b/flake.nix @@ -30,10 +30,14 @@ url = "github:nix-community/home-manager/release-25.11"; inputs.nixpkgs.follows = "nixpkgs-uconsole"; }; + dotfiles = { + url = "git+https://code.lazyworkhorse.net/gortium/dotfiles.git"; + flake = false; + }; }; outputs = { self, nixpkgs, agenix, agenix-rekey, lix - , nixpkgs-uconsole, nixos-uconsole, nixos-raspberrypi + , nixpkgs-uconsole, nixos-uconsole, nixos-raspberrypi, dotfiles , home-manager , ... }@inputs: let diff --git a/users/gortium/gortium.nix b/users/gortium/gortium.nix index 6781a43..2a33c0c 100644 --- a/users/gortium/gortium.nix +++ b/users/gortium/gortium.nix @@ -1,5 +1,5 @@ { pkgs, inputs, config, keys, ... }: { - home-manager.extraSpecialArgs = { inherit (config.networking) hostName; dotfiles = ../../assets/dotfiles; }; + home-manager.extraSpecialArgs = { inherit (config.networking) hostName; dotfiles = inputs.dotfiles.outPath # flake input (not submodule); }; home-manager.users.gortium = import ./home.nix; users.users.gortium = { isNormalUser = true; diff --git a/users/gortium/home.nix b/users/gortium/home.nix index 8fab8d8..6f95e09 100644 --- a/users/gortium/home.nix +++ b/users/gortium/home.nix @@ -1,7 +1,6 @@ { pkgs, lib, config, inputs, hostName, ... }: let - dotfiles = ../../assets/dotfiles; isUconsole = hostName == "uConsole"; in { home.username = "gortium";