Commit graph

266 commits

Author SHA1 Message Date
Simon Bruder b2449c3fe6
osu-lazer-container: Rename to osu-lazer-sandbox 2021-02-28 13:28:13 +01:00
Simon Bruder 3934c84644
zsh: Disable grml’s sad-smiley prompt 2021-02-28 11:27:08 +01:00
Simon Bruder 209ba3c5f6
programs: Remove starship (duplicate)
The home-manager starship module already adds it to the environment.
2021-02-28 11:27:06 +01:00
Simon Bruder c77328af22
Replace builtins with lib where possible 2021-02-27 19:57:00 +01:00
Simon Bruder f03c1daa31
mpd: Export socket path as environment variable
This eliminates the need to specify it manually every time.
2021-02-27 18:34:35 +01:00
Simon Bruder a745d7353e
sway: Add autostart to zshrc instead of zprofile
home-manager’s sessionVariables are not loaded yet when sway starts.
2021-02-27 18:34:35 +01:00
Simon Bruder b855ed533d
mpd/ncmpcpp: Use host from mpd module 2021-02-27 18:16:39 +01:00
Simon Bruder 1103dd5000
user/programs: Add wev 2021-02-27 16:55:42 +01:00
Simon Bruder 0ecdb8c4f7
user/programs: Correct sorting 2021-02-27 16:55:18 +01:00
Simon Bruder 790c4d03c0
mpd: Use package from unstable
The version from 20.09 logs every time a client connects (which pollutes
the journal) and I did not find an easy way to change this. The logging
was changed in a newer mpd version and the default log level now doesn’t
log connects.
2021-02-22 11:15:49 +01:00
Simon Bruder 94f3aae5b9
tmate: Init 2021-02-18 16:37:45 +01:00
Simon Bruder eb97e936ed
zsh: Use grml config system wide 2021-02-14 13:29:51 +01:00
Simon Bruder 1a7ef37376
home: Use nixosConfig instead of inheriting options 2021-02-12 21:12:03 +01:00
Simon Bruder 8c92c1b792
youtube-dl: Add 2021-02-08 20:40:54 +01:00
Simon Bruder d6d2857322
git: Add textconv hook for age diff 2021-02-08 19:19:18 +01:00
Simon Bruder 75a91e9116
vdirsyncer: Use new credentials 2021-02-06 18:07:53 +01:00
Simon Bruder 5ed071c0ed
Move admin tools to system tools
Fixes #37.

This also removes some tools from the user profile since I do not need
them anymore.
2021-02-05 17:34:34 +01:00
Simon Bruder d8514ab12c
Re-enable waifu2x-converter-cpp
Upstream released a new version which fixes building with gcc10 and
nixpkgs already updated to it.
2021-02-01 20:51:34 +01:00
Simon Bruder a02d3cb883
Use separate state version for every machine
This also uses the system state version as the home-manager state
version.

Fixes #35.
2021-01-31 12:21:05 +01:00
Simon Bruder 3304c8e62e
programs: Add poppler_utils 2021-01-30 23:27:53 +01:00
Simon Bruder d61fc70f23
mpd: Only enable when gui is enabled 2021-01-30 13:27:29 +01:00
Simon Bruder 204962d0f3
user: Fix gui programs being installed by mistake 2021-01-28 16:35:54 +01:00
Simon Bruder 5ecebf4435
nvim: Add nix snippet for sha256 hash 2021-01-22 20:18:39 +01:00
Simon Bruder c1283b6ffa
Add option to disable large packages
Fixes #27

This adds the `sbruder.full` option (enabled by default), which disables
some otherwise enabled packages/modules when disabled. When setting it
to false on a full gui system it reduces the size of the system closure
by over 50%. It is intended for systems with low (main) disk space.
2021-01-20 16:23:18 +01:00
Simon Bruder 7a41da6f17
sway: Fix multimedia key bindings 2021-01-19 12:47:03 +01:00
Simon Bruder a68b429a58
Remove user from docker group
This prevents unauthorised programs to effectively be root.
2021-01-17 18:06:12 +01:00
Simon Bruder a981641273
Disable waifu2x-converter-cpp
The build is currently broken in nixos unstable (git bisect says since
af802654b91e150fdaa8e32c29a0eefbdf953597). However, in a manual build
(outside of nix), it builds with gcc 10. It probably has to do with
flags that are passed.
2021-01-08 21:16:24 +01:00
Simon Bruder 7152112076
home/games: Add module and option 2021-01-07 18:29:18 +01:00
Simon Bruder dfc4bab334
home: Deduplicate inheritance of nixos options
Fixes #17
2021-01-07 18:22:21 +01:00
Simon Bruder e2d93ea30e
Add bwrap-helper 2021-01-07 17:11:31 +01:00
Simon Bruder 83ec18b7e4
home/programs: Make scrcpy gui program
Must have put it in the wrong category when I added that option.
2021-01-06 23:39:23 +01:00
Simon Bruder 826e196891
home/mimeapps: Force overwrite of mimeapps.list 2021-01-05 23:32:29 +01:00
Simon Bruder 55668b4d69
zsh: Fix zsh-nix-shell
Next time actually test a change before committing it.
2021-01-04 22:04:54 +01:00
Simon Bruder 77fa173fc4
home: Set state version to 20.09
This should not cause any conflicts.
2021-01-04 15:22:39 +01:00
Simon Bruder 2e33f18a3a
sway/wallpaper-unfree: Do not waifu2x wallpaper
I don’t have a screen wider than 1920 pixels and I only see my wallpaper
when switching to a new (empty) workspace.
2021-01-04 12:40:31 +01:00
Simon Bruder 3d73519a76
Make building without unfree software/assets work
This either removes the packages or replaces them with free packages.
2021-01-03 17:11:22 +01:00
Simon Bruder 131d0cc1a5
Add options for unfree software and assets 2021-01-03 17:11:22 +01:00
Simon Bruder 337ef729e1
sway: wallpaper: Specify license 2021-01-03 15:46:08 +01:00
Simon Bruder dbb56d4008
neovim: Specify licenses for plugins 2021-01-03 13:46:38 +01:00
Simon Bruder 4d5dcd358d
neovim: nerdtree-git-plugin: Use upstream
I don’t know why I used some old fork.
2021-01-03 13:45:50 +01:00
Simon Bruder 8ae4f4080d
mpv: Specify licenses for shaders and plugins 2021-01-03 13:37:28 +01:00
Simon Bruder 5659b834d4
mpv: Switch to nixpkgs fetchers 2021-01-03 13:20:25 +01:00
Simon Bruder 2a9815bb0a
zsh: dircolors-solarized: Specify license 2021-01-03 13:08:36 +01:00
Simon Bruder 73a02913fc
zsh: Use zsh-nix-shell from nixpkgs 2021-01-03 13:08:19 +01:00
Simon Bruder fb173f06ad
waifu2x-photo-models: Specify license 2021-01-03 13:03:12 +01:00
Simon Bruder fb488a8bb5
Use stdenvNoCC where possible
This makes them not rebuild when the compiler toolchain changes.
2021-01-03 12:55:56 +01:00
Simon Bruder 9c51d36c4d
Use fetchpatch to fetch patches 2021-01-02 10:58:08 +01:00
Simon Bruder 0b1c19b481
sway/waybar: Open pavucontrol on right click
Otherwise I open it accidentally all the time.
2021-01-01 14:05:23 +01:00
Simon Bruder 4dc478978e
Use lib.optionals instead of if then else [ ] 2021-01-01 14:00:32 +01:00
Simon Bruder dc3a5f5d2e
home: Add waifu2x-photo 2021-01-01 13:55:47 +01:00
Simon Bruder fa8323bddc
Enable rar support of p7zip 2021-01-01 13:00:38 +01:00
Simon Bruder cf16ae63b9
neovim: Add rnix-lsp 2020-12-25 12:07:58 +01:00
Simon Bruder 0f2e3d39c3
home: Add nixpkgs-fmt 2020-12-25 11:42:49 +01:00
Simon Bruder 124b9113a7
home: Add nix-diff 2020-12-25 11:42:33 +01:00
Simon Bruder 40986ce2c6
home: Add gpg config
Also use the opportunity to switch to a new gpg key.
2020-12-24 23:08:05 +01:00
Simon Bruder 076ec0b321
Use home-manager’s password-store module 2020-12-24 22:23:39 +01:00
Simon Bruder 1bc6988225
neovim: Use rls from nixpkgs 2020-12-24 13:23:17 +01:00
Simon Bruder 9b60e0cfe2
Add nixpkgs-review with pass wrapper 2020-12-22 15:28:23 +01:00
Simon Bruder 2fb7617a03
Restructure and clean up shell functions 2020-12-19 16:15:45 +01:00
Simon Bruder d8e4cd238d
home/programs: Add waifu2x-converter-cpp 2020-12-19 15:03:36 +01:00
Simon Bruder c3aa71c5ae
zsh: Remove docker functions
They either are not needed anymore (since the tools are in nixpkgs), I
don’t need them anymore or are moved to their specific project as a
script.
2020-12-18 17:48:09 +01:00
Simon Bruder 10e39fc404
Pin home-manager version 2020-12-13 17:57:09 +01:00
Simon Bruder 539befeba2
Make PTT in Mumble work with wayland
This still has some issues (notably the release not triggering when
switching workspaces while the PTT key is hold).
2020-12-10 20:23:53 +01:00
Simon Bruder c0c36b53d0
Revert "Manage waybar start with systemd"
This reverts commit 289f760252.

Since that commit breaks tray support.
2020-12-10 20:08:01 +01:00
Simon Bruder b5898a0896
Add wf-recorder 2020-12-08 18:59:35 +01:00
Simon Bruder 9d155e1773
Set GTK2 scale factor to 1 2020-12-08 18:55:34 +01:00
Simon Bruder 571d5bd3ad
sway: Clean up zsh start script 2020-12-07 19:59:49 +01:00
Simon Bruder 29ddc36591
sway: Use proper systemd integration 2020-12-07 19:52:06 +01:00
Simon Bruder 289f760252
Manage waybar start with systemd 2020-12-07 19:49:43 +01:00
Simon Bruder 7fd198edcf
Add initial password for user 2020-12-06 14:05:47 +01:00
Simon Bruder 8d9e3bbb8d
neovim: Fix nerdtree git plugin 2020-12-06 13:58:46 +01:00
Simon Bruder e53f2882f4
Disable system-wide sway extra packages 2020-12-06 13:58:45 +01:00
Simon Bruder 29cfc3750d
Move most tools to user environment
Fixes #1.
2020-12-05 19:44:41 +01:00
Simon Bruder 40d898bd0d
home: Reorganise module imports 2020-12-05 19:19:45 +01:00
Simon Bruder ba611b333b
mpd: Listen on socket 2020-12-05 18:53:35 +01:00
Simon Bruder bdc1c12f9c
Refactor pubkey configuration 2020-12-05 16:42:49 +01:00
Simon Bruder 9b22c91170
config.sbruder.gui → config.sbruder.gui.enable 2020-12-05 15:44:58 +01:00
Simon Bruder f718f79192
home: Parametrise gui 2020-12-05 15:40:48 +01:00
Simon Bruder a04a0e1543
sway: Include wallpaper 2020-12-02 21:39:42 +01:00
Simon Bruder 10b9dd5a84
Add swaynag config 2020-11-26 07:29:04 +01:00
Simon Bruder 70cabe55ee
sway/waybar: Change mpd volume on scroll 2020-11-15 09:45:28 +01:00
Simon Bruder 09deea9911
neovim: Use fzf for LanguageClient selection 2020-11-15 09:37:49 +01:00
Simon Bruder 555109df1b
sway: Add wdisplays 2020-11-14 10:15:54 +01:00
Simon Bruder 8bf5eaef89
home/mpv: Update hq profile 2020-11-08 19:25:44 +01:00
Simon Bruder b5616501b2
home: Move waybar exec commands into scripts 2020-11-08 16:03:13 +01:00
Simon Bruder e6f12b0b76
Use waybar from stable 2020-11-08 12:34:56 +01:00
Simon Bruder 5fb1304dae
home/neovim: Add pyls-black
Black’s integrated vim plugin does some virtualenv wizardry that does
not work on nixos.
2020-11-08 12:17:48 +01:00
Simon Bruder 3191c9119f
user: base.nix → default.nix 2020-11-07 19:22:33 +01:00
Simon Bruder babdaef1f3
Use vim for system and nvim for user 2020-11-07 19:22:32 +01:00
Simon Bruder bb95194619
home: Add zsh
This imports my (historically evolved) functions. I have to clean them
up sometime.
2020-11-07 19:22:31 +01:00
Simon Bruder ff74abc107
home: Add mpv 2020-11-07 19:22:31 +01:00
Simon Bruder dea242488f
home: Add tmux 2020-11-07 19:22:27 +01:00
Simon Bruder 07216be2c3
home: Add vdirsyncer, khal and khard 2020-11-07 17:13:15 +01:00
Simon Bruder f934caa993
home: Add neovim 2020-11-07 16:58:18 +01:00
Simon Bruder c5e32b564b
home: Add xcompose 2020-11-07 15:54:56 +01:00
Simon Bruder a01adec1f0
home: Add misc config files 2020-11-07 15:52:04 +01:00
Simon Bruder 5b571bd0c0
home: Add git 2020-11-07 15:40:07 +01:00
Simon Bruder 546060a7b8
mpd: Manage with home-manager 2020-11-07 15:27:13 +01:00
Simon Bruder fa231a7196
sway: Fully move to home-manager (where possible) 2020-11-07 15:04:49 +01:00
Simon Bruder f02590d824
home: use xdg.configFile where appropriate 2020-11-07 14:37:17 +01:00
Simon Bruder 148a9e2a8e
home: Add /tmp to gtk3 bookmarks 2020-11-07 14:34:59 +01:00
Simon Bruder b2f6f52e7e
home: Modularise 2020-11-07 14:32:31 +01:00
Simon Bruder 0dff0b89c8
home: Add ankisyncd plugin 2020-11-07 14:29:02 +01:00
Simon Bruder 6557aeee25
home: Add sway 2020-11-07 14:13:43 +01:00
Simon Bruder 0a3aef095b
home: Add zathura 2020-11-07 11:35:58 +01:00
Simon Bruder 182bdde6e3
home: Modularise solarized colorscheme 2020-11-07 11:27:41 +01:00
Simon Bruder 630250b3ef
home: Add alacritty 2020-11-07 11:19:41 +01:00
Simon Bruder a5aa8ddc9c
home: Add htop config 2020-11-07 11:05:58 +01:00
Simon Bruder 25947a3010
home: Manage xdg mimeapps 2020-11-07 10:56:51 +01:00
Simon Bruder 4c872e9838
Pin home-manager version to 20.09 2020-11-02 13:50:40 +01:00
Simon Bruder 09c0474be0
users/simon: Add to video group 2020-10-17 20:12:13 +02:00
Simon Bruder c03ae8fbd0
Update authorized keys 2020-10-16 16:07:45 +02:00
Simon Bruder db1348014e
Update to 20.09
MPV is disabled since the override options no longer work.
This also applies updated formatting.
2020-09-25 22:32:42 +02:00
Simon Bruder 8b32cc4846
Add libvirt and virt-manager 2020-09-12 20:54:10 +02:00
Simon Bruder d0d231a49d
home: gtk2: Disable tooltips 2020-08-24 20:59:44 +02:00
Simon Bruder a05102e91c
Initial commit 2020-08-22 17:44:39 +02:00