From 2d049463ec2af54a1670df752d22313329813e6d Mon Sep 17 00:00:00 2001 From: makefu Date: Sun, 2 Jul 2023 16:14:53 +0200 Subject: 1systems: stockholm/lib -> stockholm.lib --- 1systems/omo/config.nix | 132 ++++++++++++++++++++++++------------------------ 1systems/omo/hw/omo.nix | 3 +- 2 files changed, 68 insertions(+), 67 deletions(-) (limited to '1systems/omo') diff --git a/1systems/omo/config.nix b/1systems/omo/config.nix index 224e170dd..27fe31815 100644 --- a/1systems/omo/config.nix +++ b/1systems/omo/config.nix @@ -10,10 +10,10 @@ in { [ ./hw/omo.nix #./hw/tsp.nix - - - - + ../../2configs/default.nix + ../../2configs/headless.nix + ../../2configs/support-nixos.nix + ../../2configs/nur.nix # x11 forwarding { services.openssh.forwardX11 = true; @@ -24,39 +24,39 @@ in { { environment.systemPackages = [ pkgs.youtube-dl2kodi pkgs.youtube-dl]; } - - - - - # + ../../2configs/zsh-user.nix + ../../2configs/home-manager + ../../2configs/home-manager/cli.nix + ../../2configs/editor/neovim + # ../../2configs/storj/client.nix - + ../../2configs/backup/state.nix { makefu.backup.server.repo = "/media/cryptX/backup/borg"; } - - - # - - - - - - - - # - # - - - # - - - - - - - - # + ../../2configs/backup/server.nix + ../../2configs/exim-retiolum.nix + # ../../2configs/smart-monitor.nix + ../../2configs/mail-client.nix + ../../2configs/mosh.nix + ../../2configs/tools/core.nix + ../../2configs/tools/dev.nix + ../../2configs/tools/desktop.nix + ../../2configs/tools/mobility.nix + ../../2configs/tools/consoles.nix + #../../2configs/graphite-standalone.nix + #../../2configs/share-user-sftp.nix + + ../../2configs/urlwatch + # ../../2configs/legacy_only.nix + + ../../2configs/share + ../../2configs/share/omo.nix + ../../2configs/share/gum-client.nix + ../../2configs/sync + + ../../2configs/wireguard/wiregrill.nix + #../../2configs/dcpp/airdcpp.nix #{ krebs.airdcpp.dcpp.shares = let # d = path: "/media/cryptX/${path}"; # in { @@ -72,42 +72,42 @@ in { #services.sabnzbd.enable = true; #systemd.services.sabnzbd.environment.SSL_CERT_FILE = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"; } - # - + # ../../2configs/share/omo-timemachine.nix + ../../2configs/tinc/retiolum.nix # statistics - # + # ../../2configs/stats/client.nix # Logging #influx + grafana - - # + ../../2configs/stats/server.nix + # ../../2configs/stats/nodisk-client.nix # logs to influx - - - # - - + ../../2configs/stats/external/aralast.nix + ../../2configs/stats/telegraf + # ../../2configs/stats/telegraf/europastats.nix + ../../2configs/stats/telegraf/hamstats.nix + ../../2configs/hw/cdrip.nix # services { services.nginx.enable = true; networking.firewall.allowedTCPPorts = [ 80 8123 ]; } - # - + # ../../2configs/syncthing.nix + ../../2configs/remote-build/slave.nix # TODO: - - - - - - - # - - # - # - - + ../../2configs/virtualisation/docker.nix + ../../2configs/bluetooth-mpd.nix + + ../../2configs/home/jellyfin.nix + ../../2configs/home/music.nix + ../../2configs/home/photoprism.nix + # ../../2configs/home/tonie.nix + ../../2configs/home/ps4srv.nix + # ../../2configs/home/metube.nix + # ../../2configs/home/ham + ../../2configs/home/ham/docker.nix + ../../2configs/home/zigbee2mqtt { makefu.ps3netsrv = { enable = true; @@ -123,10 +123,10 @@ in { } # security - - # + ../../2configs/sshd-totp.nix + # ../../2configs/logging/central-logging-client.nix - # + # ../../2configs/torrent.nix { #krebs.rtorrent = { # downloadDir = lib.mkForce "/media/cryptX/torrent"; @@ -136,23 +136,23 @@ in { #}; } - # - # - # + # ../../2configs/elchos/search.nix + # ../../2configs/elchos/log.nix + # ../../2configs/elchos/irc-token.nix ## as long as pyload is not in nixpkgs: # docker run -d -v /var/lib/pyload:/opt/pyload/pyload-config -v /media/crypt0/pyload:/opt/pyload/Downloads --name pyload --restart=always -p 8112:8000 -P writl/pyload # Temporary: - # - + # ../../2configs/temp/rst-issue.nix + ../../2configs/bgt/social-to-irc.nix ]; makefu.full-populate = true; nixpkgs.config.allowUnfree = true; users.users.share.isNormalUser = true; users.groups.share = { - gid = (import ).genid "share"; + gid = pkgs.stockholm.lib.genid "share"; members = [ "makefu" "misa" ]; }; networking.firewall.trustedInterfaces = [ primaryInterface "docker0" ]; diff --git a/1systems/omo/hw/omo.nix b/1systems/omo/hw/omo.nix index eaedbb779..1fd5212ed 100644 --- a/1systems/omo/hw/omo.nix +++ b/1systems/omo/hw/omo.nix @@ -40,7 +40,8 @@ in { imports = [ # TODO: unlock home partition via ssh ./vaapi.nix - ]; + ../../../2configs/fs/sda-crypto-root.nix + ]; makefu.server.primary-itf = primaryInterface; system.activationScripts.createCryptFolders = '' -- cgit v1.2.3 [cgit] Unable to lock slot /tmp/cgit/ad100000.lock: No such file or directory (2)