Bruno BELANYI
971ee359ce
home: wm: use explicit 'enable' options
...
This is so that I can explicitly enable them if I were to use Wayland
and Sway, given that they should be compatible with both environment.
This also means that putting them in `/home/x/` would a misnomer... Will
revisit this if and when I try out Wayland and sway...
2021-05-08 17:14:13 +02:00
Bruno BELANYI
c175964630
modules: users: add myself to 'video' and 'audio'
2021-05-08 17:14:13 +02:00
Bruno BELANYI
046391e26e
home: wm: i3bar: hide music block when not playing
2021-05-08 17:14:13 +02:00
Bruno BELANYI
b32fec2c63
home: wm: i3bar: add gammastep block if enabled
2021-05-08 17:14:13 +02:00
Bruno BELANYI
3ec448bf03
machines: aramis: home: enable gammastep
2021-05-08 17:14:13 +02:00
Bruno BELANYI
c3c44bceb6
home: add gammastep
2021-05-08 17:14:13 +02:00
Bruno BELANYI
e1240c188e
home: firefox: add tridactyl
2021-05-08 17:14:13 +02:00
Bruno BELANYI
d5b3b95827
home: firefox: use tridactyl-native when enabled
2021-05-08 17:14:13 +02:00
Bruno BELANYI
c17b5f4004
machines: aramis: home: enable firefox
2021-05-08 17:14:13 +02:00
Bruno BELANYI
e06edc8f47
home: add firefox
2021-05-08 17:14:13 +02:00
Bruno BELANYI
4d04dd9b9b
home: wm: i3: use udiskie service
2021-05-08 17:14:13 +02:00
Bruno BELANYI
e6b810b5a1
home: add udiskie
2021-05-08 17:14:13 +02:00
Bruno BELANYI
595720dcd4
home: wm: i3: use flameshot service directly
...
Instead of starting `flameshot` with `i3`, use the provided service.
2021-05-08 17:14:13 +02:00
Bruno BELANYI
e6fb00ce9a
home: add flameshot
2021-05-08 17:14:13 +02:00
Bruno BELANYI
d01b7963cd
machines: aramis: home: enable zathura
2021-05-08 17:14:13 +02:00
Bruno BELANYI
646768c3b7
home: add zathura
2021-05-08 17:14:13 +02:00
Bruno BELANYI
b254e0f7ac
machines: aramis: home: enable termite
2021-05-08 17:14:13 +02:00
Bruno BELANYI
fee045d82c
home: wm: i3: use 'my.home.terminal' explicitly
2021-05-08 17:14:13 +02:00
Bruno BELANYI
76b17e924a
home: terminal: add termite
2021-05-08 17:14:13 +02:00
Bruno BELANYI
9fe78a5a70
home: add terminal
...
This module abstracts away the color configuration.
2021-05-08 17:14:13 +02:00
Bruno BELANYI
90ccf42779
home: wm: i3: add configuration
2021-05-08 17:14:13 +02:00
Bruno BELANYI
cdbe16e703
home: wm: add rofi
2021-05-08 17:14:13 +02:00
Bruno BELANYI
1da8177ea2
home: wm: add i3bar
2021-05-08 17:14:13 +02:00
Bruno BELANYI
fe9f468e06
machines: aramis: home: enable X & i3
2021-05-08 17:14:13 +02:00
Bruno BELANYI
45cb955433
machines: aramis: add home configuration
2021-05-08 17:14:13 +02:00
Bruno BELANYI
b6fb77fc34
modules: add home
...
This makes setting and referring to my home-manager options easier.
2021-05-08 17:14:13 +02:00
Bruno BELANYI
f57cfda767
home: wm: add i3
...
This is only the basic default configuration. The full configuration
will come later.
I am not a fan of `wm.windowManager`, I might rename that option at some
point.
2021-05-08 17:14:13 +02:00
Bruno BELANYI
5427f15a17
home: add X keyboard configuration
2021-05-08 17:14:13 +02:00
Bruno BELANYI
6acf9f4a19
machines: add aramis
2021-05-08 17:14:13 +02:00
Bruno BELANYI
cd7c8e2172
lib: attrs: add renaming functions
2021-05-08 17:14:13 +02:00
Bruno BELANYI
e0b0f44a9a
lib: attrs: document functions
2021-05-08 17:14:13 +02:00
Bruno BELANYI
bd53470e46
lib: attrs: add genAttrs' function
2021-05-08 17:14:13 +02:00
Bruno BELANYI
f634f1b2ed
flake: refactor handling of shared modules
2021-05-08 17:14:13 +02:00
Bruno BELANYI
dc052386d1
machine: aramis: add installer script
...
This is the first time that I am setting up LVM-on-LUKS with NixOS, so a
VM came in handy to test it out.
2021-05-08 17:14:13 +02:00
Bruno BELANYI
5041fc7472
project: add bootstrap script
2021-05-08 17:14:13 +02:00
Bruno BELANYI
08c16bd27f
pkgs: diff-flake: add 'host' and 'shell' options
2021-05-08 17:14:13 +02:00
Bruno BELANYI
25823f4ee6
flake: bump inputs
2021-05-08 17:14:13 +02:00
Bruno BELANYI
2a1dda12d4
pkgs: diff-flake: use 'makeWrapper'
...
This makes it easier to test the script, as I just run it normally
without building it.
2021-05-08 17:14:13 +02:00
Bruno BELANYI
12475ff3a8
pkgs: diff-flake: do not default to verbose build
2021-05-08 17:14:13 +02:00
Bruno BELANYI
2fac46b606
pkgs: diff-flake: fix '--flake-output' handling
...
I'm surprised that `shellcheck` did not pick up this error, `INPUTS` was
leftover from the previous name of the variable before a refactor...
2021-05-08 17:14:13 +02:00
Bruno BELANYI
0ec56784e9
flake: use explicit input format
...
And reorder the inputs to be in alphabetical order, because that is
always neater :-).
2021-05-08 17:14:13 +02:00
Bruno BELANYI
f64454811e
pkgs: diff-flake: resolve given revs to commit ids
2021-05-08 17:14:13 +02:00
Bruno BELANYI
f817b278fe
pkgs: diff-flake: substitute 'mktemp'
2021-05-08 17:14:13 +02:00
Bruno BELANYI
37a134ebd2
flake: add 'diff-flake' to 'apps' and 'defaultApp'
...
That way I can just run `nix flake update`, commit, and `nix run` to get
a list of updates.
2021-05-08 17:14:13 +02:00
Bruno BELANYI
7d91351c8e
pkgs: add diff-flake
...
This is a nice helper to know what has changed after bumping a flake's
inputs.
2021-05-08 17:14:13 +02:00
Bruno BELANYI
9612258118
flake: do not throw on dirty tree
...
This is mostly inconvenient, I have enough discipline not to need it
anymore.
2021-04-25 12:39:17 +00:00
Bruno BELANYI
49232423ca
lib: ip: verify ip is valid in 'check'
2021-04-25 12:39:17 +00:00
Bruno BELANYI
0112dd87ac
lib: ip: add 'isValidIp4'
2021-04-25 12:39:17 +00:00
Bruno BELANYI
5a06ab74bb
lib: ip: add 'nth' utility to 'parseSubnet4'
2021-04-25 12:39:17 +00:00
Bruno BELANYI
1968285d0a
lib: ip: add 'nthInRange4'
...
And use it to refactor 'rangeIp4'
2021-04-25 12:39:17 +00:00