Simon Bruder
d863586f23
mpv: Use ffmpeg-full
...
This allows mpv to support more exotic file formats and lavf filters.
Since I am already overring mpv, it should not add another local
rebuild.
2021-06-30 19:49:28 +02:00
Simon Bruder
43722b1177
programs: Add taskell
2021-06-25 22:15:01 +02:00
Simon Bruder
80e68848c5
Remove taskwarrior
...
I find myself not using it but instead writing everything in a plain
text file.
2021-06-25 19:23:23 +02:00
Simon Bruder
fc6c997575
nix-direnv: Use new home-manager option
2021-06-23 17:22:04 +02:00
Simon Bruder
2aa489853f
programs: Add snownews
2021-06-06 00:12:55 +02:00
Simon Bruder
387947191d
programs: Re-enable ungoogled-chromium
...
This reverts commit 0ba5f8c6fa
.
2021-06-03 16:41:22 +02:00
Simon Bruder
b44acc2ffa
programs: Replace optipng with oxipng
2021-06-02 23:30:16 +02:00
Simon Bruder
e6a0684bfe
neovim: Drop deprecated g:vimtex_syntax_autoload_packages
2021-06-02 14:01:58 +02:00
Simon Bruder
ce57c9a62c
neovim: Highlight syntax in markdown code blocks
2021-06-01 17:54:38 +02:00
Simon Bruder
c0efaa02ba
mullvad: Move script into system module
...
It doesn’t make sense to install the configuration files system-wide but
the script only for the user.
2021-06-01 10:29:58 +02:00
Simon Bruder
b0d6861825
Use shellcheck
...
This also adds set -e and friends where applicable.
2021-05-31 23:59:13 +02:00
Simon Bruder
56b9c6c37f
Add module for on-demand usage of mullvad
...
Since wg-quick does not require the configuration file to include a
private key and local addresses, they can be added after the execution
of wg-quick.
Fixes #32 .
2021-05-31 23:02:11 +02:00
Simon Bruder
a196059da6
ncmpcpp: Adapt visualizer settings to 0.9
2021-05-29 18:04:29 +02:00
Simon Bruder
4013206449
neovim: LC: Load per-project configuration
2021-05-29 14:46:32 +02:00
Simon Bruder
0fdfec4385
mpv: Add motion vector interpolation script
2021-05-28 16:10:11 +02:00
Simon Bruder
ef9731a080
mpv: Fix debanding being active by default
2021-05-28 15:06:17 +02:00
Simon Bruder
91b3e97e48
mpv: Update gallery-view plugin
2021-05-28 14:05:14 +02:00
Simon Bruder
54288988de
zsh: Explicitly disable prompt in user config
...
Otherwise starship does not work in 21.05.
2021-05-28 14:05:13 +02:00
Simon Bruder
091f6b0e14
Update to 21.05
...
This still uses the relase-21.05 branch which should later be changed to
nixos-21.05.
2021-05-28 14:04:53 +02:00
Simon Bruder
ad0748ba1b
Use gammastep instead of redshift
2021-05-27 18:07:01 +02:00
Simon Bruder
10a63f585d
mako: Remove notification inhibitor
...
Upstream wants to implement modes, which collide with the patch that I
used.
2021-05-27 18:07:00 +02:00
Simon Bruder
004a879f46
programs/mumble: Fix PTT patch hash
...
It has been wrong since 9c51d36c4d
switched to fetchpatch (which strips the headers from the patch and
therefore produces a different file).
2021-05-19 16:19:58 +02:00
Simon Bruder
b0754833b4
neovim: Use rust-analyzer instead of rls
2021-05-19 15:18:48 +02:00
Simon Bruder
9afeb8527a
programs: Add gallery-dl
2021-05-16 17:59:21 +02:00
Simon Bruder
0ba5f8c6fa
programs: Disable ungoogled-chromium
...
The build on hydra is failing[1] and compiling chromium is no fun.
[1]: https://hydra.nixos.org/build/142976662
2021-05-15 14:19:05 +02:00
Simon Bruder
e629ad86fb
programs: Add textidote
2021-05-13 13:51:06 +02:00
Simon Bruder
ebeba7c6fd
programs: Add deemix
2021-05-13 13:50:56 +02:00
Simon Bruder
7a5d16106a
mkvpropedit-add-fonts: Fix with spaces in filenames
2021-05-07 21:34:35 +02:00
Simon Bruder
9bbc4a2f7a
sway: Use xwayland from unstable
...
20.09’s xwayland crashes (presumably because of sway 1.6).
2021-05-04 21:53:15 +02:00
Simon Bruder
0bb095a2bf
zsh: No longer unset LESS_TERMCAP
...
Since I now manually select the environment variables imported into
systemd/dbus, other variables with escape characters are no longer a
problem.
2021-05-03 10:16:59 +02:00
Simon Bruder
09618443eb
sway: Manually implement systemd/dbus integration
...
The way provided by home-manager does not work reliably.
This also references (hopefully) all executables called by systemd
services by their full path.
2021-05-03 10:16:58 +02:00
Simon Bruder
400b55a293
Convert to flake
...
Fixes #3 .
2021-05-01 17:36:58 +02:00
Simon Bruder
d704dab620
zsh: Do not match #
...
Nix flakes use # extensively, so quoting '#' every time is not feasible.
This needs to be added to the end of initExtra so other commands do not
reset it.
2021-05-01 16:53:47 +02:00
Simon Bruder
236ac3488a
sway: Make shells reload environment every time
...
Otherwise changing environment variables requires me to log out.
2021-05-01 16:34:27 +02:00
Simon Bruder
267eecf000
sway: Make swaynag buttons easier to read
2021-04-30 19:22:08 +02:00
Simon Bruder
0ddb38e8f9
sway: Use package from unstable
...
Sway 1.6 is in nixos-unstable, so I don’t have to apply the patch
manually.
This also addds the WAYLAND_DISPLAY variable to dbus, which is required
to show the GCR prompter GTK3 window. This only happened after the
upgrade, so I assume sway changed some things that necessitate this.
2021-04-30 19:05:36 +02:00
Simon Bruder
5de2acd1f0
neovim: Add indentation settings for bib files
2021-04-22 16:05:25 +02:00
Simon Bruder
bcee4c3243
mpv: Use better subtitle settings
2021-04-19 21:48:26 +02:00
Simon Bruder
4b81f9163a
mpv/visualiser: Fix resolution for visualiser-60
2021-04-18 22:29:36 +02:00
Simon Bruder
3e9593eb78
Revert "games: Disable osu-lazer-sandbox"
...
This reverts commit 6cff58fcb0
.
2021-04-18 18:02:09 +02:00
Simon Bruder
ce62b43bc8
mpv: Also enable for full non-gui systems
2021-04-18 17:52:32 +02:00
Simon Bruder
9d27b71588
pkgs/cyanrip: Init
...
This also replaces abcde in user environment with cyanrip.
2021-04-18 10:40:33 +02:00
Simon Bruder
bd9f25c995
programs: Add opusTools
2021-04-17 23:17:17 +02:00
Simon Bruder
b51bff724f
zsh: Make cp use reflinks if possible
2021-04-17 19:36:37 +02:00
Simon Bruder
942a5ffb04
zsh: Increase history size to 100000
2021-04-14 21:55:49 +02:00
Simon Bruder
6cff58fcb0
games: Disable osu-lazer-sandbox
...
Currently the build fails with (multiple instances of) error NU3037:
Package '…' from source '/build/source/nixos': The author primary
signature validity period has expired.
2021-04-13 09:58:07 +02:00
Simon Bruder
feb82fca2e
nix: Make netrc readable by wheel group
...
This also splits the nix configuration from the default module into its
own file.
2021-04-09 11:34:49 +02:00
Simon Bruder
4ece15d0f6
programs: Add mkpasswd
2021-04-08 13:36:44 +02:00
Simon Bruder
aaaeb56f18
git: Add sops diff textconv
2021-04-06 11:36:08 +02:00
Simon Bruder
6f20d6300d
programs: Use unstable streamlink
...
Stramlink from 20.09 does not work (at least for low-latency twitch).
2021-04-05 11:50:31 +02:00
Simon Bruder
97974a9616
programs: Add streamlink
2021-04-04 16:00:14 +02:00
Simon Bruder
3b96a823ee
programs: Use (lib)qalculate(-gtk) from unstable
...
In 20.09’s version currency conversion is broken.
2021-04-04 15:46:35 +02:00
Simon Bruder
891697f80c
programs: Add dog
2021-04-03 13:02:21 +02:00
Simon Bruder
6459a2a7ef
fzf: Add better default commands and options
2021-04-01 14:43:16 +02:00
Simon Bruder
bc2851de6b
programs: Replace pdfsam with pdfarranger
2021-03-31 10:02:10 +02:00
Simon Bruder
9be9148da8
zsh/pass-wrappers: Remove unnecessary functions
...
I no longer host a docker registry or minio server.
2021-03-30 23:53:20 +02:00
Simon Bruder
1521f10806
waybar: Do not print status on mpc invocation
2021-03-29 16:20:24 +02:00
Simon Bruder
aa6458f4bf
ytcc: Init
2021-03-25 13:57:26 +01:00
Simon Bruder
fa1c274248
mpv: Update FSRCNNX x2
...
This also changes the model to 8-0-4-1 (new upstream default). Since
upstream replaced the old model on GitHub releases instead of adding a
new release, previous generations that don’t have the old model cached
won’t build anymore.
2021-03-22 08:31:51 +01:00
Simon Bruder
320f438d02
git: Add gsc alias
2021-03-20 21:24:02 +01:00
Simon Bruder
187cc904bc
mpv: Move pitchcontrol script to overlay
2021-03-20 21:07:37 +01:00
Simon Bruder
041262fc7a
git: Add aliases
2021-03-19 19:46:57 +01:00
Simon Bruder
f7a27d623b
Revert "mpv: clear-speed: Use firefox’s scaletempo config"
...
This reverts commit 3b2f41f18a
.
2021-03-16 17:46:22 +01:00
Simon Bruder
29af8010a2
user: Remove docker-ls configuration
...
I don’t have my own docker registry anymore, so this configuration
doesn’t work.
2021-03-13 11:00:41 +01:00
Simon Bruder
3b2f41f18a
mpv: clear-speed: Use firefox’s scaletempo config
2021-03-12 15:10:13 +01:00
Simon Bruder
168e492c12
Use firefox-esr
...
Since Firefox 86, firefox freezes after some time when playing a video.
This only happens on wayland, but using xwayland causes weird stutters.
Downgrading is only meant to be a temporary solution.
2021-03-11 19:09:00 +01:00
Simon Bruder
b55144906f
Set user environment variables with home-manager
2021-03-11 19:08:08 +01:00
Simon Bruder
429144166d
mpv: Add sponsorblock
2021-03-09 15:48:13 +01:00
Simon Bruder
a3c954fa01
mpv: Generate visualiser profiles with function
2021-03-09 11:35:13 +01:00
Simon Bruder
922a359497
mpv: Remove musicvideo-c64 profile
...
It only has a single purpose and I haven’t used in the last year or so.
2021-03-09 11:23:14 +01:00
Simon Bruder
d239f2ad5e
mako: Implement notification inhibition
...
Fixes #43 .
2021-03-07 20:25:15 +01:00
Simon Bruder
442297ec85
sway: Use kanshi for output management
...
Fixes #46 .
2021-03-07 17:38:35 +01:00
Simon Bruder
4d474043a0
sway/swaynag: Deduplicate config
2021-03-04 09:39:14 +01:00
Simon Bruder
380c5b0ec5
mpv: Optimise clear-speed profile
...
It now *almost* sounds as good as firefox, though it sometimes still is
harder to understand.
2021-03-03 22:55:50 +01:00
Simon Bruder
4923f70389
sway/waybar: Use html entity for thinsp
...
This also moves it to waybar’s let binding, since it is only needed
there.
2021-03-03 21:49:35 +01:00
Simon Bruder
c0a130fa59
xdg: Set firefox as default browser
...
Strangely, it has been working until recently without explicit
configuration (probably starting chromium changed it by setting
something stateful).
2021-03-03 21:44:40 +01:00
Simon Bruder
a962fea3a8
sway/waybar: Use correct muted icon
2021-03-03 21:40:24 +01:00
Simon Bruder
05d2529db7
sway/waybar: Add abstraction for unit management
...
This also passes the unit state as a stream instead of requiring waybar
to poll for the state.
2021-03-02 12:36:50 +01:00
Simon Bruder
2bbe4e715b
sway: Decouple xdg.configFiles
...
This also adds an empty let binding to the waybar config to avoid an
upcoming commit to introduce a huge diff (twice, since this commit also
would have reformatted the entire waybar configuration).
2021-03-02 12:26:06 +01:00
Simon Bruder
57403a2d52
sway: Fix log pollution
...
Fixes #44 .
2021-03-02 10:36:41 +01:00
Simon Bruder
ceda178acf
sway: Manage mako with systemd
2021-03-02 09:49:15 +01:00
Simon Bruder
e17aa4bc6b
sway: Manage swayidle with systemd
2021-03-02 09:31:53 +01:00
Simon Bruder
d8f75f167a
sway: Manage waybar with systemd
2021-03-02 09:31:22 +01:00
Simon Bruder
c7349c4939
zsh: Unset LESS_TERMCAP_* variables
2021-03-02 08:47:23 +01:00
Simon Bruder
b3cc7cf907
sway: Redirect output to journal
2021-03-02 08:26:28 +01:00
Simon Bruder
081e731be2
neovim: Add unzip to user environment
2021-03-01 18:40:07 +01:00
Simon Bruder
eccea38759
mpv: Use youtube-dl’s default format
...
mpv overrides my custom format with `bestvideo+bestaudio/best`
(youtube-dl upstream default). This applies a patch (from upstream) that
adds a magic value to remove the override. Since home-manager’s mpv
module only supports overriding the mpv package in 21.05, it is done in
the overlay.
Fixes #39 .
2021-03-01 17:30:58 +01:00
Simon Bruder
5c27e0d423
ncmpcpp: Make block visualizer spectrum character
2021-03-01 09:37:34 +01:00
Simon Bruder
9c19647e76
zsh: Alias ip to ip --color=auto
2021-02-28 20:43:42 +01:00
Simon Bruder
90feb2e3be
zsh: Sort aliases
2021-02-28 20:43:42 +01:00
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