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