fix: dotfiles as flake input (not submodule path) so Nix gets actual files

This commit is contained in:
2026-06-20 15:29:08 -04:00
parent d765ead020
commit f443e79c17
3 changed files with 6 additions and 3 deletions

View File

@@ -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;

View File

@@ -1,7 +1,6 @@
{ pkgs, lib, config, inputs, hostName, ... }:
let
dotfiles = ../../assets/dotfiles;
isUconsole = hostName == "uConsole";
in {
home.username = "gortium";