Commit graph

2144 commits

Author SHA1 Message Date
Henrik Lissner 2286d85a68 Rewrite backup services+timers 2021-02-28 20:13:42 -05:00
Henrik Lissner de7714e8d6 Add blender to graphics module 2021-02-28 14:26:48 -05:00
Henrik Lissner 0325968f12 Polish mock syncthing config 2021-02-28 14:26:48 -05:00
Henrik Lissner 1210a4b2ed Split up rsync aliases & improve comments 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 dfe6055e54 Add -J to scp alias
Means omit mtime updates on symlinks -- always throws an error
otherwise.
2021-02-28 00:13:29 -05:00
Henrik Lissner 699e272643 hosts/ao: refactor nginx config 2021-02-27 23:03:59 -05:00
Henrik Lissner 8ca2cc66ba mkdir /run/backups/bitwarden_rs
Since the service fails to do it itself.
2021-02-27 15:30:02 -05:00
Henrik Lissner 6a4463ed8d Bump
* Updated agenix: github:ryantm/agenix/a704a85cbdceb5b6da2c29767dd7a1f446fde7a6 -> github:ryantm/agenix/ed7e69bff3c17671349839f696e88e345eb9eb24
* Updated nixpkgs-unstable: github:NixOS/nixpkgs/7866dda03a7e833db708a4adefa919c0bee1db1e -> github:NixOS/nixpkgs/5240639ab6bc56824302d32e52753725aa9a963d
* Updated home-manager: github:rycee/home-manager/da923602089501142855bbb3c276fbc36513eefb -> github:rycee/home-manager/e7b1491fb8dfb1d2bdb90432312e88d03c8d803d
2021-02-27 11:20:40 -05:00
Henrik Lissner 60e3b114db Resolve paths to yarn/npm 2021-02-27 11:20:16 -05:00
Henrik Lissner 294e20af3c Replace rcpd alias
Original wasn't very useful.
2021-02-27 11:20:00 -05:00
Henrik Lissner 9d87ac9d49 bin/hey gc: gc system profile first
Better UX to prompt for root password sooner.
2021-02-26 13:27:17 -05:00
Henrik Lissner 3c8481307b Add DOTFILES_BIN envvar 2021-02-26 13:20:46 -05:00
Henrik Lissner fcc7366f83 bin/hey: derive target host from --flake argument 2021-02-24 14:37:16 -05:00
Henrik Lissner 60ca8b192b bin/rofi/bwmenu: add --field whole support
Mostly for shell script interop, so each field doesn't have to be
independently fetched.
2021-02-24 14:35:16 -05:00
Henrik Lissner 705a1fa30d Add bin/rofi/bwmenu & sxhkd shortcuts for it
Bitwarden + rofi
2021-02-23 10:47:38 -05:00
Henrik Lissner 4f4e0de6a3 Correct NixOS version in readme 2021-02-22 22:44:52 -05:00
Henrik Lissner c883524efc Replace backup module with built-in solutions
May not be as universal, but is more certain to work correctly than my
hacked up version that I'm not so invested in.
2021-02-22 10:40:22 -05:00
Henrik Lissner c788855196 bin/hey: minor reformatting 2021-02-21 14:48:04 -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 8c97c46f5d Disable sandbox, enable autoOptimiseStore 2021-02-21 10:27:17 -05:00
Henrik Lissner 30bf3e110f system.stateVersion = 21.05 2021-02-21 10:27:17 -05:00
Henrik Lissner 1d13fcc35a Bump
* Updated emacs-overlay: github:nix-community/emacs-overlay/2f4388220c02d963eb85a88d55d044c22e8a8218 -> github:NixOS/nixpkgs/063ee066b5095dd2f21f47c582b04024674974a8
* Updated nixpkgs-unstable: github:NixOS/nixpkgs/e0f6e514b1194dab73a627bced804805252befd1 -> github:NixOS/nixpkgs/7866dda03a7e833db708a4adefa919c0bee1db1e
* Updated home-manager: github:rycee/home-manager/2e795f3efd6265e3d538d4ee78bba773e1044340 -> github:rycee/home-manager/da923602089501142855bbb3c276fbc36513eefb
2021-02-21 10:27:17 -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 404e0c2881 Tweak rofi styles 2021-02-20 11:39:27 -05:00
Henrik Lissner ad2f0e6d7c Use ruby 2.7 in scripts 2021-02-18 00:26:59 -05:00
Henrik Lissner 117a417778 Fix rcp alias 2021-02-17 23:27:52 -05:00
Henrik Lissner d1839427ce Update global gitignore 2021-02-17 23:21:26 -05:00
Henrik Lissner 547dcd4789 bin/rofi/browsermenu: update comments 2021-02-17 19:19:32 -05:00
Henrik Lissner 6f44bee01a Bump
* Updated emacs-overlay: github:nix-community/emacs-overlay/7868ad9dadc16ac8a46a294fab0e42bb2e208a83 -> github:nix-community/emacs-overlay/2f4388220c02d963eb85a88d55d044c22e8a8218
* Updated home-manager: github:rycee/home-manager/1ee1d01daa19b3a6d16b5fb680c31a2bc110ce24 -> github:rycee/home-manager/2e795f3efd6265e3d538d4ee78bba773e1044340
* Updated nixos-hardware: github:nixos/nixos-hardware/0cb5491af9da8d6f16540ffc4db24e2361852e46 -> github:nixos/nixos-hardware/115770eed0c0fa50c1277cd0f7fe0f15501dbc43
* Updated nixpkgs-unstable: github:NixOS/nixpkgs/328eff7545bfd86447c2f2ad4bdd2c2f1d2c7758 -> github:NixOS/nixpkgs/e0f6e514b1194dab73a627bced804805252befd1
2021-02-17 17:18:06 -05:00
Henrik Lissner 6bc304200d Remove unused config 2021-02-17 17:12:11 -05:00
Henrik Lissner 7293bf4e4d Update zsh aliases 2021-02-17 17:08:17 -05:00
Henrik Lissner 029259623d Update emacs aliases 2021-02-17 16:13:56 -05:00
Henrik Lissner b3bbb692c1 Minor reformatting 2021-02-17 12:53:17 -05:00
Henrik Lissner aa32b27b70 hey/repl: don't load dotfiles flake
Doesn't populate special args (like inputs).
2021-02-17 12:34:46 -05:00
Henrik Lissner c603422085 Replace bin/bookmarkmenu with bin/browsermenu
Handles both history and bookmarks. Also, rewritten in ruby.
2021-02-17 00:47:30 -05:00
Henrik Lissner d05afa7ee6 bin/hey: fix logic oopsies
+ Fix premature termination on shell command failure
+ Fix :gc always cleaning up user profile, even if --system is given
2021-02-15 19:06:48 -05:00
Henrik Lissner 05faec5801 gitconfig: clean up & pull.rebase = true 2021-02-15 17:46:30 -05:00
Henrik Lissner 34f3dffae8 Update bin/hey commands in readme 2021-02-15 17:20:36 -05:00
Henrik Lissner 44d19603e0 readme: 20.09 -> 21.03 2021-02-15 17:19:34 -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 db6589fef8 xst: switch to JetBrainsMono & add borderpx 2021-02-15 13:16:18 -05:00
Henrik Lissner ea491c01be Bump
* Updated agenix: github:ryantm/agenix/ddb81b8bdafa83a7aa210fc98ead4c78e7a70912 -> github:ryantm/agenix/a704a85cbdceb5b6da2c29767dd7a1f446fde7a6
* Updated emacs-overlay: github:nix-community/emacs-overlay/372abc54ca3ec9c61b1fa3119ceb22c249f3714c -> github:nix-community/emacs-overlay/7868ad9dadc16ac8a46a294fab0e42bb2e208a83
* Updated nixpkgs: github:NixOS/nixpkgs/7cbec40a09533dd9c525d6ab94dddfe77768101a -> github:NixOS/nixpkgs/ff96a0fa5635770390b184ae74debea75c3fd534
* Updated nixpkgs-unstable: github:NixOS/nixpkgs/ff96a0fa5635770390b184ae74debea75c3fd534 -> github:NixOS/nixpkgs/328eff7545bfd86447c2f2ad4bdd2c2f1d2c7758
2021-02-15 13:16:18 -05:00