Commit graph

264 commits

Author SHA1 Message Date
Henrik Lissner 2da00f3ad5 fail2ban: speed up gitea/bitwarden jails
These services log to syslog, so a log file doesn't exist, meaning
fail2ban must scan the whole journal to seek authentication failure
logs, which is slow! By specifying a journalmatch, it significantly
narrows the scope of their searches.
2021-01-30 06:04:38 -05:00
Henrik Lissner d380e06cba Make fail2ban defaults less forgiving 2021-01-30 04:52:13 -05:00
Henrik Lissner 24d5a426f5 Clean up modules/desktop/media/daw.nix 2021-01-30 02:39:00 -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 41ac027216 Add modules/backup.nix
A rudimentary backup and restoration system.
2021-01-26 23:00:01 -05:00
Henrik Lissner dd62442c09 Install ripgrep in zsh module 2021-01-26 22:58:47 -05:00
Henrik Lissner be343218e9 Add modules/desktop/browsers/brave.nix 2021-01-26 22:58:47 -05:00
Henrik Lissner 5ceb72ddee Remove services.gitea.disableRegistration default
This can be done in the host file, once its ready to disable
registration.
2021-01-26 22:58:47 -05:00
Henrik Lissner e703bd374d New ssh pubkey & redesign 'hey push'
Remote rebuilding requires root access, but I don't want root ssh
access (even by ssh key) to be a permanent fixture of my servers.  So
I've changed 'hey push' to copy my remote user's `authorized_keys` to
/root/.ssh/ temporarily, until the rebuild is complete. It is removed
afterwards.

This should be done non-destructively in the future, but it suits my
needs for now.
2021-01-26 22:56:50 -05:00
Henrik Lissner 69d730f89d Add agenix
Indexes all *.age files in $HOST/secrets/
2021-01-22 20:01:55 -05:00
Henrik Lissner a1ab0811bb Refactor 2021-01-20 01:28:30 -05:00
Henrik Lissner 096a60d61f
services/nginx: add main user to nginx group 2021-01-02 00:26:07 -05:00
Henrik Lissner bca8c84ab3
Minor refactors & readme revision 2021-01-02 00:26:00 -05:00
Henrik Lissner 608b3472b9
security.acme.acceptTerms = true
So we don't have to later.
2021-01-02 00:24:20 -05:00
Henrik Lissner 177a7eec6f
Add services/fail2ban module
With bitwarden_rs & gitea filters
2021-01-01 21:19:06 -05:00
Henrik Lissner 25f0d8044a
Minor refactors 2020-12-31 19:34:11 -05:00
Henrik Lissner 13afdacb45
Initial password "nixos"
Instead of "nix". Will be changed immediately post-install anyway.
2020-12-31 17:31:29 -05:00
Henrik Lissner e74a392d76
Add modules/shell/bitwarden module
For bitwarden-cli
2020-12-21 22:46:17 -05:00
Henrik Lissner dfcb990be4
More comments; add to shiro README.org 2020-12-21 22:38:06 -05:00
Henrik Lissner 203629c476
Add modules.shell.pass.passwordStoreDir option 2020-12-21 22:38:06 -05:00
Henrik Lissner 9572aa99a6
Default gitea to sqlite
Most portable default.
2020-12-19 23:02:46 -05:00
Henrik Lissner 807b76e640
hosts/ao: finish bitwarden config 2020-12-19 08:05:05 -05:00
Henrik Lissner 9d257c8e55
Bump 2020-12-19 04:31:58 -05:00
Henrik Lissner c9efc8c9e0
Add basic bitwarden service module 2020-12-18 23:42:52 -05:00
Henrik Lissner 426eedea86
Switch to emacsPgtkGcc
And bump emacs-overlay
2020-11-27 13:58:06 -05:00
Henrik Lissner 64a065ef47
Use inkscape from unstable branch 2020-11-17 15:28:05 -05:00
Henrik Lissner d5c807a4f9
Move to nixpkgs/master
For that 5.9.2 kernel goodness. Since I can track nixpkgs myself, I'm
using nixpkgs/master now (and twice, so I can track them at separate
rates).

Though, for now, nixpkgs == nixpkgs.unstable
2020-10-30 01:41:35 -04:00
Henrik Lissner afea2c28d8
Remove dependency on killall in bspwmrc 2020-10-26 14:05:10 -04:00
Henrik Lissner f0bd026007
Fix polybar+bspwm onReload handler 2020-10-26 14:04:52 -04:00
Henrik Lissner 804011f538
Refactor flake 2020-10-26 05:48:12 -04:00
Henrik Lissner d8730b6d30
Fix GTK config 2020-10-26 00:28:37 -04:00
Henrik Lissner 86a8f40ea2
Minor comment revision 2020-10-25 15:52:50 -04:00
Henrik Lissner ccdeb4cb8d
Move fonts to theme 2020-10-25 15:52:50 -04:00
Henrik Lissner b81f38aa07
Fix zsh syntax highlighting in first line
Due to unterminated code.
2020-10-25 15:52:50 -04:00
Henrik Lissner 7e6c26fd9c
Minor refactors 2020-10-25 15:52:50 -04:00
Henrik Lissner 14e2aada30
Refactor theme system, add 'hey theme' & reload handlers
Themes can now be swapped with 'hey theme NAME', or reloaded with the
reloadTheme script.
2020-10-25 15:52:50 -04:00
Henrik Lissner c50a51f987
Rename fluorescence -> alucard
Since it's dracula inspired 'n all...
2020-10-23 20:53:34 -04:00
Henrik Lissner 2736c461a1
Add services/teamviewer module 2020-10-21 15:49:45 -04:00
Henrik Lissner 3da2c0c62e
Bump 2020-10-20 15:31:00 -04:00
Henrik Lissner a282ce48ae
Switch to emacsGcc 2020-10-20 15:30:54 -04:00
Henrik Lissner ffed225e8d
Slightly smaller icons in rofi 2020-10-17 23:40:07 -04:00
Henrik Lissner 8f57daf4bd
Minor refactors 2020-10-17 23:40:07 -04:00
Henrik Lissner b7c00a985c
Refactor modules/themes/fluorescence
Extract functionality, remove redundant wallpaper logic, and simplify
wallpaper options.
2020-10-17 23:40:06 -04:00
Henrik Lissner c172f7cef3
Fix inputrc & wgetrc locations
These are config files, not data files.
2020-10-16 20:18:00 -04:00
Henrik Lissner 92fa038b78
Smaller rofi icons 2020-10-16 17:35:44 -04:00
Henrik Lissner 5e0aae921a
Revert 496919a
Otherwise 'hey re' will never see the new config.
2020-10-16 17:32:18 -04:00
Henrik Lissner daf5ecca37
Fix rofi icons
I no longer install/use nerd fonts.
2020-10-16 15:48:42 -04:00
Henrik Lissner 496919a995
Use binDir in PATH
Makes the config a little more portable, but makes it harder to work on
binscripts (you'd have to 'hey re' on every change). I have another way
around that, but I'll push that later.
2020-10-15 15:29:16 -04:00
Henrik Lissner 1b84a3c047
Minor tweaks/refactors 2020-10-14 13:48:38 -04:00
Henrik Lissner 344ed305c5
Improve git config
+ Replace 'git browse' (hub-only) with git-open
+ Add URL aliases for github, gist and gitlab
+ Replace 'git branch' alias with 'git branch -av'
2020-10-11 01:31:33 -04:00
Henrik Lissner a75c64d04a
Rewrite to use flakes
This puts a hard dependency on 20.09, but that's to be expected.
2020-10-11 01:31:33 -04:00
Henrik Lissner 744cf032c3
Remove factorio module
I install it over steam instead.
2020-08-01 15:35:23 -04:00
Henrik Lissner b47de23f0a
Modularize emacs package 2020-07-31 18:57:14 -04:00
Henrik Lissner fbff066eb2
Add network and fs segments to polybar 2020-07-29 00:45:35 -04:00
Henrik Lissner 0208ea0cd7
Install inkscape 1.0 2020-07-28 02:17:21 -04:00
Henrik Lissner 6bd248e5b7
dev/node: install yarn 2020-06-06 03:21:49 -04:00
Henrik Lissner e00530a4be
Install texlive medium
scheme-tetex doesn't include dvipng and some needed latex packages.
2020-05-12 17:46:03 -04:00
Henrik Lissner e169416ae4
Fix firefox address bar obscured by tabs 2020-05-09 20:36:32 -04:00
Henrik Lissner 79164116bc
Update userChrome.css for firefox
- Fix the urlbar being pushed up and off-screen.
- Fix tidbits of the tabbar showing through the suggestion/completion
  popup.
2020-05-08 18:48:27 -04:00
Henrik Lissner aaebfcca88
Update userChrome.css for new version of firefox 2020-05-06 02:44:12 -04:00
Henrik Lissner e05eec07ef
Remove shut down, reboot & sleep actions from rofi
Twice. I've accidentally hit "Reboot" twice, in the past two weeks.

So let's not make this so easy to do...
2020-05-02 13:07:27 -04:00
Henrik Lissner 8a3ccf4326
Use ssh-agent for ssh, instead of gpg 2020-04-27 19:20:50 -04:00
Henrik Lissner d6c4888fe1
Disable spotifyd + spt hackery
spt will drop connection randomly; it's so disruptive that it makes the
whole setup unusable. Until a better solution appears, I'll stick to the
official client.
2020-04-27 19:19:58 -04:00
Henrik Lissner 533652e383
Add ssh support to gnupg 2020-04-24 14:22:12 -04:00
Henrik Lissner 1e053a44df
Don't symlink <config/rofi>
It doesn't exist yet and isn't being used anyway.
2020-04-24 01:01:40 -04:00
Henrik Lissner 6675d7ba88
Refactor emacs.nix; install a little more of texlive 2020-04-22 20:41:34 -04:00
Henrik Lissner a41169c073
Add docker module 2020-04-22 19:55:26 -04:00
Henrik Lissner 14329586b9
s/compton/picom
20.03 uses picom instead. A compton alias exists, but I rather be
precise.
2020-04-22 19:53:25 -04:00
Henrik Lissner f1cf10e580
Update to 20.03 2020-04-22 19:52:48 -04:00
Henrik Lissner 0dc17cc5a5
Use emacsUnstable overlay instead of mine
Less work for me!
2020-04-12 21:01:45 -04:00
Henrik Lissner a5d776c0ea
Use C-j/C-k for navigation in rofi 2020-04-08 14:46:31 -04:00
Henrik Lissner 6f33185f28
Load dev/godot.nix 2020-04-06 23:29:46 -04:00
Henrik Lissner 6e596ebe14
Modularize dev/zsh.nix 2020-04-06 23:29:11 -04:00
Henrik Lissner 09f389fc29
Modularize dev/unity3d.nix 2020-04-06 23:28:26 -04:00
Henrik Lissner d9a56ceb87
Modularize dev/node.nix 2020-04-06 23:27:35 -04:00
Henrik Lissner d56556b26f
Generalize dev/love2d.nix into dev/lua.nix 2020-04-06 23:26:35 -04:00
Henrik Lissner 953c4c450b
Modularize dev/python.nix 2020-04-06 23:26:34 -04:00
Henrik Lissner 1eeb7af2bb
Rewrite spotify+spotify-tui layer
Very roundabout, I know, but there is so much wrong with
nixpkgs.spotifyd that its less trouble to do it myself.
2020-04-06 15:41:35 -04:00
Henrik Lissner 9103a582d6
Add browsers/vimb module (does not work!) 2020-04-06 15:40:52 -04:00
Henrik Lissner fac2bb74f3
Add firefox userChrome.css for fluorescence theme 2020-04-06 15:38:02 -04:00
Henrik Lissner a30af3f837
User activation scripts instead of env extraInit 2020-04-06 01:57:44 -04:00
Henrik Lissner c6c6e18036
Uncache direnv init
It's not expensive enough to cache.
2020-04-06 01:54:35 -04:00
Henrik Lissner 1fc88b1dfe
Refactor bspwm config 2020-04-06 01:54:14 -04:00
Henrik Lissner ebd7358aa8
Move emacs to ~/.config/emacs 2020-04-01 19:11:42 -04:00
Henrik Lissner 459189eccb
Redesign rofi + polybar to match README screenshots 2020-03-29 01:55:19 -04:00
Henrik Lissner 592ee79a83
Modularize config 2020-03-29 01:55:14 -04:00
Henrik Lissner df1020f559
Replace emacs 26 with 27 2020-03-07 22:10:02 -05:00
Henrik Lissner 22bad0de92
Add screenshots to theme readme 2020-02-11 22:07:08 -05:00
Henrik Lissner 85e4606ab5
Move dunst notifications 2020-02-11 18:43:03 -05:00
Henrik Lissner 9b0a9ecfad
Add ranger module
With image preview support via w3m.
2020-02-09 03:05:02 -05:00
Henrik Lissner f044edddb6
Introduce new Dracula-based fluorescence theme 2020-02-09 03:03:58 -05:00
Henrik Lissner 22decc7d33
Add "Lock Display" desktop item
For rofi.
2020-02-08 23:26:49 -05:00
Henrik Lissner 67052c6603
Back to ST 2020-02-02 17:35:14 -05:00
Henrik Lissner 8478227da2
Remove TERMINAL envvar
Not so useful
2020-02-02 17:23:00 -05:00
Henrik Lissner 074ed153bf
Add basic stumpwm module
Unfinished. Will revisit later.
2020-02-02 02:16:36 -05:00
Henrik Lissner 2fc26aef2c
Move rofi scripts to bin/rofi 2020-02-01 23:16:07 -05:00
Henrik Lissner 9d137dc744
Simplify & refactor desktop & terminal modules 2020-02-01 23:16:07 -05:00
Henrik Lissner 6b7150ecd8
Add tmux plugins & fix pasting 2020-02-01 01:40:16 -05:00
Henrik Lissner 4eef6df57a
st -> urxvt 2020-02-01 01:39:56 -05:00
Henrik Lissner 03500c134d
Add common-lisp module 2020-01-23 20:38:14 -05:00