update sterni

This commit is contained in:
Ingolf Wagner 2023-08-14 03:08:56 +02:00
parent 69e6fead98
commit 0c756f7749
Signed by: palo
GPG key ID: 76BF5F1928B9618B
9 changed files with 71 additions and 28 deletions

View file

@ -281,6 +281,15 @@
nixosConfigurations = nixosConfigurations =
{ {
sterni = nixosConfigurationSetup {
name = "sterni";
modules = [
nixos-hardware.nixosModules.lenovo-thinkpad-x220
#retiolum.nixosModules.retiolum
#private_assets.nixosModules.jobrad
homeManagerModules
];
};
cream = nixosConfigurationSetup { cream = nixosConfigurationSetup {
name = "cream"; name = "cream";
modules = [ modules = [

View file

@ -110,6 +110,21 @@ let
target = "/media/youtube/channels/Jules"; target = "/media/youtube/channels/Jules";
output = "%(channel)s S%(upload_date>%Y)sE%(upload_date>%m%d)s %(title)s.%(ext)s"; output = "%(channel)s S%(upload_date>%Y)sE%(upload_date>%m%d)s %(title)s.%(ext)s";
}; };
UrknallWeltallLeben = {
url = "https://youtube.com/@UrknallWeltallLeben";
target = "/media/youtube/channels/Urknall Weltall Leben";
output = "%(channel)s S%(upload_date>%Y)sE%(upload_date>%m%d)s %(title)s.%(ext)s";
};
ColdMirrorProdukte = {
url = "https://www.youtube.com/watch?list=PLDvBqWb1UAGckU8CEJ8kDsk3ii8bbHT-s";
target = "/media/youtube/channels/ColdMirror ProduktBeschreibungen";
output = "%(channel)s S%(upload_date>%Y)sE%(upload_date>%m%d)s %(title)s.%(ext)s";
};
ColdMirror5Minuten = {
url = "https://www.youtube.com/watch?list=PLDvBqWb1UAGeEt9n6vFH_zdGw65Obf3sH";
target = "/media/youtube/channels/ColdMirror 5 Minuten Harry Potter";
output = "%(channel)s S%(upload_date>%Y)sE%(upload_date>%m%d)s %(title)s.%(ext)s";
};
# My Playlists # My Playlists
# ------------ # ------------

View file

@ -65,6 +65,7 @@ in
darktable darktable
blender blender
lightburn
mosquitto mosquitto
(pkgs.writers.writeBashBin "mqtt-tail" '' (pkgs.writers.writeBashBin "mqtt-tail" ''

View file

@ -10,23 +10,32 @@
./packages.nix ./packages.nix
./syncthing.nix ./syncthing.nix
./tinc.nix ./tinc.nix
./trilium.nix
#./wifi-access-point.nix #./wifi-access-point.nix
#./wireshark.nix #./wireshark.nix
./scanner.nix #./qemu.nix
./qemu.nix
./wireguard.nix ./wireguard.nix
]; ];
components.gui.enable = true; components.gui.enable = true;
components.terminal.enable = true;
components.network.enable = true;
components.network.wifi.enable = true;
components.mainUser.enable = true;
users.users.mainUser.extraGroups = [ "adbusers" "video" ];
# todo
programs.custom.steam.enable = false;
programs.custom.video.enable = false;
services.printing.enable = false;
services.nginx.enable = true; services.nginx.enable = true;
#sops.defaultSopsFile = ../../secrets/sterni.yaml;
networking.hostName = "sterni"; networking.hostName = "sterni";
system.custom.wifi.interfaces = [ "wlp3s0" ]; services.flatpak.enable = true;
security.wrappers = { security.wrappers = {
pmount = { pmount = {
@ -43,11 +52,6 @@
}; };
}; };
programs.custom.steam.enable = true;
programs.custom.video.enable = false;
services.printing.enable = true;
home-manager.users.mainUser.home.stateVersion = "22.11"; home-manager.users.mainUser.home.stateVersion = "22.11";
# fonts # fonts
@ -83,7 +87,6 @@
# enable this to use sidequest # enable this to use sidequest
programs.adb.enable = true; programs.adb.enable = true;
users.users.mainUser.extraGroups = [ "adbusers" "video" ];
# for congress and streaming # for congress and streaming
hardware.opengl = { hardware.opengl = {

View file

@ -43,6 +43,9 @@ in
valentina valentina
signal-desktop
fluffychat
sweethome3d.application sweethome3d.application
pkgs.polygon-art.polygon-art pkgs.polygon-art.polygon-art
@ -81,12 +84,6 @@ in
jetbrains.pycharm-professional jetbrains.pycharm-professional
jetbrains.datagrip jetbrains.datagrip
# matrix clients
# --------------
#element-desktop
#fractal
legacy.mirage-im
tor-browser-bundle-bin tor-browser-bundle-bin
#(tor-browser-bundle-bin.overrideAttrs (old: rec { #(tor-browser-bundle-bin.overrideAttrs (old: rec {
# version = "11.0.1"; # version = "11.0.1";

View file

@ -3,7 +3,6 @@
{ {
virtualisation.libvirtd.enable = true; virtualisation.libvirtd.enable = true;
#virtualisation.libvirtd.allowedBridges = ["virbr0"];
virtualisation.libvirtd.onShutdown = "shutdown"; virtualisation.libvirtd.onShutdown = "shutdown";
environment.systemPackages = [ environment.systemPackages = [

View file

@ -20,10 +20,10 @@
enable = true; enable = true;
path = "/home/palo/.password-store"; path = "/home/palo/.password-store";
}; };
private = { #private = {
enable = true; # enable = true;
path = "/home/palo/private"; # path = "/home/palo/private";
}; #};
art = { art = {
enable = true; enable = true;
path = "/home/palo/art"; path = "/home/palo/art";
@ -47,10 +47,10 @@
enable = true; enable = true;
path = "/home/palo/music-library"; path = "/home/palo/music-library";
}; };
music-projects = { #music-projects = {
enable = true; # enable = true;
path = "/home/palo/music-projects"; # path = "/home/palo/music-projects";
}; #};
}; };
}; };

View file

@ -8,8 +8,8 @@
tinc.secret.ipv4 = "10.123.42.24"; tinc.secret.ipv4 = "10.123.42.24";
# retiolum # retiolum
networking.retiolum.port = 720; #networking.retiolum.port = 720;
sops.secrets.tinc_retiolum_ed25519_key = { }; #sops.secrets.tinc_retiolum_ed25519_key = { };
services.tinc.networks.retiolum.ed25519PrivateKeyFile = config.sops.secrets.tinc_retiolum_ed25519_key.path; #services.tinc.networks.retiolum.ed25519PrivateKeyFile = config.sops.secrets.tinc_retiolum_ed25519_key.path;
} }

View file

@ -0,0 +1,19 @@
{ config, pkgs, ... }:
{
services.trilium-server = {
enable = true;
instanceName = config.networking.hostName;
host = "10.23.42.27";
nginx = {
enable = true;
hostName = "trilium.${config.networking.hostName}.private";
};
};
services.nginx.virtualHosts."${config.services.trilium-server.nginx.hostName}".extraConfig = ''
allow ${config.tinc.private.subnet};
deny all;
'';
}