this repo has no description
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

lituus up to date

+73 -13
+3 -3
flake.lock
··· 557 557 }, 558 558 "nixos": { 559 559 "locked": { 560 - "lastModified": 1663433994, 561 - "narHash": "sha256-Bpthhv1PdZRrIFct8KbHACNvOu9bsYAMEaqoH83cvqM=", 560 + "lastModified": 1664594436, 561 + "narHash": "sha256-YHowMADGzdi7fKnGlg47qe0PIljq+11VqLarmXDuKxQ=", 562 562 "owner": "nixos", 563 563 "repo": "nixpkgs", 564 - "rev": "17989edb05615c4f61803b9c427d80b84c289c6b", 564 + "rev": "9cac45850280978a21a3eb67b15a18f34cbffa2d", 565 565 "type": "github" 566 566 }, 567 567 "original": {
+2 -2
flake.nix
··· 149 149 suites = with profiles; rec { 150 150 base = [ core users.root users.anish ]; 151 151 sealight = [ base server metrics gitea rss-bridge mount-mossnet ]; # matrix 152 - lituus = [ base server metrics sealight-website matrix ]; 152 + lituus = [ base server metrics sealight-website matrix wireguard-server ]; 153 153 mossnet = [ base server taskd shaarli dns monitoring nfs gonic headphones radicale seafile syncthing dhyan calibre wallabag finance ]; # hpi sync.music 154 154 cube = [ base site server ]; 155 155 graphical = [ base bluetooth music sync.kitaab sync.website sync.cal wifi desktop mimetypes ]; ··· 173 173 }; 174 174 users = { 175 175 nixos = { suites, ... }: { imports = suites.hmBase; }; 176 - anish = { suites, ... }: { imports = suites.gui; }; 176 + # anish = { suites, ... }: { imports = suites.gui; }; 177 177 anishlakhwara = { suites, ... }: { imports = suites.work; }; 178 178 }; # digga.lib.importers.rakeLeaves ./users/hm; 179 179 };
+2 -2
hosts/lituus/hardware-configuration.nix
··· 1 1 # Do not modify this file! It was generated by ‘nixos-generate-config’ 2 2 # and may be overwritten by future invocations. Please make changes 3 3 # to /etc/nixos/configuration.nix instead. 4 - { config, lib, pkgs, ... }: 4 + { config, lib, pkgs, modulesPath, ... }: 5 5 6 6 { 7 7 imports = 8 8 [ 9 - <nixpkgs/nixos/modules/profiles/qemu-guest.nix> 9 + (modulesPath + "/profiles/qemu-guest.nix") 10 10 ]; 11 11 12 12 boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "sr_mod" "virtio_blk" ];
+1 -1
modules/heisenbridge.nix
··· 74 74 config = mkIf cfg.enable { 75 75 meta.maintainers = [ maintainers.sumnerevans ]; 76 76 77 - services.matrix-synapse.app_service_config_files = [ 77 + services.matrix-synapse.settings.app_service_config_files = [ 78 78 heisenbridgeConfigYaml 79 79 ]; 80 80
+3
profiles/desktop/default.nix
··· 28 28 }; 29 29 }; 30 30 31 + security.pam.services.Default.enableGnomeKeyring = true; 32 + security.pam.services.Login.enableGnomeKeyring = true; 31 33 security.pam.services.sddm.enableGnomeKeyring = true; 32 34 33 35 environment.sessionVariables = rec { ··· 58 60 zathura 59 61 calibre 60 62 nheko 63 + fractal 61 64 mpv 62 65 newsflash 63 66 zeal
+3 -2
profiles/matrix/default.nix
··· 30 30 # The registration file is automatically generated after starting the appservice for the first time. 31 31 # cp /var/lib/matrix-appservice-discord/discord-registration.yaml /var/lib/matrix-synapse/ 32 32 # chown matrix-synapse:matrix-synapse /var/lib/matrix-synapse/discord-registration.yaml 33 - # "/var/lib/matrix-synapse/telegram-registration.yaml" 33 + "/var/lib/matrix-synapse/telegram-registration.yaml" 34 34 # "/var/lib/matrix-synapse/slack-registration.yaml" 35 35 # "/var/lib/matrix-synapse/discord-registration.yaml" 36 36 # "/var/lib/matrix-synapse/whatsapp-registration.yaml" ··· 107 107 108 108 services.postgresql = { 109 109 enable = true; 110 + package = pkgs.postgresql_14; 110 111 ## postgresql user and db name remains in the 111 112 ## service.matrix-synapse.database_args setting which 112 113 ## by default is matrix-synapse ··· 223 224 }; 224 225 225 226 services.mautrix-telegram = { 226 - enable = false; 227 + enable = true; 227 228 environmentFile = /etc/secrets/telegram.env; # file containing the appservice and telegram tokens 228 229 # The appservice is pre-configured to use SQLite by default. It's also possible to use PostgreSQL. 229 230 settings = {
+31
profiles/postgres_upgrade_script/default.nix
··· 1 + { config, pkgs, ... }: 2 + { 3 + environment.systemPackages = [ 4 + (pkgs.writeScriptBin "upgrade-pg-cluster" '' 5 + set -eux 6 + # TODO it's perhaps advisable to stop all services that depend on postgresql 7 + systemctl stop postgresql 8 + 9 + # TODO replace `<new version>` with the psqlSchema here 10 + # The schema can be found by running: 11 + # nix-instantiate '<nixpkgs>' --eval -A postgresql_14.psqlSchema 12 + export NEWDATA="/var/lib/postgresql/<new version>" 13 + 14 + # TODO specify the postgresql package you'd like to upgrade to 15 + export NEWBIN="${pkgs.postgresql_14}/bin" 16 + 17 + export OLDDATA="${config.services.postgresql.dataDir}" 18 + export OLDBIN="${config.services.postgresql.package}/bin" 19 + 20 + install -d -m 0700 -o postgres -g postgres "$NEWDATA" 21 + cd "$NEWDATA" 22 + sudo -u postgres $NEWBIN/initdb -D "$NEWDATA" 23 + 24 + sudo -u postgres $NEWBIN/pg_upgrade \ 25 + --old-datadir "$OLDDATA" --new-datadir "$NEWDATA" \ 26 + --old-bindir $OLDBIN --new-bindir $NEWBIN \ 27 + "$@" 28 + '') 29 + ]; 30 + } 31 +
+9
profiles/server/default.nix
··· 10 10 11 11 security.acme.defaults.email = "anish+acme@lakhwara.com"; 12 12 security.acme.acceptTerms = true; 13 + 14 + services.fail2ban = { 15 + enable = true; 16 + maxretry = 5; 17 + ignoreIP = [ 18 + "127.0.0.0/8" 19 + "10.0.0.0/8" 20 + ]; 21 + }; 13 22 }
+1 -1
profiles/wireguard-server/default.nix
··· 13 13 networking.wireguard.interfaces.wg0 = { 14 14 ips = [ "10.0.69.1/24" ]; 15 15 listenPort = 60990; 16 - privateKeyFile = "/var/lib/wireguard/private"; 16 + privateKeyFile = "/var/lib/wireguard/priv"; 17 17 generatePrivateKeyFile = true; # TODO agenix secret 18 18 peers = [ 19 19 {
+14 -1
users/profiles/cli/default.nix
··· 57 57 #ssb-patchwork 58 58 fontconfig 59 59 pandoc 60 + (pkgs.writeScriptBin "jq-repl" '' 61 + #!/usr/bin/env bash 62 + if [[ -z $1 ]] || [[ $1 == "-" ]] then 63 + input=$(mktemp) 64 + trap "rm -f $input" EXIT 65 + cat /dev/stdin > $input 66 + else 67 + input=$1 68 + fi 69 + 70 + echo "" \ | fzf --phony --preview-window="up:90%" --print-query --preview "jq --color-output -r {q} $input" 71 + '') 60 72 ]; 61 73 62 74 programs.zsh = { ··· 183 195 # task warrior 184 196 # TODO: make blocked a context? 185 197 t = "task -BLOCKED"; 198 + tin = "task +in"; 186 199 tun = "task -BLOCKED -wait"; 187 200 tr = "task newest limit:page"; 188 201 tu = "task unblocked -wait"; 189 202 tl = "task list"; 190 - ta = "task add"; 203 + ta = "task add +in"; 191 204 tn = "task-note"; 192 205 tm = "task limit:page"; 193 206 te = "task edit";
+4 -1
users/profiles/task/taskrc
··· 47 47 report._reviewed.filter=( reviewed.none: or reviewed.before:now-6days ) and ( +PENDING or +WAITING ) 48 48 report.list.columns=id,priority,project,tags,recur.indicator,scheduled.countdown,due,until.remaining,description.count 49 49 report.list.labels=ID,P,Project,Tags,R,Sch,Due,Until,Description 50 - report.in.columns = id,description report.in.description = Inbox report.in.filter = status:pending limit:page (+in) report.in.labels = ID,Description 50 + report.in.columns=id,description 51 + report.in.description=Inbox 52 + report.in.filter=status:pending limit:page (+in) 53 + report.in.labels=ID,Description 51 54 urgency.user.project.wait.coefficient=-10.0 52 55 urgency.user.project.craft.coefficient=1.9 53 56 urgency.user.project.chores.coefficient=0.8