this repo has no description
2
fork

Configure Feed

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

tracking sealight-synapse (lituus) from here now

+108 -12
+2 -1
flake.nix
··· 148 148 }; 149 149 suites = with profiles; rec { 150 150 base = [ core users.root users.anish ]; 151 - sealight = [ base server metrics gitea sealight-website backup rss-bridge mount-mossnet ]; # matrix 151 + sealight = [ base server metrics gitea rss-bridge mount-mossnet ]; # matrix 152 + lituus = [ base server metrics sealight-website matrix ]; 152 153 mossnet = [ base server taskd shaarli dns monitoring nfs gonic headphones radicale seafile syncthing dhyan calibre wallabag finance ]; # hpi sync.music 153 154 cube = [ base site server ]; 154 155 graphical = [ base bluetooth music sync.kitaab sync.website sync.cal wifi desktop mimetypes ];
+26
hardware-configuration.nix
··· 1 + # Do not modify this file! It was generated by ‘nixos-generate-config’ 2 + # and may be overwritten by future invocations. Please make changes 3 + # to /etc/nixos/configuration.nix instead. 4 + { config, lib, pkgs, ... }: 5 + 6 + { 7 + imports = 8 + [ 9 + <nixpkgs/nixos/modules/profiles/qemu-guest.nix> 10 + ]; 11 + 12 + boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "sr_mod" "virtio_blk" ]; 13 + boot.initrd.kernelModules = [ ]; 14 + boot.kernelModules = [ ]; 15 + boot.extraModulePackages = [ ]; 16 + 17 + fileSystems."/" = 18 + { 19 + device = "/dev/disk/by-uuid/3b8b2c4b-835e-4822-8ac8-0effdc8270d6"; 20 + fsType = "btrfs"; 21 + }; 22 + 23 + swapDevices = [ ]; 24 + 25 + nix.maxJobs = lib.mkDefault 1; 26 + }
+31
hosts/lituus/configuration.nix
··· 1 + { config, pkgs, ... }: 2 + { 3 + imports = 4 + [ 5 + # Include the results of the hardware scan. 6 + ./hardware-configuration.nix 7 + ]; 8 + 9 + # Use the GRUB 2 boot loader. 10 + boot.loader.grub.enable = true; 11 + boot.loader.grub.version = 2; 12 + boot.loader.grub.device = "/dev/vda"; # or "nodev" for efi only 13 + 14 + networking.hostName = "lituus"; # Define your hostname. 15 + 16 + networking.useDHCP = false; 17 + networking.interfaces.ens3.useDHCP = true; 18 + 19 + # Configure network proxy if necessary 20 + # networking.proxy.default = "http://user:password@proxy:port/"; 21 + # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; 22 + 23 + sound.enable = false; 24 + 25 + # Define a user account. Don't forget to set a password with ‘passwd’. 26 + # This value determines the NixOS release with which your system is to be 27 + # compatible, in order to avoid breaking some software such as database 28 + # servers. You should change this only after NixOS release notes say you 29 + # should. 30 + system.stateVersion = "19.09"; # Did you read the comment? 31 + }
+11
hosts/lituus/default.nix
··· 1 + { self, profiles, suites, ... }: 2 + { 3 + imports = [ 4 + ./configuration.nix 5 + ] ++ suites.lituus; 6 + 7 + home-manager.users.anish = { self, suites, ... }: { 8 + imports = [ ] ++ suites.hmBase; 9 + }; 10 + 11 + }
+26
hosts/lituus/hardware-configuration.nix
··· 1 + # Do not modify this file! It was generated by ‘nixos-generate-config’ 2 + # and may be overwritten by future invocations. Please make changes 3 + # to /etc/nixos/configuration.nix instead. 4 + { config, lib, pkgs, ... }: 5 + 6 + { 7 + imports = 8 + [ 9 + <nixpkgs/nixos/modules/profiles/qemu-guest.nix> 10 + ]; 11 + 12 + boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "sr_mod" "virtio_blk" ]; 13 + boot.initrd.kernelModules = [ ]; 14 + boot.kernelModules = [ ]; 15 + boot.extraModulePackages = [ ]; 16 + 17 + fileSystems."/" = 18 + { 19 + device = "/dev/disk/by-uuid/3b8b2c4b-835e-4822-8ac8-0effdc8270d6"; 20 + fsType = "btrfs"; 21 + }; 22 + 23 + swapDevices = [ ]; 24 + 25 + nix.maxJobs = lib.mkDefault 1; 26 + }
+4 -3
modules/heisenbridge.nix.bak modules/heisenbridge.nix
··· 1 + # TODO too lazy to figure out how the official module works so i use this one lol 1 2 { config, lib, pkgs, ... }: with lib; let 2 - cfg = config.services.heisenbridge; 3 + cfg = config.services.sealight.heisenbridge; 3 4 4 5 heisenbridgeAppserviceConfig = { 5 6 id = "heisenbridge"; ··· 20 21 in 21 22 { 22 23 options = { 23 - services.heisenbridge = { 24 + services.sealight.heisenbridge = { 24 25 enable = mkEnableOption "heisenbridge, a bouncer-style Matrix IRC bridge."; 25 26 identd.enable = mkEnableOption "identd for heisenbridge" // { 26 27 default = true; ··· 87 88 # Open ports for identd. 88 89 networking.firewall.allowedTCPPorts = mkIf cfg.identd.enable [ 113 ]; 89 90 90 - systemd.services.heisenbridge = { 91 + systemd.services.heisenbridge-sealight = { 91 92 description = "Heisenbridge Matrix IRC bridge"; 92 93 after = [ "matrix-synapse.service" ]; 93 94 wantedBy = [ "multi-user.target" ];
+8 -8
profiles/matrix/default.nix
··· 60 60 services.coturn = { 61 61 enable = true; 62 62 use-auth-secret = true; 63 - static-auth-secret = "jXW1ohIq6wM3NB00xeME3uBihY85xjpkhGoyzBIdwhOpj7gjyxXZu1fwp1lUiYwJ"; 63 + static-auth-secret = "jXW1ohIq6wM3NB00xeME3uBihY85xjpkhGoyzBIdwhOpj7gjyxXZu1fwp1lUiYwJ"; # TODO agenix 64 64 realm = "turn.sealight.xyz"; 65 65 min-port = 49111; 66 66 max-port = 51111; ··· 254 254 }; 255 255 }; 256 256 257 - # services.heisenbridge = { 258 - # enable = true; 259 - # homeserver = "https://sealight.xyz"; 260 - # listenPort = 14456; 261 - # appServiceToken = "wyujLh8kjpmk2bfKeEE3sZ2gWOEUBKK5"; 262 - # homeserverToken = "yEHs7lthD2ZHUibJOAv1APaFhEjxN5PT"; 263 - # }; 257 + services.sealight.heisenbridge = { 258 + enable = true; 259 + homeserver = "https://sealight.xyz"; 260 + listenPort = 14456; 261 + appServiceToken = "wyujLh8kjpmk2bfKeEE3sZ2gWOEUBKK5"; 262 + homeserverToken = "yEHs7lthD2ZHUibJOAv1APaFhEjxN5PT"; 263 + }; 264 264 265 265 266 266 # environment.systemPackages = with pkgs; [ matrix-appservice-slack ];