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 122 lines
1{ 2 self, 3 config, 4 pkgs, 5 ... 6}: 7 8{ 9 imports = [ 10 ../../configs 11 ../../configs/mouse.nix 12 ../../configs/retiolum.nix 13 ../../configs/desktops/qtile/nixos.nix 14 ../../configs/pipewire.nix 15 ../../configs/browsers.nix 16 ../../configs/pass.nix 17 ../../configs/steam.nix 18 ../../configs/fetchWallpaper.nix 19 ../../configs/mail.nix 20 ../../configs/syncthing.nix 21 ../../configs/ableton.nix 22 ../../configs/dunst.nix 23 ../../configs/rtl-sdr.nix 24 ../../configs/printing 25 ../../configs/network-manager.nix 26 ../../configs/yellow-mounts/samba.nix 27 ../../configs/consul.nix 28 ../../configs/networkd.nix 29 ../../configs/autotether.nix 30 ../../configs/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.transgui 54 ]; 55 } 56 { 57 services.tor = { 58 enable = true; 59 client.enable = true; 60 }; 61 } 62 ]; 63 64 krebs.build.host = config.krebs.hosts.mors; 65 66 environment.systemPackages = with pkgs; [ 67 android-tools 68 dnsutils 69 woeusb 70 (pkgs.writeDashBin "play-on" '' 71 HOST=$(echo 'styx\nshodan' | fzfmenu) 72 ssh -t "$HOST" -- mpv "$@" 73 '') 74 ]; 75 76 #TODO: fix this shit 77 ##fprint stuff 78 ##sudo fprintd-enroll $USER to save fingerprints 79 #services.fprintd.enable = true; 80 #security.pam.services.sudo.fprintAuth = true; 81 82 users.extraGroups = { 83 loot = { 84 members = [ 85 config.users.extraUsers.mainUser.name 86 "firefox" 87 "chromium" 88 "google" 89 "virtual" 90 ]; 91 }; 92 }; 93 94 nixpkgs.config.android_sdk.accept_license = true; 95 96 # It may leak your data, but look how FAST it is!1!! 97 # https://make-linux-fast-again.com/ 98 boot.kernelParams = [ 99 "noibrs" 100 "noibpb" 101 "nopti" 102 "nospectre_v2" 103 "nospectre_v1" 104 "l1tf=off" 105 "nospec_store_bypass_disable" 106 "no_stf_barrier" 107 "mds=off" 108 "mitigations=off" 109 ]; 110 111 boot.binfmt.emulatedSystems = [ 112 "aarch64-linux" 113 ]; 114 115 nix.settings.trusted-users = [ 116 "root" 117 "lass" 118 ]; 119 120 services.nscd.enableNsncd = true; 121 122}