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 124 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 android-tools 70 dnsutils 71 woeusb 72 (pkgs.writeDashBin "play-on" '' 73 HOST=$(echo 'styx\nshodan' | fzfmenu) 74 ssh -t "$HOST" -- mpv "$@" 75 '') 76 ]; 77 78 #TODO: fix this shit 79 ##fprint stuff 80 ##sudo fprintd-enroll $USER to save fingerprints 81 #services.fprintd.enable = true; 82 #security.pam.services.sudo.fprintAuth = true; 83 84 users.extraGroups = { 85 loot = { 86 members = [ 87 config.users.extraUsers.mainUser.name 88 "firefox" 89 "chromium" 90 "google" 91 "virtual" 92 ]; 93 }; 94 }; 95 96 nixpkgs.config.android_sdk.accept_license = true; 97 98 # It may leak your data, but look how FAST it is!1!! 99 # https://make-linux-fast-again.com/ 100 boot.kernelParams = [ 101 "noibrs" 102 "noibpb" 103 "nopti" 104 "nospectre_v2" 105 "nospectre_v1" 106 "l1tf=off" 107 "nospec_store_bypass_disable" 108 "no_stf_barrier" 109 "mds=off" 110 "mitigations=off" 111 ]; 112 113 boot.binfmt.emulatedSystems = [ 114 "aarch64-linux" 115 ]; 116 117 nix.settings.trusted-users = [ 118 "root" 119 "lass" 120 ]; 121 122 services.nscd.enableNsncd = true; 123 124}