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