up and running again
This commit is contained in:
parent
16696e66cd
commit
903488fa21
9 changed files with 76 additions and 48 deletions
|
@ -1,4 +1,7 @@
|
|||
{ nix-config, config, lib, pkgs, inputs, ... }:
|
||||
let
|
||||
scpath = "/home/emenel/.config/sops-nix/secrets";
|
||||
in
|
||||
{
|
||||
|
||||
imports = with nix-config.homeModules; [
|
||||
|
@ -51,8 +54,8 @@
|
|||
WINEFSYNC = 1;
|
||||
PKG_CONFIG_PATH = "/home/emenel/.nix-profile/lib/pkgconfig:/home/emenel/.nix-profile/lib64/pkgconfig:/home/emenal/.nix-profile/share/pkgconfig";
|
||||
GI_TYPELIB_PATH = "/run/current-system/sw/lib/girepository-1.0";
|
||||
BW_CLIENTID = "$(cat ${config.sops.defaultSymlinkPath}/bw_client_id)";
|
||||
BW_CLIENTSECRET = "$(cat ${config.sops.defaultSymlinkPath}/bw_api_key)";
|
||||
BW_CLIENTID = "$(cat ${config.sops.secrets.bw_client_id.path}/bw_client_id)";
|
||||
BW_CLIENTSECRET = "$(cat ${config.sops.secrets.bw_api_key.path}/bw_api_key)";
|
||||
NIXOS_OZONE_WL = "1";
|
||||
GSK_RENDERER = "ngl";
|
||||
MOZ_ENABLE_WAYLAND = 1;
|
||||
|
@ -70,18 +73,10 @@
|
|||
defaultSopsFile = ./secrets.yaml;
|
||||
|
||||
secrets = {
|
||||
bw_client_id = {
|
||||
path = "${config.sops.defaultSymlinkPath}/bw_client_id";
|
||||
};
|
||||
bw_api_key = {
|
||||
path = "${config.sops.defaultSymlinkPath}/bw_api_key";
|
||||
};
|
||||
ssh_key = {
|
||||
path = "${config.sops.defaultSymlinkPath}/ssh_key";
|
||||
};
|
||||
borg_url = {
|
||||
path = "${config.sops.defaultSymlinkPath}/borg_url";
|
||||
};
|
||||
bw_client_id = {};
|
||||
bw_api_key = {};
|
||||
ssh_key = {};
|
||||
borg_url = {};
|
||||
icloud = {};
|
||||
};
|
||||
};
|
||||
|
@ -106,9 +101,7 @@
|
|||
"- home/emenel/.cache"
|
||||
"- home/emenel/.nix*"
|
||||
"- home/emenel/.steam*"
|
||||
"- home/emenel/Dropbox"
|
||||
"- home/emenel/Sync"
|
||||
"- home/emenel/.dropbox*"
|
||||
"- home/emenel/.BitwigStudio"
|
||||
"- home/emenel/.local/share/bitwig"
|
||||
];
|
||||
|
@ -159,14 +152,18 @@
|
|||
};
|
||||
};
|
||||
|
||||
# email signature
|
||||
home.file.".signature".source = ./dotfiles/dot_signature;
|
||||
systemd.user.tmpfiles.rules = [
|
||||
"L /home/emenel/Mounts - - - - /mnt"
|
||||
];
|
||||
|
||||
#custom script executables
|
||||
home.file.".local/bin" = {
|
||||
source = ./dotfiles/dot_local/bin;
|
||||
recursive = true;
|
||||
home = {
|
||||
file = {
|
||||
".signature".source = ./dotfiles/dot_signature;
|
||||
".local/bin" = {
|
||||
source = ./dotfiles/dot_local/bin;
|
||||
recursive = true;
|
||||
};
|
||||
".ssh/config".source = ./dotfiles/dot_ssh/config;
|
||||
};
|
||||
};
|
||||
|
||||
home.file.".ssh/config".source = ./dotfiles/dot_ssh/config;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue