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