Changed Security Details
1
.gitignore
vendored
@@ -5,6 +5,7 @@ result-*
|
||||
# sops age keys (never commit private keys)
|
||||
*.age
|
||||
keys.txt
|
||||
!key.txt.age
|
||||
|
||||
# macOS
|
||||
.DS_Store
|
||||
|
||||
BIN
assets/avatar/Miku/^
Normal file
|
After Width: | Height: | Size: 1.3 MiB |
BIN
assets/avatar/Miku/avatar.png
Normal file
|
After Width: | Height: | Size: 2.3 MiB |
BIN
assets/avatar/Miku/avatar_bg.jpg
Normal file
|
After Width: | Height: | Size: 345 KiB |
BIN
assets/avatar/Miku/avatar_bg.png
Normal file
|
After Width: | Height: | Size: 1.3 MiB |
BIN
assets/avatar/Miku/avatar_no_bg-0.png
Normal file
|
After Width: | Height: | Size: 1.5 MiB |
BIN
assets/avatar/Miku/avatar_no_bg-1.png
Normal file
|
After Width: | Height: | Size: 1.5 MiB |
BIN
assets/avatar/Miku/avatar_no_bg-2.png
Normal file
|
After Width: | Height: | Size: 1.3 MiB |
BIN
assets/avatar/Miku/avatar_no_bg-3.png
Normal file
|
After Width: | Height: | Size: 1.3 MiB |
BIN
assets/avatar/Miku/avatar_no_bg.png
Normal file
|
After Width: | Height: | Size: 1.5 MiB |
BIN
assets/avatar/Miku/avatar_transparent.png
Normal file
|
After Width: | Height: | Size: 1.5 MiB |
@@ -101,9 +101,9 @@
|
||||
defaultSopsFile = ../secrets/secrets.yaml;
|
||||
defaultSopsFormat = "yaml";
|
||||
age.keyFile = if pkgs.stdenv.isDarwin then
|
||||
"/Users/${primaryUser}/.config/sops/age/keys.txt"
|
||||
"/Users/${primaryUser}/.config/nix/secrets/keys.txt"
|
||||
else
|
||||
"/home/${primaryUser}/.config/sops/age/keys.txt";
|
||||
"/home/${primaryUser}/.config/nix/secrets/keys.txt";
|
||||
|
||||
secrets = {
|
||||
GROQ_API_KEY = { };
|
||||
|
||||
@@ -93,7 +93,7 @@
|
||||
home = "/home/${primaryUser}";
|
||||
shell = pkgs.fish;
|
||||
isNormalUser = true;
|
||||
openssh.authorizedKeys.keyFiles = [ ./ssh-key ];
|
||||
openssh.authorizedKeys.keyFiles = [ ../secrets/ssh-key ];
|
||||
extraGroups = [ "wheel" "video" "audio" "libvirtd" ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,18 +1,7 @@
|
||||
{ primaryUser, ... }:
|
||||
{
|
||||
{ primaryUser, ... }: {
|
||||
sops = {
|
||||
defaultSopsFile = ../secrets/secrets.yaml;
|
||||
defaultSopsFormat = "yaml";
|
||||
age.keyFile = "/home/phil/.config/sops/age/keys.txt";
|
||||
|
||||
secrets = {
|
||||
GROQ_API_KEY = { };
|
||||
OPENWEATHER_API_KEY = { };
|
||||
ssh_private_key = {
|
||||
path = "/home/${primaryUser}/.ssh/ssh";
|
||||
owner = primaryUser;
|
||||
mode = "0600";
|
||||
};
|
||||
};
|
||||
age.keyFile = "/home/${primaryUser}/.config/nix/secrets/keys.txt";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
{ pkgs, ... }: {
|
||||
|
||||
# TODO: This need to be tested against the cam and kernel rules need to be refined
|
||||
services.udev.extraRules = ''
|
||||
ACTION=="add", \
|
||||
SUBSYSTEM=="usb", \
|
||||
|
||||