setting flake dir
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
flake.modules.nixos.p14sConfiguration = { config, pkgs, lib, ... }:
|
||||
let
|
||||
hostname = "john-p14s";
|
||||
flakeDir = "${config.home-manager.users.john.home.homeDirectory}/Documents/dendritic";
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
@@ -106,8 +107,9 @@
|
||||
rebuild
|
||||
({config, ... }: {
|
||||
my-vscode.enable = true;
|
||||
mysops.hostSecretFile = "${config.home.homeDirectory}/Documents/dendritic/modules/hosts/john-p14s/secrets.yaml";
|
||||
homeManagerFlakeDir = "${config.home.homeDirectory}/Documents/dendritic";
|
||||
mysops.hostSecretFile = "${flakeDir}/modules/hosts/john-p14s/secrets.yaml";
|
||||
homeManagerFlakeDir = "${flakeDir}";
|
||||
programs.bash.enable = lib.mkForce true;
|
||||
})
|
||||
];
|
||||
sops.defaultSopsFile = ./secrets.yaml;
|
||||
|
||||
Reference in New Issue
Block a user