Commit Graph

26 Commits

Author SHA1 Message Date
Hoang Nguyen 24e2457c94
Update URL (using lowercase characters now) 2024-01-27 00:00:00 +07:00
Hoang Nguyen 048ee930bf
users: implement support for all 3 options sudo/doas/please for sudo_provider 2023-10-01 00:00:00 +07:00
Hoang Nguyen ec72f75587
Add 'ntpd' and 'auditd' roles
More changes:
- Remove 'grub' role. We shouldn't touch anything related to the
  bootloader here, as it's dangerous. I'll write docs for myself on
  this.
- Fix linting here and there, so ansible-lint won't complain
- Refactor group_vars/all.yml to be more readable
2023-04-06 00:00:00 +07:00
Hoang Nguyen df578407df
networking: add connman as an option for DHCP
Also:
- refactor /etc/network/interfaces
- remove Vagrantfile (not used regularly and doesn't work anymore)
2023-02-19 00:58:13 +07:00
Hoang Nguyen 385332e312
nftables: do some fancy stuff with sets
- Fix the incorrect use of rate limit on ICMP rule ('over' keyword
  matched over the rate limit)
- Use dynamic sets to limit connections on opened ports
- Naively whitelist all libvirt bridges. This includes the whole
  192.168.0.0/16 subnet, so it probably will clash with the internal LAN
  network. I control my own router :) so I don't mind (just use
  a different private IPv4 address space).
2022-11-05 11:21:19 +07:00
Hoang Nguyen 4d1dd6cd7a
cron: add other implementations of crond
Supports cronie, fcron and busybox's crond.
2022-10-30 00:35:50 +07:00
Hoang Nguyen 8e61893c93
Some beginning works for component customization 2022-10-01 21:15:29 +07:00
Hoang Nguyen b2abb4cfd6
README: move TODO section out 2022-09-03 17:30:52 +07:00
Hoang Nguyen e85c23d954
dns: update resolvconf command path
Ref: 94fb0ed84b
2022-07-04 00:31:01 +07:00
Hoang Nguyen be19369633
roles: add devd role
Make device_manager configurable on setup (mdev, mdevd, udev) utilizing
the new introduced 'setup-devd' script.
2022-05-20 23:56:47 +07:00
Hoang Nguyen 40923b16ab
roles: add waydroid; nftables: refactor firewall rules 2022-05-10 23:18:19 +07:00
Hoang Nguyen 26a97d88d4
README: update link to dotfiles 2022-04-17 21:03:47 +07:00
Hoang Nguyen 68d4ac38eb
Yep yep
- nftables: don't masquerade on IPv6 addresses as SNAT doesn't exist in
  IPv6 realm (yet?)
- use `pamd`, `sysctl`, `kernel_blacklist`, `pam_limits`, `mount` Ansible
  modules instead of copying files to the right places
- zram: use loops to dynamically configure zram devices
2022-04-17 19:02:21 +07:00
Hoang Nguyen 3764a538ed
Convert networking stuff to templates
- unbound: add `network_interfaces` variable to control
  /etc/network/interfaces (check interfaces(5))
- nftables: add `libvirt_bridges` and `opened_ports` to
  dynamically generate firewall rules
2022-04-04 13:34:07 +07:00
Hoang Nguyen 81c89d0ecb
usbguard: generate policy for connected devices
Also nftables: don't start the service right away (the nftables module
might not be loaded immediately)
2022-03-22 00:23:24 +07:00
Hoang Nguyen 3d492af701
Update README 2022-02-28 15:41:10 +07:00
Hoang Nguyen d1bc71e7f7
Add usbguard role + refactor apk packages 2022-02-27 23:06:06 +07:00
Hoang Nguyen 74bad76431
README: encourage installing only 'ansible-core' 2022-02-27 19:39:13 +07:00
Hoang Nguyen 9796d5beb0
Add Vagrantfile for testing
Also fix some edge cases when testing
2022-02-27 19:20:25 +07:00
Hoang Nguyen 55fcacf5a0
Update README 2022-02-21 15:29:51 +07:00
Hoang Nguyen 838516335d
Add acpi events
Also separate seat management into 'seat' role
2022-02-17 11:48:37 +07:00
Hoang Nguyen 6f39686e18
Update README 2022-02-16 01:33:57 +07:00
Hoang Nguyen e059193bd7
Big chunk of changes
- essential:
  - make polkit optional
  - move /etc/hosts file to unbound role
- libvirt:
  - make libvirt daemons configurable
  - delete the firewall patch. Hardcode the rules by default (for now)
    so that the playbook is compatible with `ansible-core`
- user: add pam_limits file (moved from dotfiles repository)
- sysctl: role deleted. The task was moved to essential role
- fstab: new role for /run, /tmp, /proc mounts
- add seatd as a 'seat_manager' option
- cron: use find command to restraint deleted files in /var/tmp
2022-02-12 00:56:39 +07:00
Hoang Nguyen 512b0005c5
Update README 2022-01-26 22:14:22 +07:00
Hoang Nguyen 92382adbcd
Getting started 2022-01-15 01:46:59 +07:00
Hoang Nguyen a184804a51 Initial commit 2021-10-31 16:14:55 +00:00