This repository has no description
0

Configure Feed

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

superconfig / machines / mors / config.nix
2.7 kB 126 lines
1{ 2 self, 3 config, 4 pkgs, 5 ... 6}: 7 8{ 9 imports = [ 10 ../../2configs 11 ../../2configs/mouse.nix 12 ../../2configs/retiolum.nix 13 ../../2configs/desktops/qtile/nixos.nix 14 ../../2configs/pipewire.nix 15 ../../2configs/exim-retiolum.nix 16 ../../2configs/browsers.nix 17 ../../2configs/pass.nix 18 ../../2configs/steam.nix 19 ../../2configs/fetchWallpaper.nix 20 ../../2configs/mail.nix 21 ../../2configs/syncthing.nix 22 ../../2configs/ableton.nix 23 ../../2configs/dunst.nix 24 ../../2configs/rtl-sdr.nix 25 ../../2configs/printing 26 ../../2configs/network-manager.nix 27 ../../2configs/yellow-mounts/samba.nix 28 ../../2configs/consul.nix 29 ../../2configs/networkd.nix 30 ../../2configs/autotether.nix 31 ../../2configs/autoupdate.nix 32 { 33 services.nginx = { 34 enable = true; 35 virtualHosts.default = { 36 default = true; 37 serverAliases = [ 38 "localhost" 39 "${config.krebs.build.host.name}" 40 "${config.krebs.build.host.name}.r" 41 ]; 42 locations."~ ^/~(.+?)(/.*)?\$".extraConfig = '' 43 alias /home/$1/public_html$2; 44 ''; 45 }; 46 }; 47 } 48 { 49 services.redis.servers."".enable = true; 50 } 51 { 52 environment.systemPackages = [ 53 self.packages.${pkgs.system}.bank 54 pkgs.adb-sync 55 pkgs.transgui 56 ]; 57 } 58 { 59 services.tor = { 60 enable = true; 61 client.enable = true; 62 }; 63 } 64 ]; 65 66 krebs.build.host = config.krebs.hosts.mors; 67 68 environment.systemPackages = with pkgs; [ 69 self.packages.${pkgs.system}.acronym 70 71 dnsutils 72 woeusb 73 (pkgs.writeDashBin "play-on" '' 74 HOST=$(echo 'styx\nshodan' | fzfmenu) 75 ssh -t "$HOST" -- mpv "$@" 76 '') 77 ]; 78 79 #TODO: fix this shit 80 ##fprint stuff 81 ##sudo fprintd-enroll $USER to save fingerprints 82 #services.fprintd.enable = true; 83 #security.pam.services.sudo.fprintAuth = true; 84 85 users.extraGroups = { 86 loot = { 87 members = [ 88 config.users.extraUsers.mainUser.name 89 "firefox" 90 "chromium" 91 "google" 92 "virtual" 93 ]; 94 }; 95 }; 96 97 nixpkgs.config.android_sdk.accept_license = true; 98 programs.adb.enable = true; 99 100 # It may leak your data, but look how FAST it is!1!! 101 # https://make-linux-fast-again.com/ 102 boot.kernelParams = [ 103 "noibrs" 104 "noibpb" 105 "nopti" 106 "nospectre_v2" 107 "nospectre_v1" 108 "l1tf=off" 109 "nospec_store_bypass_disable" 110 "no_stf_barrier" 111 "mds=off" 112 "mitigations=off" 113 ]; 114 115 boot.binfmt.emulatedSystems = [ 116 "aarch64-linux" 117 ]; 118 119 nix.settings.trusted-users = [ 120 "root" 121 "lass" 122 ]; 123 124 services.nscd.enableNsncd = true; 125 126}