fix: dotfiles as flake input (not submodule path) so Nix gets actual files
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
{ pkgs, lib, config, inputs, hostName, ... }:
|
||||
|
||||
let
|
||||
dotfiles = ../../assets/dotfiles;
|
||||
isUconsole = hostName == "uConsole";
|
||||
in {
|
||||
home.username = "gortium";
|
||||
|
||||
Reference in New Issue
Block a user