Commit graph

106 commits

Author SHA1 Message Date
Anish L a782455bf0 add common from old config 2021-09-26 21:59:56 +10:00
Anish L 79436f8c1d merged 2021-09-26 21:59:45 +10:00
Henrik Lissner cde23cb718 hmm 2021-09-26 21:23:46 +10:00
Anish L 50177fd902 move polybar to the top, and add some config for tree-style tabs 2021-09-13 00:34:12 +10:00
Anish L 2a4ebff434 change location check to be for Australia 2021-09-12 01:31:42 +10:00
Anish L 8eef2f4549 add curve, clone kuro 2021-09-12 01:28:10 +10:00
Henrik Lissner e8cd6f02d4 fix(aijiro): enable wireless 2021-09-04 07:49:55 +02:00
Henrik Lissner 79acd090f4 feat: add hosts/aijiro config
My portable desktop machine.
2021-09-04 00:10:53 +02:00
Henrik Lissner 327b113a07 refactor!: rename bitwarden -> vaultwarden
Was renamed upstream, in NixOS 21.11.
2021-09-04 00:10:46 +02:00
Henrik Lissner 0986d3ceab tweak(kuro): enable node, rust, python modules 2021-09-04 00:10:19 +02:00
Henrik Lissner 6d45635675 Enable modules.shell.direnv on ao 2021-07-28 00:32:32 -04:00
Henrik Lissner 1fe0dda6dc Disable modules.shell.adl
Not watching anime lately.
2021-07-28 00:28:00 -04:00
Henrik Lissner a9ccf19463 shiro: register default wireless interface 2021-07-28 00:28:00 -04:00
Henrik Lissner b10e770358 hosts/ao: add NFS mount to NAS
For backups
2021-04-13 20:30:00 -04:00
Henrik Lissner 6fc9d1ed9a Update host READMEs 2021-04-13 20:30:00 -04:00
Henrik Lissner 7fa949717b Enable docker module 2021-04-13 20:30:00 -04:00
Henrik Lissner 8fe1fbb6e7 hosts/ao: refactor backups 2021-03-12 01:01:12 -05:00
Henrik Lissner 2286d85a68 Rewrite backup services+timers 2021-02-28 20:13:42 -05:00
Henrik Lissner 0325968f12 Polish mock syncthing config 2021-02-28 14:26:48 -05:00
Henrik Lissner 44d03e762a hosts/kuro: add backups timer for personal files 2021-02-28 00:37:36 -05:00
Henrik Lissner 699e272643 hosts/ao: refactor nginx config 2021-02-27 23:03:59 -05:00
Henrik Lissner 8717c49b1e Move net.ipv4.icmp_echo_ignore_broadcasts to kuro/shiro 2021-02-21 14:47:40 -05:00
Henrik Lissner 4399411a35 hosts/shiro: x-systemd.idle-timeout=5min on NFS mount 2021-02-21 14:47:40 -05:00
Henrik Lissner b8e4813f09 Clean up & revise hardware-configuration comments 2021-02-21 14:47:40 -05:00
Henrik Lissner a0b65fdb9a Rename personal.nix -> home.nix
New name is more representative of my home network, which it was
designed for.
2021-02-21 14:47:40 -05:00
Henrik Lissner 77870b6a14 Auto gc on servers 2021-02-21 14:47:40 -05:00
Henrik Lissner 5c29620dee Harden & optimize networking settings 2021-02-21 10:27:17 -05:00
Henrik Lissner 0f0f314643 Add noexec & size=25% to tmpfs on /tmp
Also auto-enable boot.cleanTmpDir if boot.tmpOnTmpfs is off. /tmp
shouldn't be treated as persistent storage!
2021-02-20 20:50:25 -05:00
Henrik Lissner 3f72e498d6 hosts/{kuro,shiro}: harden storage/backup mounts
Removing unneeded privileges from backup mounts.

Also adds noatime to nfs mounts for slight improvement in throughput.
2021-02-20 18:53:49 -05:00
Henrik Lissner 1ea4dea1d1 Add modules/desktop/apps/signal 2021-02-20 17:53:37 -05:00
Henrik Lissner dfbb3442a0 hosts/kuro: update readme
+ zfs commands no longer apply
+ add mount commands for /usr/store
2021-02-15 15:37:27 -05:00
Henrik Lissner 7d6d44486f hosts/ao: update secret 2021-02-15 13:16:18 -05:00
Henrik Lissner 021d50670c hosts/ao: fix typo in nginx config 2021-02-14 19:20:54 -05:00
Henrik Lissner bb6e4121f3 ao: cache static assets & turn off proxy buffering
Also increase clientMaxBodySize, since I big files could be uploaded
over HTTP.
2021-02-13 15:28:27 -05:00
Henrik Lissner c2efad829d kuro: add /usr/store mount
And automount it (and /usr/drive)
2021-02-12 11:21:29 -05:00
Henrik Lissner 0b1ed32aaf Add/revise comments 2021-02-09 22:06:01 -05:00
Henrik Lissner ddf772a4d8 Add adl module and packages 2021-02-09 22:00:17 -05:00
Henrik Lissner be5d10a008 Move hw modules cfg to hardware-configuration.nix's 2021-02-02 04:08:01 -05:00
Henrik Lissner 930312b650 hosts/kuro: remove ZFS drives & support
I've moved this storage to an offsite NAS, so I don't need this on kuro.
2021-02-02 04:07:58 -05:00
Henrik Lissner ca5876dba2 hosts/{kuro,shiro}: add NFS share 2021-02-02 00:55:34 -05:00
Henrik Lissner 526dc19eeb Fix & redesign qutebrowser config 2021-02-02 00:53:30 -05:00
Henrik Lissner e0c0006554 hosts/ao: gitea.disableRegistration = true
And remove redundant config.
2021-02-01 19:50:55 -05:00
Henrik Lissner 68fa845a73 Add comments & remove redundant config
IS_TLS_ENABLED = true is implied if HOST's port is 465
2021-01-31 18:20:17 -05:00
Henrik Lissner fe4a34a9e3 Harden nginx defaults 2021-01-30 17:07:52 -05:00
Henrik Lissner 2c3b2b1294 hosts/kuro: remove asic kernel module
No longer needed now that we're on 5.10 (with built in support for my
2.5G network card).
2021-01-29 14:22:52 -05:00
Henrik Lissner a7e7b1703a hosts/{ao,shiro}: tweak cpu governors 2021-01-29 14:07:05 -05:00
Henrik Lissner 1455114778 hosts/shiro: update module list 2021-01-26 23:00:01 -05:00
Henrik Lissner f88552ad64 Add modules/services/syncthing.nix
Generalizes the module so it's not so Henrik-centric. I know,
blasphemous, but the world only sometimes revolves around me.

Also, adds a new, much simpler config for syncthing.
2021-01-26 23:00:01 -05:00
Henrik Lissner 8fd332dcc4 Add nofail option to zfs filesystems
So they don't prevent startup when zfs fails to mount non-essential
drives, like it currently does with 2.0.1 for some reason.
2021-01-26 22:58:47 -05:00
Henrik Lissner d0309c51a0 hosts/ao: rewrite & use agenix 2021-01-26 22:58:47 -05:00