b12f restructure #1

Merged
teutat3s merged 218 commits from b12f into main 2020-11-24 18:27:01 +00:00
5 changed files with 18 additions and 2 deletions
Showing only changes of commit 8f8923203b - Show all commits

View file

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, self, ... }:
with lib; with lib;
let let
psCfg = config.pub-solar; psCfg = config.pub-solar;
@ -24,6 +24,18 @@ in
wayvnc wayvnc
]; ];
age.secrets."vnc-key.pem" = {
file = "${self}/secrets/vnc-key-chocolatebar.pem";
mode = "700";
owner = psCfg.user.name;
};
age.secrets."vnc-cert.pem" = {
file = "${self}/secrets/vnc-cert-chocolatebar.pem";
mode = "700";
owner = psCfg.user.name;
};
pub-solar.sway.vnc.enable = true;
home-manager.users."${psCfg.user.name}".xdg.configFile = mkIf psCfg.sway.enable { home-manager.users."${psCfg.user.name}".xdg.configFile = mkIf psCfg.sway.enable {
"sway/config.d/10-autostart.conf".source = ./.config/sway/config.d/autostart.conf; "sway/config.d/10-autostart.conf".source = ./.config/sway/config.d/autostart.conf;
"sway/config.d/10-input-defaults.conf".source = ./.config/sway/config.d/input-defaults.conf; "sway/config.d/10-input-defaults.conf".source = ./.config/sway/config.d/input-defaults.conf;

View file

@ -39,5 +39,8 @@ in
"crypto_keyfile-chocolatebar.bin".publicKeys = chocolatebarKeys; "crypto_keyfile-chocolatebar.bin".publicKeys = chocolatebarKeys;
"hdd_keyfile-chocolatebar.bin".publicKeys = chocolatebarKeys; "hdd_keyfile-chocolatebar.bin".publicKeys = chocolatebarKeys;
"vnc-cert-chocolatebar.pem".publicKeys = chocolatebarKeys;
"vnc-key-chocolatebar.pem".publicKeys = chocolatebarKeys;
"mopidy.conf".publicKeys = allKeys; "mopidy.conf".publicKeys = allKeys;
} }

Binary file not shown.

Binary file not shown.

View file

@ -11,6 +11,7 @@ in
home-manager = pkgs.lib.setAttrByPath [ "users" psCfg.user.name ] { home-manager = pkgs.lib.setAttrByPath [ "users" psCfg.user.name ] {
home.packages = with pkgs; [ home.packages = with pkgs; [
tigervnc
dogecoin dogecoin
nodejs nodejs
itch itch
@ -88,7 +89,7 @@ in
# xdg.configFile."wallpaper.jpg".source = ./assets/wallpaper.jpg; # xdg.configFile."wallpaper.jpg".source = ./assets/wallpaper.jpg;
}; };
age.secrets = pkgs.lib.setAttrByPath [ "mopidy.conf" ] { age.secrets."mopidy.conf" = {
file = "${self}/secrets/mopidy.conf"; file = "${self}/secrets/mopidy.conf";
mode = "700"; mode = "700";
owner = "mopidy"; owner = "mopidy";