mirror of
https://github.com/sstent/vmimages.git
synced 2026-02-15 03:41:59 +00:00
sync
This commit is contained in:
@@ -66,6 +66,7 @@
|
|||||||
modules = [
|
modules = [
|
||||||
# > Our main home-manager configuration file <
|
# > Our main home-manager configuration file <
|
||||||
./home-manager/users/sstent
|
./home-manager/users/sstent
|
||||||
|
inputs.sops-nix.homeManagerModules.sops
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
xdg.configFile."beets/config.old".source = config.lib.file.mkOutOfStoreSymlink config.sops.secrets.test.path;
|
||||||
|
|
||||||
programs.beets = {
|
programs.beets = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
|||||||
@@ -5,13 +5,14 @@
|
|||||||
imports = [
|
imports = [
|
||||||
../../global
|
../../global
|
||||||
../../beets.nix
|
../../beets.nix
|
||||||
|
|
||||||
];
|
];
|
||||||
home.username = "sstent";
|
home.username = "sstent";
|
||||||
home.homeDirectory = "/home/sstent";
|
home.homeDirectory = "/home/sstent";
|
||||||
home.stateVersion = "23.05";
|
home.stateVersion = "23.05";
|
||||||
|
|
||||||
sops = {
|
sops = {
|
||||||
age.sshKeyPaths = [ "/home/sstent/.ssh/" ];
|
age.sshKeyPaths = [ "/home/sstent/.ssh/id_ed25519" ];
|
||||||
defaultSopsFile = ./secrets.yaml;
|
defaultSopsFile = ./secrets.yaml;
|
||||||
secrets.test = {
|
secrets.test = {
|
||||||
# sopsFile = ./secrets.yml.enc; # optionally define per-secret files
|
# sopsFile = ./secrets.yml.enc; # optionally define per-secret files
|
||||||
@@ -19,10 +20,11 @@
|
|||||||
# %r gets replaced with a runtime directory, use %% to specify a '%'
|
# %r gets replaced with a runtime directory, use %% to specify a '%'
|
||||||
# sign. Runtime dir is $XDG_RUNTIME_DIR on linux and $(getconf
|
# sign. Runtime dir is $XDG_RUNTIME_DIR on linux and $(getconf
|
||||||
# DARWIN_USER_TEMP_DIR) on darwin.
|
# DARWIN_USER_TEMP_DIR) on darwin.
|
||||||
path = "%r/test.txt";
|
# path = "${config.xdg.configHome}/.ssh/test";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# xdg.configFile."beets/config.old".source = config.sops.secrets.test.path;
|
||||||
|
|
||||||
|
|
||||||
# Let Home Manager install and manage itself.
|
# Let Home Manager install and manage itself.
|
||||||
|
|||||||
Reference in New Issue
Block a user