Commit graph

2101 commits

Author SHA1 Message Date
Henrik Lissner 9d90e3a822 Replace lib.paths with config.dotfiles.* 2021-03-01 20:43:12 -05:00
Henrik Lissner 2073f02083 Update README 2021-03-01 00:36:31 -05:00
Henrik Lissner 80c86bb44f bin/hey: minor refactors & doc revision 2021-02-28 22:31:04 -05:00
Henrik Lissner 6e80c04cd0 bin/hey: remove shell command
Doesn't serve any purpose.
2021-02-28 22:31:04 -05:00
Henrik Lissner ab2e052ba3 bin/hey: fix repl command
Now loads nixpkgs and dotfiles flake.
2021-02-28 22:30:58 -05:00
Henrik Lissner 9e15da7f36 Bump
* Updated home-manager: github:rycee/home-manager/e7b1491fb8dfb1d2bdb90432312e88d03c8d803d -> github:rycee/home-manager/f45c7000d544f17e5499e2ae6b505b5f705c5d61
* Updated nixpkgs-unstable: github:NixOS/nixpkgs/5240639ab6bc56824302d32e52753725aa9a963d -> github:NixOS/nixpkgs/07b0c7bc4104b87cb5223ec10e32b863d10768ad
* Updated nixos-hardware: github:nixos/nixos-hardware/115770eed0c0fa50c1277cd0f7fe0f15501dbc43 -> github:nixos/nixos-hardware/c9b965a43e582765f797f8b75d50cb2874b30f30
2021-02-28 20:13:42 -05:00
Henrik Lissner 776ae31d1a Use fetchFromGitHub to download adl 2021-02-28 20:13:42 -05:00
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