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";
|
url = "github:nix-community/home-manager/release-25.11";
|
||||||
inputs.nixpkgs.follows = "nixpkgs-uconsole";
|
inputs.nixpkgs.follows = "nixpkgs-uconsole";
|
||||||
};
|
};
|
||||||
|
dotfiles = {
|
||||||
|
url = "git+https://code.lazyworkhorse.net/gortium/dotfiles.git";
|
||||||
|
flake = false;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, agenix, agenix-rekey, lix
|
outputs = { self, nixpkgs, agenix, agenix-rekey, lix
|
||||||
, nixpkgs-uconsole, nixos-uconsole, nixos-raspberrypi
|
, nixpkgs-uconsole, nixos-uconsole, nixos-raspberrypi, dotfiles
|
||||||
, home-manager
|
, home-manager
|
||||||
, ... }@inputs:
|
, ... }@inputs:
|
||||||
let
|
let
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{ pkgs, inputs, config, keys, ... }: {
|
{ 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;
|
home-manager.users.gortium = import ./home.nix;
|
||||||
users.users.gortium = {
|
users.users.gortium = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
{ pkgs, lib, config, inputs, hostName, ... }:
|
{ pkgs, lib, config, inputs, hostName, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
dotfiles = ../../assets/dotfiles;
|
|
||||||
isUconsole = hostName == "uConsole";
|
isUconsole = hostName == "uConsole";
|
||||||
in {
|
in {
|
||||||
home.username = "gortium";
|
home.username = "gortium";
|
||||||
|
|||||||
Reference in New Issue
Block a user