Compare commits

...

482 commits

Author SHA1 Message Date
teutat3s 802750c5ba
chore: bump flake lock, fix triton-vmtools repo URL
Some checks reported errors
continuous-integration/drone/push Build was killed
2023-10-30 22:03:52 +01:00
teutat3s ebd1ebcb4c
dumpyourvms: use IPv4 in wireguard config 2023-10-30 22:03:30 +01:00
teutat3s a7980fae5e
chore: bump flake lock
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-28 03:07:42 +02:00
teutat3s 32b43f7432
chore: add slack to overrides 2023-10-28 03:07:16 +02:00
teutat3s f06acc77a0
teutat3s: update env secrets 2023-10-28 03:06:57 +02:00
teutat3s c2d28cd203
chore: bump tritonshell flake input 2023-10-09 20:46:36 +02:00
teutat3s b455a6e559
Bump flake.lock
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-08 14:29:24 +02:00
teutat3s 2e40153f82
Bump flake.lock
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-21 13:57:19 +02:00
teutat3s 8a0113659c
feat: use linux kernel 6.5 2023-09-21 13:57:00 +02:00
teutat3s 47226e668b
fix (neovim): add back nixhash plugin 2023-09-21 13:56:06 +02:00
teutat3s 897666ea3a
chore: bump flake.lock
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-13 12:02:47 +02:00
teutat3s 818a691a4f
chore: bump flake.lock
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-07 21:32:54 +02:00
teutat3s f3b5f811eb
feat: use flyctl from nixos-unstable 2023-09-07 21:32:28 +02:00
teutat3s ba7fe039b4
ryzensun: disable ci-runner 2023-09-07 21:31:04 +02:00
teutat3s 6163830d31
fix: element-desktop use electron_26
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-07 21:28:18 +02:00
teutat3s f09a398c2b
fix: nvfetcher, use docker_24, 1password 2023-09-07 21:27:41 +02:00
teutat3s ec73b43425
fix: caddy serving cups.local, help.local 2023-09-07 21:26:26 +02:00
teutat3s 03e55b6fde
Bump flake.lock 2023-08-23 22:46:06 +02:00
teutat3s 165fa6cf04
Bump flake.lock
• Updated input 'latest':
    'github:nixos/nixpkgs/ef99fa5c5ed624460217c31ac4271cfb5cb2502c' (2023-07-25)
  → 'github:nixos/nixpkgs/5a8e9243812ba528000995b294292d3b5e120947' (2023-08-07)
• Updated input 'nixos':
    'github:nixos/nixpkgs/f3fbbc36b4e179a5985b9ab12624e9dfe7989341' (2023-07-26)
  → 'github:nixos/nixpkgs/61676e4dcfeeb058f255294bcb08ea7f3bc3ce56' (2023-08-06)
2023-08-08 08:59:19 +02:00
teutat3s e0eb7f38b7
Merge branch 'main' into teutat3s
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-21 12:34:57 +02:00
teutat3s 8eb4a0e6b9
nvfetcher: use version 0.6.1.0 from latest instead of flake
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-21 12:09:20 +02:00
teutat3s b085e0bed6
Merge branch 'main' into teutat3s 2023-07-21 12:07:18 +02:00
teutat3s 7aed17c1a4
Use thunderbird version 115 2023-07-21 11:56:26 +02:00
teutat3s a6d002ae32
graphical: add gtk icon cache 2023-07-21 11:55:56 +02:00
teutat3s 8d14653860
graphical: fix network-manager-applet service description 2023-07-21 11:55:23 +02:00
teutat3s 8093131884
Bump nvfetcher 2023-07-21 11:55:09 +02:00
teutat3s 43dc161e79
Bump flake.lock 2023-07-21 11:54:51 +02:00
teutat3s 92a7c57f96
Merge branch 'main' into teutat3s
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-13 17:18:05 +02:00
teutat3s 1c555136a4
dumpyourvms: use IPs instead of domains in wireguard endpoints
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-12 14:58:40 +02:00
teutat3s ec22a0e71b
waybar: fix checkboxes in networkmanager applet 2023-07-12 14:58:01 +02:00
teutat3s 25b3112399
Bump flake.lock 2023-07-12 14:57:21 +02:00
teutat3s f710117df4
mnx: update bonanza openvpn config 2023-07-12 14:45:22 +02:00
teutat3s d15d68d942
Bump flake.lock
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-07 00:23:56 +02:00
teutat3s e26af156c6
devshell: stash only unstaged changes in pre-commit hook
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-04 01:41:40 +02:00
teutat3s 1d4b86830e
Bump flake.lock 2023-07-04 01:33:36 +02:00
teutat3s dfff984080
dumpyourvms: enable smartcard udev rules for gpg 2023-07-04 01:28:21 +02:00
teutat3s 29647b277e
neovim: remove duplicate config
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-02 16:10:16 +02:00
teutat3s eeb7c7ef3a
neovim: trim final newline when copying to clipboard 2023-07-02 15:16:31 +02:00
teutat3s 9b5abf76ea
devshell: stash only unstaged changes in pre-commit hook 2023-07-02 15:10:11 +02:00
teutat3s b594c1bc9e
dumpyourvms: update wireguard wg1 config
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-02 13:18:50 +02:00
teutat3s f7acbf1bf7
bash: replace $USER with ~ in PROMPT_COMMAND 2023-07-02 13:14:08 +02:00
teutat3s 6296b6a66e
signal-desktop: use version from nixos-23.05 2023-07-02 13:13:40 +02:00
teutat3s e032e96315
1password-gui: use version from nixos-23.05 again 2023-07-02 03:16:56 +02:00
teutat3s 52e2fcff26
Merge branch 'main' into teutat3s
All checks were successful
continuous-integration/drone/push Build is passing
2023-07-02 03:05:30 +02:00
teutat3s 1586111aeb
dumpyourvms: add condition for switching off 2nd GPU 2023-07-02 02:50:51 +02:00
teutat3s 9909a2152b
neovim: use nixd as nix language server 2023-07-02 02:50:01 +02:00
teutat3s bd91b609b5
core: use linux 6.4 2023-07-02 02:48:10 +02:00
teutat3s b9fef27e73
Bump flake.lock 2023-07-02 02:47:36 +02:00
teutat3s 6931ca6aed
starship needs to start later than ble.sh somehow
All checks were successful
continuous-integration/drone/push Build is passing
use fzf completion with ble.sh again
2023-06-20 23:36:07 +02:00
teutat3s b8f340310c
bash: show current directory on top in alacritty 2023-06-20 23:35:15 +02:00
teutat3s 0d5920d78e
Bump flake.lock 2023-06-20 23:32:51 +02:00
teutat3s 3aca75e1f8
overlays: update signal-desktop, add element-desktop
use newest ble.sh version
2023-06-20 23:32:13 +02:00
teutat3s 2d25aeb2a7
1password-gui: use version from master 2023-06-15 17:56:08 +02:00
teutat3s 20e7d697aa
Bump flake.lock
• Updated input 'latest':
    'github:nixos/nixpkgs/75a5ebf473cd60148ba9aec0d219f72e5cf52519' (2023-06-11)
  → 'github:nixos/nixpkgs/0eeebd64de89e4163f4d3cf34ffe925a5cf67a05' (2023-06-12)
• Updated input 'nixos':
    'github:nixos/nixpkgs/d3bb401dcfc5a46ce51cdfb5762e70cc75d082d2' (2023-06-10)
  → 'github:nixos/nixpkgs/ddf4688dc7aeb14e8a3c549cb6aa6337f187a884' (2023-06-14)
2023-06-15 00:51:07 +02:00
teutat3s 440bc4c141
nvfetcher: update
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-13 16:26:11 +02:00
teutat3s 7909559d8f
home-manager: use release-23.05 branch 2023-06-13 16:25:49 +02:00
teutat3s abeefac8ae
Bump flake.lock
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-12 19:58:14 +02:00
teutat3s 0fd72b88a3
Bump flake.lock
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-09 17:07:47 +02:00
teutat3s 244a8b01fb
mnx: add openvpn connection, update secrets 2023-06-09 17:07:15 +02:00
teutat3s 8a2910f10c
neovim: add ansible-language-server 2023-06-09 17:06:11 +02:00
teutat3s 4f1d6a1c28
waybar: use version from nixos-23.05 2023-06-09 17:05:39 +02:00
teutat3s 23e9c1b74f
Bump flake.lock
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-31 21:01:01 +02:00
teutat3s cbe1deee5b
dumpyourvms: fixes for amd power save and resume
and cups mDNS with systemd-resolved
2023-05-31 21:00:13 +02:00
teutat3s d21c7631ab
flake: use nixos-23.05
Use overlay for nvfetcher for recent fixes from master branch
2023-05-31 20:59:02 +02:00
teutat3s fac9fb9e7a
nvfetcher: update 2023-05-31 20:58:29 +02:00
teutat3s 41b5625598
signal-desktop: use 6.19.0 from overlay 2023-05-31 20:57:52 +02:00
teutat3s c25bc7cb40
waybar: fix build 2023-05-31 20:57:27 +02:00
teutat3s d3ed1bf9ae
ble.sh: use fzf ctrl-r history, ble.sh built-in completion
Fix selected ble-face region_input

Fix jump words limited by space (uword)
2023-05-31 20:56:52 +02:00
teutat3s ca61200807
teutat3s: mnx: add prr, github API token, mnx git config
Cleanup unused zshrc
2023-05-31 20:53:16 +02:00
teutat3s 067286461e
overrides: use version from nixos-23.05 2023-05-31 20:46:44 +02:00
teutat3s 51bf77160c
Bump flake.lock 2023-05-18 05:10:27 +02:00
teutat3s e929c3f053
Merge branch 'main' into teutat3s
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-18 04:51:47 +02:00
teutat3s fc09f922a8
ryzensun: hidpi option got removed
All checks were successful
continuous-integration/drone/push Build is passing
2023-05-18 03:57:37 +02:00
teutat3s 5db371f648
dumpyourvms: nixos-unstable fixes
All checks were successful
continuous-integration/drone/push Build is passing
hidpi.enable option has been removed
disable amd-power-save service on boot for now
add opengl intel-media-driver extraPackages
use bluetooth option to power off upon boot
2023-05-18 00:06:30 +02:00
teutat3s 4c4e889e27
core: use linux_testing 6.4-rc kernel 2023-05-18 00:05:45 +02:00
teutat3s 7e1758bfb2
wip: track nixos-unstable 2023-05-18 00:04:39 +02:00
teutat3s 1eac244310
nvim: remove unused patch file 2023-05-18 00:01:33 +02:00
teutat3s 12704e8df7
starship: more icons for git status 2023-05-18 00:00:56 +02:00
teutat3s fe4550bfc7
chore: python3{9,10}Packages -> python3Packages 2023-05-17 23:56:46 +02:00
teutat3s 4fdebfa058
teutat3s: add obs-studio, NetworkManager-openconnect 2023-05-17 23:53:51 +02:00
teutat3s b9a6a39b96
sway: fix sway-launcher
whence is a zsh builtin, use bash's compgen function to get a list
of available commands
2023-05-16 15:05:41 +02:00
teutat3s 33720a4f5a
Bump flake.lock 2023-05-16 11:56:24 +02:00
teutat3s 62970b02e7
Merge branch 'main' into teutat3s 2023-05-14 17:36:34 +02:00
teutat3s ca2a5fbbda
dumpyourvms: fix AMD gpu power saving systemd unit
All checks were successful
continuous-integration/drone/push Build is passing
Clean up unused services mozilla-vpn and unbound

Clean up comments
2023-05-13 18:48:43 +02:00
teutat3s 90e1fe7e6f
neovim: add kubernetes json schema to yamlls LSP 2023-05-13 18:47:56 +02:00
teutat3s 42ff409512
teutat3s: refactor mnx, use 1password nixos module 2023-05-13 18:47:16 +02:00
teutat3s 7869e62028
Bump flake.lock 2023-05-13 18:45:56 +02:00
teutat3s e7ce8e1fb4
deploy-rs: use nixpkgs version, avoid rebuilding
https://github.com/serokell/deploy-rs/pull/207
https://github.com/serokell/deploy-rs/issues/163
2023-05-13 18:43:12 +02:00
teutat3s ca5ed1ae69
zsh: remove leftover files and traces of zsh usage
Move base16.zsh into XDG_DATA_HOME, rename to base16.sh
2023-05-06 15:19:08 +02:00
teutat3s 24ed83b04c
sway: waybar: rice with new background image
All checks were successful
continuous-integration/drone/push Build is passing
Tweak waybar CSS styles
2023-05-05 18:39:35 +02:00
teutat3s 6bb6112bcc
ble.sh decrease completion timeout a bit more 2023-05-05 18:39:15 +02:00
teutat3s 7c6235512d
dumpyourvms: linux 6.4 remembers screen brightness
Using acpi_video0 for changing the brightness with keyboard hotkeys
2023-05-05 18:39:05 +02:00
teutat3s 17cd75d4d8
nvfetcher: update 2023-05-05 18:35:02 +02:00
teutat3s 5b44e97088
lint: exclude file generated by nvfetcher
Fix pre-commit hook to only format staged files
2023-05-05 18:32:40 +02:00
teutat3s d4beafe4f0
Bump flake.lock 2023-05-05 18:15:23 +02:00
teutat3s c06e6d4cd1
dumpyourvms: linux 6.4 amdgpu switcheroo fixes 2023-05-05 18:13:19 +02:00
teutat3s c06c2c7fe9
starship: prepare username@hostname prompt
Remove old toml file
2023-05-05 18:11:04 +02:00
teutat3s d7d316bddb
dumpyourvms: mnx: cat: move to user teutat3s 2023-05-05 18:10:08 +02:00
teutat3s 69f842bd6e
core: experimental linux kernel version 6.4-rc0
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-26 14:22:06 +02:00
teutat3s e7b03b9770
dumpyourvms: core: use linuxPackages_6_1 and add
All checks were successful
continuous-integration/drone/push Build is passing
check for kernel version for WiFi kernel module pre-sleep + post-sleep
hook
2023-04-26 12:54:38 +02:00
teutat3s 8f0790b6fd
pre-commit hook: only format modified lines
instead of entire files
2023-04-26 12:49:44 +02:00
teutat3s aa1c31dcc2
ryzensun: increase console font size for HiDPI display
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-26 12:12:23 +02:00
teutat3s 36c2ea205b
Bump flake.lock
All checks were successful
continuous-integration/drone/push Build is passing
• Updated input 'latest':
    'github:nixos/nixpkgs/6c43a3495a11e261e5f41e5d7eda2d71dae1b2fe' (2023-04-22)
  → 'github:nixos/nixpkgs/e78d25df6f1036b3fa76750ed4603dd9d5fe90fc' (2023-04-23)
• Updated input 'master':
    'github:nixos/nixpkgs/1c7579605bc7730e7d88539704aa1b467952c9bd' (2023-04-24)
  → 'github:nixos/nixpkgs/de91114b6178d85db143d846228edd1d5c1e19d6' (2023-04-24)
2023-04-25 02:25:37 +02:00
teutat3s d36f1e7d9c
flake: bump tritonshell input lock
All checks were successful
continuous-integration/drone/push Build is passing
• Updated input 'tritonshell':
    'git+https://git.greenbaum.cloud/dev/tritonshell?ref=main&rev=054140b3a7b79663b9831923832d43ac0b829be4' (2023-04-15)
  → 'git+https://git.greenbaum.cloud/dev/tritonshell?ref=main&rev=509d92569e8408ca72df5a126a3edfa8b43cbf93' (2023-04-21)
2023-04-21 23:17:58 +02:00
teutat3s 573a45db0b
Bump flake.lock
All checks were successful
continuous-integration/drone/push Build is passing
• Updated input 'latest':
    'github:nixos/nixpkgs/555daa9d339b3df75e58ee558a4fec98ea92521e' (2023-04-18)
  → 'github:nixos/nixpkgs/645bc49f34fa8eff95479f0345ff57e55b53437e' (2023-04-19)
• Updated input 'nixos':
    'github:nixos/nixpkgs/cd749f58ba83f7155b7062dd49d08e5e47e44d50' (2023-04-17)
  → 'github:nixos/nixpkgs/3d302c67ab8647327dba84fbdb443cdbf0e82744' (2023-04-19)
2023-04-21 12:10:12 +02:00
teutat3s c0ed1b8259
dumpyourvms: add fortinet SSL VPN 2023-04-20 14:45:24 +02:00
teutat3s 4c454c83a5
teutat3s: add 1password, overrides slack,1password 2023-04-19 15:09:11 +02:00
teutat3s 2ce4f913aa
teutat3s: add slack
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-18 10:41:15 +02:00
teutat3s 55f339359d
Bump flake.lock
All checks were successful
continuous-integration/drone/push Build is passing
• Updated input 'latest':
    'github:nixos/nixpkgs/abe7316dd51a313ce528972b104f4f04f56eefc4' (2023-04-14)
  → 'github:nixos/nixpkgs/f00994e78cd39e6fc966f0c4103f908e63284780' (2023-04-17)
• Updated input 'nixos':
    'github:nixos/nixpkgs/fda0d99c2cbbb5c89d8855d258cb0821bd9113ad' (2023-04-14)
  → 'github:nixos/nixpkgs/de66115c552acc4e0c0f92c5a5efb32e37dfa216' (2023-04-17)
2023-04-18 10:36:51 +02:00
teutat3s 19785f035c
docker-ci-runner: fix stop hanging for 120s
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-15 21:13:45 +02:00
teutat3s d8d46a4c28
flake: remove nix-autobahn, bump flake.lock 2023-04-15 21:13:27 +02:00
teutat3s 6547aa92cf
bash: want CTRL+c to cancel and discard current
All checks were successful
continuous-integration/drone/push Build is passing
line when in ble.sh vim insert mode
2023-04-15 12:44:45 +02:00
teutat3s cf59251f06
dumpyourvms: disable mDNS in systemd-resolved,
we use avahi for mDNS
2023-04-15 12:43:56 +02:00
teutat3s 028e148374
Bump flake.lock 2023-04-15 12:43:46 +02:00
teutat3s 168e3d7944
nvfetcher: bump versions 2023-04-15 12:43:28 +02:00
teutat3s 1e1d8c68ef
teutat3s: add zoom-us
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-11 14:46:20 +02:00
teutat3s 650fd97d03
Bump flake.lock 2023-04-11 14:46:02 +02:00
teutat3s ab7ff779cc
Bump flake.lock
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-08 13:56:06 +02:00
teutat3s 0bd3cf9c33
Bump flake.lock 2023-04-07 16:01:43 +02:00
teutat3s cbf3c81b32
dumpyourvms: add OpenVPN config for CaT 2023-04-07 16:01:21 +02:00
teutat3s 8939568d7c
teutat3s: add cockroach-bin 2023-04-07 16:00:19 +02:00
teutat3s bc519e213d
crypto: add fwknop to installed packages 2023-04-07 15:57:40 +02:00
teutat3s 5b2b512f2a
Bump flake.lock
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-28 13:57:06 +02:00
teutat3s 22302c6256
nix.conf: add back required experimental features
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-27 18:53:54 +02:00
teutat3s bf821c670e
iso: remove cachix import
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-27 18:10:16 +02:00
teutat3s a0276f99f3
fae: force RPi compatible kernel to make nix flake check happy
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-27 18:07:04 +02:00
teutat3s 92201e4a79
bash: move secrets customization to user teuat3s 2023-03-27 18:06:16 +02:00
teutat3s aa4f26bba8
users: pub-solar ssh public keys should be string 2023-03-27 18:05:50 +02:00
teutat3s cc35703d17
cachix: default binary cache is nixos.org, no need
to specify it explicitly (results in double entry in nix.conf)

Also force our nix.extraOptions because digga tries real hard to put
their binary caches there:
0595ae70cd/modules/nix-config.nix (L19-L23)
2023-03-27 18:03:28 +02:00
teutat3s ef1c8b0946
cachix: remove unused binary caches
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-27 13:43:41 +02:00
teutat3s 2332577d73
flake: pull in changes from digga upstream
See:
54ede8e591...0595ae70cd?diff=unified
2023-03-27 13:43:33 +02:00
teutat3s b3711c5ec2
Merge branch 'main' into teutat3s
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-27 10:45:49 +02:00
teutat3s aeb90b2322
flake: git.b12f.io -> git.pub.solar, bump flake 2023-03-27 10:39:10 +02:00
teutat3s 06f8062fd0
audio: disable useless bluetooth sap plugin 2023-03-27 10:38:24 +02:00
teutat3s c11c8ac938
dumpyourvms: fix powerUp/powerDown commands for
linux kernels version 6.1+
2023-03-27 10:33:51 +02:00
teutat3s 76ec848b23
qMasterPassword Qt styles fix got backported 2023-03-27 10:33:50 +02:00
teutat3s 4d4bf4abc6
networking: caddy file_server without etag header 2023-03-27 10:33:50 +02:00
teutat3s b522ac8786
signal-desktop: v6.7.0 got backported to release
22.11 branch nixos-22.11
2023-03-27 10:33:49 +02:00
teutat3s 381444dc70
nvfetcher: update sources
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-26 12:09:47 +02:00
teutat3s fe2a196641
dumpyourvms: use systemd for disabling 2nd gpu,
All checks were successful
continuous-integration/drone/push Build is passing
hibernate when closing the lid, cleanup comments
2023-03-16 11:50:35 +01:00
teutat3s e9895dd7f7
waybar: add clock symbol 2023-03-16 11:50:03 +01:00
teutat3s b9031dbd7c
core: reload caddy instead of always restarting
when config file changes
2023-03-16 11:49:36 +01:00
teutat3s 5b1f2dcc23
core: use latest linux kernel 6.2 2023-03-16 11:49:12 +01:00
teutat3s d908c99a3c
Bump flake.lock 2023-03-16 11:48:55 +01:00
teutat3s c8adc5cc0c
wip: prevent element-desktop & signal-desktop
All checks were successful
continuous-integration/drone/push Build is passing
from segfaulting by using the version from nixos-22.11

It seems the electron version bundled with those pkgs from
nixos-unstable is indeed unstable when used via overlays
2023-03-14 14:30:03 +01:00
teutat3s a3a9fd5414
teutat3s: fix git config and add HashiCorp CLIs'
completions
2023-03-14 14:29:20 +01:00
teutat3s a1d46324ea
terminal-life: add tree 2023-03-14 14:27:32 +01:00
teutat3s 7b62e887cb
Use linux kernel 6.1 (LTS) 2023-03-14 14:27:08 +01:00
teutat3s c989fd9bf0
Bump flake.lock
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-07 17:00:44 +01:00
teutat3s 2a9308fbc7
dumpyourvms: tailscale exit node not needed 2023-03-07 01:08:09 +01:00
teutat3s 51aad91f90
Bump nvfetcher, flake.lock
Adjust new waybar config, add calendar actions
2023-03-07 01:07:29 +01:00
teutat3s 228867acb7
dumpyourvms: enable tailscale
All checks were successful
continuous-integration/drone/push Build is passing
2023-03-05 14:45:09 +01:00
teutat3s 5cdeaa93ff
Bump flake.lock 2023-03-04 01:15:56 +01:00
teutat3s 6deaea3fad
Bump flake.lock
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-28 14:01:09 +01:00
teutat3s 824e478110
waybar: fix icon size 2023-02-28 14:00:56 +01:00
teutat3s 0938fe59ca
waybar: use nvfetcher to get most recent version
from master branch

Want improved calendar view on right-click and scrolling through months
2023-02-28 13:59:38 +01:00
teutat3s b03a58e5da
Merge branch 'main' into teutat3s-bash
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-26 21:47:49 +01:00
teutat3s 1f3d9d249a
Apply treefmt
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-26 21:46:57 +01:00
teutat3s 86d6782fe2
teutat3s: add SSH public key 2023-02-26 21:46:57 +01:00
teutat3s d371c57e30
Bump flake.lock 2023-02-26 21:46:57 +01:00
teutat3s c0f610b68c
ryzensun: add custom networking, docker-ci-runner
module enabled, secrets updated
2023-02-26 21:46:40 +01:00
teutat3s a476b72916
bash: disable ble.sh calculating time after each
All checks were successful
continuous-integration/drone/push Build is passing
command
2023-02-26 00:19:17 +01:00
teutat3s 3d1873f727
bash: fix history widget (ctrl+r) unreadable
All checks were successful
continuous-integration/drone/push Build is passing
selected entry
2023-02-25 19:20:16 +01:00
teutat3s 0b12271353
bash: use nvfetcher for ble.sh sources
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-24 20:15:45 +01:00
teutat3s a383385724
bash: fix starship color in prompt
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-24 18:35:06 +01:00
teutat3s d1d9495f77
bash: ble.sh use desc menu style for completion 2023-02-24 18:23:36 +01:00
teutat3s a010a0d66b
Bump flake.lock
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-24 17:58:45 +01:00
teutat3s d94adfb3b8
nvim: fix file preview for names containing spaces 2023-02-24 17:58:21 +01:00
teutat3s c016dd3f2b
dumpyourvms: re-enable global DNS over TLS 2023-02-24 17:57:55 +01:00
teutat3s 32a6b9a016
bash: disable ble.sh history share
complete on first TAB if there's a single matching filename
with show-all-if-ambiguous on

enable history search with arrow up after starting to type a command
2023-02-24 17:56:17 +01:00
Benjamin Bädorf 0e84e1ef2a
bash: add ble.sh changed vi keybindings 2023-02-07 13:28:26 +01:00
teutat3s e0e34f9c95
drone: use official drone-scp image again
All checks were successful
continuous-integration/drone/push Build is passing
Our PR got accepted and the flag we needed is available now:
https://github.com/appleboy/drone-scp/pull/102
2023-02-02 17:30:01 +01:00
teutat3s db6ff53243
bash: ble.sh tweaks and starship ricing 2023-02-02 17:28:43 +01:00
teutat3s 31bbcea991
nvfetcher: update sources 2023-02-02 17:28:09 +01:00
teutat3s c9e3b40883
teutat3s: use ci.pub.solar for drone 2023-02-02 17:28:09 +01:00
teutat3s d9e56cbb47
devops: add flyctl, tea 2023-02-02 17:27:53 +01:00
teutat3s b264d602ca
dumpyourvms: use DHCP for DNS again, add wg0 NIC 2023-02-02 17:23:50 +01:00
teutat3s 001a1de2e8
Merge branch 'main' into teutat3s-bash 2023-02-01 19:05:57 +01:00
teutat3s 05c3ad8207
Bump flake.lock 2023-01-28 22:58:56 +01:00
teutat3s 778ef916ca
Merge branch 'main' into teutat3s-bash 2023-01-28 22:51:33 +01:00
teutat3s 319794933f
devshell: fix nvfetcher rebuilding, simplify with
alias
2023-01-28 22:05:30 +01:00
teutat3s 8f77eef79a
terminal-life: switch from zsh to bash & starship 2023-01-28 22:05:02 +01:00
teutat3s f0ea096a62
Bump flake.lock, use fork for qMasterPassword
use 22.05 to pin terraform version to 1.2.3
2023-01-28 22:02:35 +01:00
teutat3s dca0bd978d
Apply treefmt 2023-01-28 21:49:10 +01:00
teutat3s 2cc5ca5d60
dumpyourvms: update networking 2022-11-26 16:25:25 +01:00
teutat3s 6be62fcf02
Use mdBook from nixos-22.05, build fails with
newer rust versions
2022-11-26 16:24:02 +01:00
teutat3s d16bb7b3a5
Merge branch 'main' into teutat3s 2022-11-26 16:00:22 +01:00
teutat3s f791ceccd0
dumpyourvms: fix Error switching console mode to 1 unsupported 2022-11-26 04:23:53 +01:00
teutat3s 6c83d67887
sway: don't use gtkUsePortal, it's deprecated
see: ebde08adf3
2022-11-22 12:36:32 +01:00
teutat3s e815ca1293
docker-compose default to version 2 now 2022-11-22 12:35:42 +01:00
teutat3s e76cbabad9
alacritty: remove use_thin_strokes
see: https://github.com/alacritty/alacritty/pull/6186
2022-11-22 12:32:54 +01:00
teutat3s 1a13960d54
neovim: config updates for 0.8.x
use default_capabilities

set mouse= to disable new default mouse behaviour
2022-11-22 12:31:45 +01:00
teutat3s 0db272c260
nix: use new nix.settings syntax 2022-11-22 12:30:54 +01:00
teutat3s 2630acd0bc
teutat3s: ready for nixos release 22.11 2022-11-22 12:28:30 +01:00
Hendrik Sokolowski a028cbc66a
Update drone-config 2022-11-21 13:40:39 +01:00
Hendrik Sokolowski cc3979d724
Make resume_offset optional 2022-11-21 13:34:43 +01:00
teutat3s 42c4cda12e
teutat3s: disable keybase services for now 2022-11-20 23:17:25 +01:00
teutat3s 7f385ec4ac
waybar: now uses primary network interface
since version 0.9.13

https://github.com/Alexays/Waybar/releases/tag/0.9.13
2022-11-20 23:16:12 +01:00
teutat3s 5ea57eaea6
audio: enable security.rtkit for pipewire
This should avoid stuttering audio when CPU is busy
2022-11-20 23:14:51 +01:00
teutat3s d69ed82a31
ryzensun: disable mopidy 2022-11-20 23:14:21 +01:00
teutat3s a006bed2ea
Bump flake.lock 2022-11-20 23:14:07 +01:00
teutat3s 5ad5c9bae6
Switch to alejandra for formatting
Use treefmt

For context, see upstream PR: https://github.com/divnix/digga/pull/491
2022-11-20 23:10:39 +01:00
teutat3s ab603a9708
secrets: --rekey 2022-10-24 17:33:45 +02:00
teutat3s 60e15166c8
teutat3s: init age-plugin-yubikey to encrypt secrets
It seems yubikey-agent still has to be SIGHUP'ed before using agenix:
like so:
killall -HUP yubikey-agent

Read more on how to set this up here:
https://github.com/ryantm/agenix/issues/115

Another related issue:
https://github.com/FiloSottile/yubikey-agent/issues/63
2022-10-24 17:23:45 +02:00
teutat3s c0f991010f
Fix zsh z plugin script path 2022-10-24 15:29:12 +02:00
teutat3s 574deec44c
Merge branch 'main' into teutat3s 2022-10-21 15:10:10 +02:00
teutat3s cf2b9e2c54
swaynotificationcenter: use version from nixpkgs-unstable 2022-10-19 17:13:18 +02:00
teutat3s 8bd5022d70
nvfetcher: remove unnecessary flake, use nixpkgs version 2022-10-19 17:12:12 +02:00
teutat3s 10813c3dc0
secrets: update 2022-10-18 16:53:24 +02:00
teutat3s 1c58fdee89
Bump flake.lock 2022-10-18 16:52:12 +02:00
teutat3s a0d6fcdd44
tritonshell: update input URL 2022-10-18 16:49:40 +02:00
teutat3s 48d6bb64ac
waybar: use interface name wlp4s0 again
wpa_supplicant uses this one
2022-10-18 16:49:11 +02:00
teutat3s 5bfbbebcc6
zsh: fetch plugins using nvfetcher 2022-10-18 16:46:16 +02:00
teutat3s 0cb5ad876b
overlays: wik, swaynotificationcenter use nvfetcher 2022-10-18 16:46:04 +02:00
teutat3s 1cf3fad5b7
neovim: use nvfetcher for custom plugins 2022-10-18 16:24:43 +02:00
teutat3s 2d92c9d6a3
devops: use terraform 1.2.x 2022-10-17 22:15:44 +02:00
teutat3s b8273742e3
wifi: switch backend back to wpa_supplicant 2022-10-17 22:15:22 +02:00
teutat3s 28f1bd66f0
swayidle: adjust brightness after resume 2022-10-17 22:14:18 +02:00
teutat3s c88016af85
overlays: add gurk-rs, thunderbird, yubikey-agent 2022-10-17 22:12:44 +02:00
teutat3s 2b69ea89a4
Merge branch 'main' into teutat3s 2022-10-05 14:45:37 +02:00
teutat3s aa65a39eff
Merge branch 'main' into teutat3s 2022-10-03 03:10:48 +02:00
teutat3s 6e503bb161
neovim: update caddy json schema 2022-10-02 21:47:44 +02:00
teutat3s 0b155bc7dd
Merge branch 'main' into teutat3s 2022-10-02 14:06:18 +02:00
teutat3s 9457435388
Merge branch 'main' into teutat3s 2022-10-02 04:09:22 +02:00
teutat3s 0ff91df7fe
Merge branch 'fix/swayidle-waybar-menu' into teutat3s 2022-10-02 01:22:27 +02:00
teutat3s 9497f6c73d
waybar: show backlight brightness 2022-09-20 16:15:33 +02:00
teutat3s 175941c565
dumpyourvms, ryzensun: be less noisy with sound
and backlight % notifications.

Use waybar to show this info instead
2022-09-20 14:18:47 +02:00
teutat3s ed25801ecf
Bump flake.lock 2022-09-20 14:16:01 +02:00
teutat3s 76f3890de1
zsh: bump powerlevel10k, F-Sy-H to latest commit
on main branch
2022-09-06 11:57:23 +02:00
teutat3s ff0ff0b7ba
neovim: bump instant.nvim, Apprentice to latest
commit on main branch
2022-09-06 11:56:50 +02:00
teutat3s 0a182761ca
Allow unfree software 2022-09-06 11:34:52 +02:00
teutat3s 9e6cf4ba02
waybar: set network interface name to wlan0 2022-09-06 11:34:02 +02:00
teutat3s ae01ed16b8
dumpyourvms: make use of new option pub-solar...
core.hibernation to configure hibernation
2022-09-06 11:32:29 +02:00
teutat3s 9a7e53ab59
Rename option x-os -> core 2022-09-06 11:31:55 +02:00
teutat3s 63080c4d4f
Merge branch 'main' into teutat3s 2022-09-01 15:29:52 +02:00
teutat3s 9ef3d58d2e
Merge branch 'main' into teutat3s 2022-08-29 15:39:48 +02:00
teutat3s 72cc501e5f
Merge branch 'main' into teutat3s 2022-08-25 16:18:24 +02:00
teutat3s b4c782e65a
Merge branch 'main' into teutat3s 2022-08-24 20:32:28 +02:00
teutat3s 1203bfc4ef
Bump flake.lock 2022-08-24 00:56:23 +02:00
teutat3s 63102f33e5
nix: set nix.package to force overlays/
overrides.nix to apply

use nix as default version alias in devshell as well
2022-08-24 00:53:38 +02:00
teutat3s dca6ca86b1
Update flake.lock 2022-08-14 17:24:27 +02:00
teutat3s b263ca4c45
Merge branch 'main' into teutat3s 2022-08-14 17:21:34 +02:00
teutat3s b00196aa94
Update flake.lock 2022-08-14 16:48:51 +02:00
teutat3s 820cc40356
Merge branch 'main' into teutat3s 2022-08-14 16:46:33 +02:00
teutat3s c9b84430f9
Bump flake.lock 2022-08-13 17:58:56 +02:00
teutat3s 6d5025b17b
Merge branch 'main' into teutat3s 2022-08-13 17:43:58 +02:00
teutat3s 8a843caf57
Bump flake.lock 2022-08-10 14:07:51 +02:00
teutat3s 768392581d
dumpyourvms, ryzensun: change xkb_layout: us(intl) 2022-08-09 23:14:25 +02:00
teutat3s ed298f6140
dumpyourvms: update IPs 2022-08-09 11:56:43 +02:00
teutat3s 624bbf36c6
deploy-rs: use nixpkgs version 2022-08-09 11:56:43 +02:00
teutat3s 90e181040c
nvfetcher: use nixpkgs version 2022-08-09 11:56:42 +02:00
teutat3s ea11c9ed6d
nix-autobahn: switch back to upstream repo 2022-08-09 11:56:42 +02:00
teutat3s 0fc1a7fe20
hooks: apply upstream pre-commit changes 2022-08-09 11:56:42 +02:00
teutat3s 7749667888
sway: use swaynotificationcenter from master
branch, fixes scaling issue, see:

https://github.com/ErikReider/SwayNotificationCenter/issues/108#issuecomment-1180844131
2022-08-09 11:56:42 +02:00
teutat3s 9a2b2e2b9f
base-user: remove leftover .gitignore file 2022-08-09 11:56:42 +02:00
teutat3s 1b2ede1e86
neovim: fix quoting, use vim.fn.stdpath to get
the neovim config directory path
2022-08-09 11:56:42 +02:00
teutat3s 5c57e0af8a
neovim: add vim-nixhash plugin 2022-08-09 11:56:41 +02:00
teutat3s 94acf6d190
neovim: use vimagit from latest master commit 2022-08-09 11:56:41 +02:00
teutat3s a7fa725d62
dumpyourvms: fix DNSSEC issue, use correct IPv6
syntax for systemd-resolved conf
2022-08-09 11:56:41 +02:00
teutat3s f3ac27ac71
neovim, caddy: add json-schema, use tabs in
Caddyfiles, add vim-caddyfile
2022-08-09 11:56:41 +02:00
teutat3s edbfeeb63b
zsh: correctly pin plugins to commits instead of
branch names, to prevent errors like:
error: hash mismatch in fixed-output derivation '/nix/store/n7w9jd46zx4rzy9a24abxv3lcx1ikn1j-source.drv':
         specified: sha256-0pzkKPdzyQXTe8usaSaM1Iivi2UHQrSJrh5V2pRd0Gg=
            got:    sha256-9vc4cMBCNOmPOyzGwnPeMrXXyQUq4pC9Du3AWl9+Rys=
2022-07-17 16:54:05 +02:00
teutat3s d4bcb45ec2
ryzensun: add missing system.stateVersion 2022-07-15 12:36:17 +02:00
teutat3s eae1f5aaba
Update flake.lock 2022-07-15 12:36:15 +02:00
teutat3s de8b7c9a5c
powder: init 2022-07-08 14:20:00 +02:00
teutat3s 65545ac0eb
Bump flake.lock 2022-07-08 14:18:57 +02:00
teutat3s 7ec1b28c13
audio: switch to wireplumber for pipewire configuration
https://nixos.wiki/wiki/PipeWire#Bluetooth_Configuration
2022-07-08 14:18:10 +02:00
teutat3s 72ee1b7180
terminal-life: fix missing file attribute for zsh-nix-shell plugin 2022-07-08 14:16:58 +02:00
teutat3s 4982c93248
dumpyourvms: fix wireguard mtu, use new IPv6 address 2022-07-08 14:16:10 +02:00
teutat3s 20efda1056
dumpyourvms: unbound DNS: add dns3.digitalcourage.de 2022-07-08 14:15:29 +02:00
teutat3s 5464cd2ebe
hosts: add missing system.stateVersion 2022-07-08 14:13:41 +02:00
teutat3s 18cf9e1f0d
audio: remove mopidy-spotify, upstream abandonded support 2022-07-07 22:29:33 +02:00
teutat3s 1877c41b83
wik: bump to newest git commit 2022-07-07 22:29:33 +02:00
teutat3s ce5753cee5
signal-desktop: works without workaround again
Also add --use-tray-icon flag, since it works now
2022-07-07 22:29:33 +02:00
teutat3s 5b4dcce3c0
nomad: use version nomad_1_3 for zsh completion, too 2022-07-07 22:29:33 +02:00
teutat3s a5a97f1757
yubikey-agent: replace overlay with nixos-unstable
Don't use the overlay anymore, because now there's a recent enough
version in nixpkgs branch nixos-unstable
2022-07-07 22:29:33 +02:00
teutat3s bf30ff4396
pkgs: add notes command
Inspiration: https://fedops.codeberg.page/note-taking-and-searching.html
2022-07-07 22:29:25 +02:00
teutat3s 40240e9d5c
zsh: bundle plugins within our config 2022-06-05 03:07:50 +02:00
teutat3s 6ff469a0ac
wip: first PubSolarOS iso test using the NixOS
test vm
2022-06-05 03:06:38 +02:00
teutat3s 528e69af1e
wip: first PubSolarOS iso test using the NixOS
test suite:

https://nixos.org/manual/nixos/stable/index.html#sec-nixos-tests
2022-06-04 23:45:06 +02:00
teutat3s a79cb4f592
Merge branch 'main' into teutat3s 2022-06-04 14:05:09 +02:00
teutat3s 412b830cb0
dumpyourvms: wip networking, use systemd-resolved for local DNS 2022-06-02 10:51:32 +02:00
teutat3s 8e1f2b5abc
teutat3s: use nomad_1_3 2022-06-02 10:48:44 +02:00
teutat3s 8540db683a
devos: use nix instead of nixFlakes alias, now that version
2.8 is stable in NixOS 22.05
2022-06-02 10:48:19 +02:00
teutat3s 7f712ce866
sway: use ExecStartPre in systemd service, like upstream wiki 2022-06-02 10:45:03 +02:00
teutat3s daeff7cdae
audio: enable lightweight, but high-quality SBC-XQ codec
http://soundexpert.org/articles/-/blogs/audio-quality-of-sbc-xq-bluetooth-audio-codec
2022-06-02 10:44:18 +02:00
teutat3s aabfc4a0dd
nixos: follow release-22.05
home: follow release-22.05 branch

Fixes for upstream changes:

ag renamed to silver-searcher, extfat-utils is now exfat, lot's of
overrides no longer needed, as they're now in the release branch,
services.caddy.config split up into globalConfig and extraConfig
2022-06-02 10:09:42 +02:00
teutat3s 036de0adc2
graphical: move FF sharing indicator to sway ws 7
The Firefox sharing indicator sometimes doesn't like to float like it
should, and when it does, it usually floats over UI elements you'd like
to use.

Moving it to sway workspace 7 should get it mostly out of the way

Explicitly stop focus for FF Sharing Indicator
2022-05-06 14:58:49 +02:00
teutat3s 05c72f28af
sway: switch from mako to swaynotificationcenter
https://github.com/ErikReider/SwayNotificationCenter brings a fresh look
don't disturbe mode and a control panel to our notifications
2022-05-06 13:39:48 +02:00
teutat3s 578537227e
Update flake.lock 2022-05-05 16:43:31 +02:00
teutat3s 09c83e89b1
Merge branch 'main' into teutat3s 2022-05-05 16:12:42 +02:00
teutat3s 3229e5c6da
graphical: move FF sharing indicator to sway ws 7
The Firefox sharing indicator sometimes doesn't like to float like it
should, and when it does, it usually floats over UI elements you'd like
to use.

Moving it to sway workspace 7 should get it mostly out of the way
2022-05-05 16:08:51 +02:00
teutat3s 47239ec1bb
Use forked nix-autobahn with dependency fixes 2022-05-05 16:08:40 +02:00
teutat3s cba5562e35
Update flake.lock 2022-05-03 14:26:33 +02:00
teutat3s f0bf5d7c04
Merge branch 'main' into teutat3s 2022-05-03 14:24:17 +02:00
teutat3s 978d07d868
Merge branch 'main' into teutat3s 2022-05-02 21:59:52 +02:00
teutat3s 669b61f722
Merge branch 'main' into teutat3s 2022-05-02 11:02:13 +02:00
teutat3s 393302373b
zsh: precmd() don't echo trailing newline 2022-05-02 01:23:41 +02:00
teutat3s c3c7b63d73
sway: fix cursor not scaling correctly 2022-05-02 01:23:18 +02:00
teutat3s 848a0dd0a5
Fix ISO target path for publishing 2022-05-02 01:22:49 +02:00
teutat3s f025fa681a
Update flake lock 2022-05-01 23:34:18 +02:00
teutat3s 9a8462b938
Merge branch 'main' into teutat3s 2022-04-30 21:43:08 +02:00
teutat3s fc8ac5709a
zsh: precmd() don't echo trailing newline 2022-04-30 20:57:35 +02:00
teutat3s 26d5fcf589
Merge branch 'main' into teutat3s 2022-04-30 20:13:39 +02:00
teutat3s 89d9611e5e
Merge branch 'main' into teutat3s 2022-04-30 18:14:55 +02:00
teutat3s 5a95fedf3c
Merge branch 'main' into teutat3s 2022-04-30 17:52:44 +02:00
teutat3s 7c98e09e88
virtualisation: generalize for intel CPUs by adding intel_iommu to kernelParams 2022-04-30 15:15:29 +02:00
teutat3s 0a22395a8c
tree-wide: gnome3 -> gnome, add hicolor-icon-theme
as fallback
2022-04-30 15:13:20 +02:00
teutat3s 75dfffa614
neovim: don't show diagnostics when in insert mode 2022-04-30 15:12:26 +02:00
teutat3s 5149c219e6
neovim: use apprentice colorscheme 2022-04-30 15:10:27 +02:00
teutat3s 67a4b2e58d
zsh: use max length for dir to allow enough space for
the right hand indicators
2022-04-30 15:10:27 +02:00
teutat3s 3015dc4293
neovim: fix lsp for neovim 0.7.0 2022-04-30 15:10:27 +02:00
teutat3s 5c86a6ec09
cachix: trust pub.solar public keys for nix-dram 2022-04-30 15:10:26 +02:00
teutat3s d490c4b78a
nix-direnv: use flake-aware version 2.0.0 2022-04-30 15:10:26 +02:00
teutat3s 3c3945d34b
neovim: fix lsp for neovim 0.7.0 2022-04-30 15:10:26 +02:00
teutat3s 9ef7784e81
git: mark PubSolarOS source dir as safe directory
to avoid permission error
2022-04-30 15:10:26 +02:00
teutat3s 03cf31989f
neovim: add template for shell.nix files 2022-04-30 15:10:26 +02:00
teutat3s d7aa9a8840
cachix: trust pub.solar public keys for nix-dram 2022-04-30 15:10:26 +02:00
teutat3s d2c7eea425
dumpyourvms: update networking 2022-04-30 15:10:25 +02:00
teutat3s dccf0baed0
terminal-life: use our hotkeys for pagers like bat
and less
2022-04-30 15:10:15 +02:00
teutat3s 08d0f49f3a
ttp: fix unset subcmd 2022-04-26 11:20:22 +02:00
teutat3s 8e2037ef4a
nix-direnv: use flake-aware version 2.0.0 2022-04-26 11:19:50 +02:00
teutat3s 2f38edecf7
Merge branch 'main' into teutat3s 2022-04-09 16:57:20 +02:00
teutat3s 0c14291bc2
neovim: diagnostics: only show under cursor and
use custom signcolumn icons using new lua
vim.diagnostic.config options

fix fzf pop-up colors

get sonokai, suda-vim from nixpkgs vimPlugins

bump vim-workspace

add apprentice, hybrid and airline colorschemes
2022-04-09 16:47:28 +02:00
teutat3s 1d0ae71a3c
digga: Remove customBuilds, nixos-generate
has --flake, Use nixos-* not release-*
2022-04-09 16:40:03 +02:00
teutat3s e2773a67ee
base-user: update telegram-desktop mime 2022-04-09 16:37:23 +02:00
teutat3s 8bfd365039
core: nixpkgs-review, see:
https://github.com/Mic92/nixpkgs-review#usage
2022-04-09 16:37:22 +02:00
teutat3s a9ea24a39b
export devos template in digga
devos: remove bud get
2022-04-09 16:37:22 +02:00
teutat3s b911badb8a
pre-commit hook: only format modified lines
instead of entire files
2022-04-09 16:37:19 +02:00
teutat3s 03e6c47086
pre-commit hook: fix shellcheck SCSC2181
Check exit code directly with e.g. if mycmd;
not indirectly with $?

https://github.com/koalaman/shellcheck/wiki/SC2181
2022-04-09 15:42:36 +02:00
teutat3s 7ecfcf5814
pre-commit hook: fix shellcheck SC2207
Prefer mapfile or read -a to split command output

https://github.com/koalaman/shellcheck/wiki/SC2207
2022-04-09 15:22:37 +02:00
teutat3s a1c87c43ca
office: add xournalpp, tool for annotating PDFs 2022-04-09 14:24:51 +02:00
teutat3s 8fd578dceb
overrides: add flameshot, metal-cli, vagrant, electron_17, neovim-unwrapped 2022-04-03 18:49:51 +02:00
teutat3s 888d6ca12a
teutat3s: add git lfs 2022-04-03 18:49:04 +02:00
teutat3s 841ce25ab2
printing: add driver for canon pixma 2022-04-03 18:48:41 +02:00
teutat3s 6f7e01a3e5
chore: update flake lock 2022-04-03 18:48:12 +02:00
teutat3s f44e3f06ed
Merge branch 'main' into teutat3s 2022-04-03 18:46:34 +02:00
teutat3s 1cbb04d808
neovim: fix config for version 0.6.1 2022-04-03 18:34:46 +02:00
teutat3s ec2e42593e
terminal-life: use builtin zsh fzf-history-widget 2022-04-01 11:16:16 +02:00
teutat3s 9458395c36
bump flake lock 2022-03-23 11:27:32 +01:00
teutat3s dde682146d
Merge branch 'main' into teutat3s 2022-03-23 11:24:51 +01:00
teutat3s d399532b58
bump flake lock 2022-03-23 11:11:30 +01:00
teutat3s ab8850998e
virtualisation: add vagrant, comment out virbr1 2022-03-23 11:11:10 +01:00
teutat3s bac40c211a
Update /etc/hosts 2022-03-23 11:10:30 +01:00
teutat3s 7bbdc0c4f7
Add yubikey-agent overlay, update to latest git
commit, add nix-autobahn
2022-03-23 11:10:04 +01:00
teutat3s 72637fba7b
bump flake lock 2022-03-15 19:06:14 +01:00
teutat3s c97231947c
qMasterPassword: get 1.2.3 from nixos-unstable 2022-03-15 19:06:14 +01:00
teutat3s 3a5a8f3706
neovim: add quick-scope plugin 2022-03-15 19:06:03 +01:00
teutat3s ac35bb4555
Switch to ungoogled-chromium 2022-03-04 15:11:37 +01:00
teutat3s dcb04e9769
bump flake lock 2022-03-04 15:11:25 +01:00
teutat3s 2d68f026ef
tritonshell: init and adjust paths to source scripts in zshrc 2022-03-04 15:11:19 +01:00
teutat3s c889aa96dc
bump flake lock 2022-03-01 14:53:36 +01:00
teutat3s 23ad00f264
wik: add meta section 2022-03-01 14:53:24 +01:00
teutat3s 286c8d9ead
terminal-life: rename wiki-fetch to wik 2022-02-27 18:14:59 +01:00
teutat3s 4455f8e5f0
terminal-life: update python-wiki-fetch 2022-02-27 16:57:37 +01:00
teutat3s 8958a2df72
Merge branch 'teutat3s-init-fae' into teutat3s 2022-02-25 13:34:48 +01:00
teutat3s a188dc9c6e
terminal-life: add python-wiki-fetch 2022-02-25 13:31:45 +01:00
teutat3s 6dcbd42a56
core: add jless, see: https://jless.io 2022-02-25 13:31:21 +01:00
teutat3s 17b2a84d23
update flake.lock 2022-02-25 10:52:07 +01:00
teutat3s f6a9e18903
waybar: temp fix for bandwidth stats, see:
https://github.com/Alexays/Waybar/issues/1392
2022-02-25 10:52:00 +01:00
teutat3s 50675323f7
Merge branch 'main' into teutat3s-init-fae 2022-02-24 23:45:15 +01:00
teutat3s 6eb0925aaf
update flake.lock 2022-02-22 16:50:18 +01:00
teutat3s 81ec0ecffc
alacritty: better search colors highlighting 2022-02-22 16:49:46 +01:00
teutat3s f4d59feb29
watson: disable pager 2022-02-04 12:57:19 +01:00
teutat3s 9d0eb01b1a
Add mdbook from pr 1306 with multilang support 2022-02-03 00:30:49 +01:00
teutat3s 61967bc0e8
Update env secret 2022-02-02 13:30:47 +01:00
teutat3s eca6d4d999
Use ttp shell function from tritonshell 2022-02-02 03:07:28 +01:00
teutat3s 7e3afff152
overrides: use qMasterPassword from master nixpkgs 2022-01-31 17:53:28 +01:00
teutat3s b0483a0757
chore: bump flake lock 2022-01-31 17:52:56 +01:00
teutat3s 0337015328
overrides: remove unneeded element-desktop overlay 2022-01-31 17:52:31 +01:00
teutat3s a774ccdb0c
fae: boots PubSolarOS 2022-01-31 17:51:42 +01:00
teutat3s f21a8f0e81
teutat3s: add SSH public key 2022-01-31 17:50:16 +01:00
teutat3s bc07b99029
teutat3s: enable social profile 2022-01-31 17:50:01 +01:00
teutat3s bcd9f7e0a3
dumpyourvms: disable mopidy, vpn IP updates 2022-01-31 17:49:41 +01:00
teutat3s 32a51fd9ef
dumpyourvms: fix floating network-manager windows 2022-01-31 17:48:58 +01:00
teutat3s 5dbcf14d1f
iso: use iso suite in PubSolarOS host 2022-01-31 17:47:45 +01:00
teutat3s 82aeb0ec39
iso: default user nixos becomes pub-solar 2022-01-31 17:45:26 +01:00
teutat3s f5f6ddd10c
core: add ncd, useful for comparing versions of pkgs that
will be upgraded, see:
https://discourse.nixos.org/t/nvd-simple-nix-nixos-version-diff-tool/12397
2022-01-31 17:43:05 +01:00
teutat3s 0555636f26
core: add missing argument inputs 2022-01-31 17:41:42 +01:00
teutat3s 6b0994ac4e
pkgs: lgcl: fix nix flake check for aarch64-linux 2022-01-31 17:41:42 +01:00
teutat3s af6c13f3e6
modules: user: add publicKeys option 2022-01-31 17:41:32 +01:00
teutat3s 19bf284361
terminal-life: add asciinema 2022-01-31 17:34:32 +01:00
teutat3s 2690f79f10
Use newer ansible version instead of pythonPackages one 2022-01-31 17:34:08 +01:00
teutat3s a2c3102fae
Merge branch 'main' into teutat3s-init-fae 2022-01-31 17:13:35 +01:00
teutat3s 63f91c864a
Merge branch 'main' into teutat3s-init-fae 2022-01-31 16:19:59 +01:00
teutat3s 749110bed5
Merge branch 'main' into teutat3s-init-fae 2022-01-31 14:42:12 +01:00
teutat3s f33597926e
Merge branch 'main' into teutat3s-init-fae 2022-01-31 14:09:28 +01:00
teutat3s 23af3da5f3
Merge branch 'main' into teutat3s 2022-01-31 12:19:13 +01:00
teutat3s e19388f99b
Merge branch 'feature/basic-iso' into teutat3s-init-fae 2022-01-19 01:16:35 +01:00
teutat3s 082e33c1ed
wip 2022-01-19 01:13:15 +01:00
teutat3s 952e8389c5
core: add gitFull, nix-tree 2022-01-05 23:20:38 +01:00
teutat3s 7dd2362c27
base user: init global gitignore, update mimeapps 2022-01-05 23:20:06 +01:00
teutat3s fb04812df1
devops: add pgcli 2022-01-05 23:17:09 +01:00
teutat3s 1f2a6fe066
dumpyourvms: swap, cpu schedutil, powersaving 2022-01-05 23:16:35 +01:00
teutat3s 73739322fa
audio: rename pulseeffects to easyeffects, follow
upstream: https://github.com/wwmm/easyeffects
2022-01-05 23:02:05 +01:00
teutat3s 8229dea533
neovim: fix completion, fix python lsp 2022-01-05 22:56:03 +01:00
teutat3s 3c6d815d5c
Merge branch 'main' into teutat3s 2021-12-30 21:55:42 +01:00
teutat3s 96778b345c
Merge branch 'main' into teutat3s 2021-12-16 18:13:07 +01:00
teutat3s f63902f55a
Merge branch 'main' into teutat3s 2021-12-14 15:17:08 +01:00
teutat3s 19bd4126df
Merge branch 'main' into teutat3s 2021-12-14 15:13:09 +01:00
teutat3s 36678d57f9
Merge branch 'main' into teutat3s 2021-12-11 00:58:19 +01:00
teutat3s f570efefe9
Merge branch 'main' into teutat3s 2021-12-01 12:22:19 +01:00
teutat3s 30b3838b2a
Merge branch 'main' into teutat3s 2021-11-29 19:23:17 +01:00
teutat3s e6f679387c
Merge branch 'main' into teutat3s 2021-11-29 17:27:38 +01:00
teutat3s eae049a62c
Merge branch 'main' into teutat3s 2021-11-29 16:44:51 +01:00
teutat3s 0ac864d8a0
sway: hotfix for swayidle, swaylock-bg missing in PATH 2021-11-29 15:14:18 +01:00
teutat3s 269aff703d
graphical, sway: disable greetd, auto-login directly to desktop 2021-11-29 15:14:10 +01:00
teutat3s 54044ed31a
Merge branch 'main' into teutat3s 2021-11-19 00:52:10 +01:00
drone 45265e2014 Merge remote-tracking branch 'origin/main' into teutat3s 2021-11-08 00:07:14 +00:00
teutat3s a1adee5cb6
terminal-life: add glow, a tui markdown viewer; sort packages 2021-11-07 19:48:50 +01:00
teutat3s 3ce9be7c4c
neovim: fix jsonls, fix cursor jumping into diagnostics buffer 2021-11-07 19:48:50 +01:00
drone 8df34042c3 Merge remote-tracking branch 'origin/main' into teutat3s 2021-11-06 00:06:58 +00:00
drone f8c52bdee1 Merge remote-tracking branch 'origin/main' into teutat3s 2021-10-30 00:07:27 +00:00
drone f43ea392f3 Merge remote-tracking branch 'origin/main' into teutat3s 2021-10-27 00:07:29 +00:00
teutat3s 81647c8447
Merge branch 'main' into teutat3s 2021-10-26 10:28:20 +02:00
teutat3s f3237ea908
drone: fix signature 2021-10-25 01:44:56 +02:00
teutat3s 07c6de8b0d
ryzensun: init agenix 2021-10-25 01:43:19 +02:00
teutat3s 6f5dae8520
agenix: rekey for ryzensun 2021-10-25 01:33:29 +02:00
teutat3s 4b8c24df60
ryzensun: add custom keybindings 2021-10-25 01:16:28 +02:00
teutat3s 6c0585edc7
Merge branch 'main' into teutat3s 2021-10-24 23:42:55 +02:00
teutat3s 5f552149ea
Clean up unused git-crypt dirs/files 2021-10-24 23:42:36 +02:00
teutat3s 4bc3eaed27
dumpyourvms: switch to unencrypted /boot partition 2021-10-24 01:18:49 +02:00
teutat3s 56ab7a1d28
x-os: prepare booting from unencrypted /boot partition 2021-10-24 01:18:33 +02:00
teutat3s d35fc6d8ae
overrides: try out docker-compose v2, xdg-desktop-portal from latest 2021-10-24 01:17:50 +02:00
teutat3s 3bb6c8bc66
agenix: init environment-secrets 2021-10-24 01:16:58 +02:00
teutat3s f2d20739e0
nixpkgs: bump lock for nixos and latest 2021-10-24 01:13:28 +02:00
teutat3s 59069b11b1
Merge branch 'main' into teutat3s 2021-10-21 19:40:00 +02:00
teutat3s 5bf032e2c9
dumpyourvms: networking updates 2021-10-20 10:04:04 +02:00
teutat3s 7d9d924f2b
Merge branch 'main' into teutat3s 2021-10-20 10:03:23 +02:00
teutat3s 575e8c9fd0
Merge branch 'main' into teutat3s 2021-10-14 00:08:58 +02:00
teutat3s 7c064001e9
Merge branch 'main' into teutat3s 2021-10-12 14:57:36 +02:00
teutat3s 898fc15023
flake lock bump latest & nixos input 2021-10-12 00:39:16 +02:00
teutat3s f026b8bd44
overrides: sort, clean and add nomad 2021-10-12 00:38:38 +02:00
teutat3s 8da39248c6
core: add mytraceroute 2021-10-12 00:37:16 +02:00
teutat3s 7985b4f33d
teutat3s: add network tools 2021-10-12 00:36:44 +02:00
teutat3s 4de6cd9641
dumpyourvms: update vpn 2021-10-12 00:36:23 +02:00
teutat3s 58b6b7f0ca
Merge branch 'main' into teutat3s 2021-10-12 00:33:23 +02:00
teutat3s a31706695e
Merge branch 'main' into teutat3s 2021-10-12 00:15:35 +02:00
teutat3s c653bf0818
Merge branch 'main' into teutat3s 2021-10-08 01:55:03 +02:00
teutat3s be2419645d
Merge branch 'master' into teutat3s 2021-09-23 01:11:03 +02:00
teutat3s 2032775826
Merge branch 'master' into teutat3s 2021-09-21 22:35:50 +02:00
teutat3s 25d605d45b
Merge branch 'master' into teutat3s 2021-09-21 22:28:43 +02:00
teutat3s 62f7de1dba
Fix direnv cache 2021-09-21 22:27:53 +02:00
drone 58e4d8ddfa Merge remote-tracking branch 'origin/master' into teutat3s 2021-09-11 00:22:09 +00:00
teutat3s 95bb18093c
Merge branch 'master' into teutat3s 2021-09-08 23:36:51 +02:00
teutat3s 916cd67458
Use wayland version of element-desktop 2021-09-07 17:39:00 +02:00
teutat3s b66e1465ad
Merge branch 'master' into teutat3s 2021-09-07 15:10:54 +02:00
teutat3s 27ed938aec
Update flake.lock 2021-09-07 12:13:13 +02:00
teutat3s a5df658fb2
Update flake.lock, enable virtualization 2021-09-06 18:59:46 +02:00
teutat3s 9755e48043
Fix backlight hotkeys 2021-08-29 22:50:46 +02:00
teutat3s e33191591c
Merge remote-tracking branch 'devos/main' into teutat3s-develop 2021-08-15 10:20:36 +02:00
teutat3s 3f64c910b0
Correctly pin latest channel to nixpkgs unstable 2021-07-29 16:06:49 +02:00
teutat3s f66f600b9b
Merge remote-tracking branch 'devos/develop' into teutat3s-develop 2021-07-28 12:04:39 +02:00
teutat3s 0b25f7b11b
Fix git mergetool 2021-07-20 22:14:24 +02:00
teutat3s f0130f5df7
Make editorconfig linter happy again 2021-07-20 22:08:51 +02:00
teutat3s 15497046c7
Clean up unneeded compat module 2021-07-20 22:08:33 +02:00
teutat3s 245f5ecb91
Use LTS kernel 5.10, remove unneeded experimental-features 2021-07-20 21:55:39 +02:00
teutat3s 021c8774fa
Merge branch 'core' into teutat3s-develop 2021-07-17 15:49:07 +02:00
drone 5874f7366c Merge remote-tracking branch 'origin/core' into teutat3s 2021-07-14 00:24:55 +00:00
drone 06abae7874 Merge remote-tracking branch 'origin/core' into teutat3s 2021-07-13 16:52:14 +00:00
teutat3s 3bf4783f0e
Merge branch 'core' into teutat3s 2021-07-07 19:52:23 +02:00
teutat3s cacb98ed0b
Add vim rhubarb extension for GitHub links 2021-07-07 19:15:05 +02:00
teutat3s e5ddbd1f75
Add more hosts to /etc/hosts 2021-07-07 19:13:46 +02:00
teutat3s ea32e36c57
Switch from ctags to maintained universal-ctags 2021-07-07 19:12:45 +02:00
teutat3s 192d10e3c3
Add gnome image viewer eog to graphical 2021-07-07 19:11:16 +02:00
teutat3s e27b566f95
Add file command 2021-07-07 19:10:52 +02:00
teutat3s ea5ef431c4
Fix mixed indent in neovim plugins config 2021-06-28 14:01:24 +02:00
teutat3s cca0aa30f5
Fix top screen border for con 2021-06-28 14:01:24 +02:00
teutat3s 426e4ec460
Init agenix 2021-06-27 17:18:24 +02:00
teutat3s e9d626f69c
Fix mimeapps for txt 2021-06-27 17:14:12 +02:00
teutat3s 0829154ec4
Fix ryzensun on Devos 2021-06-22 03:10:54 +02:00
teutat3s 00537d84c0
Merge branch 'core' into teutat3s 2021-06-22 03:00:12 +02:00
teutat3s e1e633750a
Init ryzensun on Devos 2021-06-22 02:59:24 +02:00
teutat3s ce618a532d
neovim: only add files in git to tags file 2021-06-21 10:02:25 +02:00
teutat3s 7faf8310bb
Init host: con 2021-06-21 10:02:25 +02:00
teutat3s 8293ebafb4
Improve power management 2021-06-20 15:38:01 +02:00
teutat3s a7352d4bef
Disable keybase for now, too unused 2021-06-20 15:37:29 +02:00
teutat3s a03e44a95a
Adjust keyfile path 2021-06-15 02:11:48 +02:00
teutat3s e4976a58cf
Switch keyboard input toggle, comment out unused battery tweak 2021-06-15 02:05:09 +02:00
teutat3s 9897fb174a
Merge branch 'core' into teutat3s 2021-06-15 01:39:57 +02:00
teutat3s 3e0017a191
fix: dumpyourvms builds 2021-06-14 21:44:38 +02:00
teutat3s b53d7bfaeb
Merge branch 'core' into teutat3s 2021-06-14 20:22:56 +02:00
teutat3s 6c40b31e79
Initial teutat3s commit 2021-06-06 15:22:44 +02:00
89 changed files with 5887 additions and 1238 deletions

View file

@ -30,11 +30,11 @@
]
},
"locked": {
"lastModified": 1688307440,
"narHash": "sha256-7PTjbN+/+b799YN7Tk2SS5Vh8A0L3gBo8hmB7Y0VXug=",
"lastModified": 1692248770,
"narHash": "sha256-tZeFpETKQGbgnaSIO1AGWD27IyTcBm4D+A9d7ulQ4NM=",
"owner": "LnL7",
"repo": "nix-darwin",
"rev": "b06bab83bdf285ea0ae3c8e145a081eb95959047",
"rev": "511177ffe8226c78c9cf6a92a7b5f2df3684956b",
"type": "github"
},
"original": {
@ -89,6 +89,25 @@
"type": "github"
}
},
"devshell_2": {
"inputs": {
"nixpkgs": "nixpkgs",
"systems": "systems"
},
"locked": {
"lastModified": 1695973661,
"narHash": "sha256-BP2H4c42GThPIhERtTpV1yCtwQHYHEKdRu7pjrmQAwo=",
"owner": "numtide",
"repo": "devshell",
"rev": "cd4e2fda3150dd2f689caeac07b7f47df5197c31",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "devshell",
"type": "github"
}
},
"digga": {
"inputs": {
"darwin": [
@ -197,6 +216,55 @@
"type": "github"
}
},
"flake-utils_3": {
"locked": {
"lastModified": 1653893745,
"narHash": "sha256-0jntwV3Z8//YwuOjzhV2sgJJPt+HY6KhU7VZUL0fKZQ=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "1ed9fb1935d260de5fe1c2f7ee0ebaae17ed2fa1",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"flake-utils_4": {
"inputs": {
"systems": "systems_2"
},
"locked": {
"lastModified": 1694529238,
"narHash": "sha256-zsNZZGTGnMOf9YpHKJqMSsa0dXbfmxeoJ7xHlrt+xmY=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "ff7b65b44d01cf9ba6a71320833626af21126384",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"fork": {
"locked": {
"lastModified": 1692960587,
"narHash": "sha256-39SKGdhn8jKKkdqhULbCvQOpdUPE9NNJpy5HTB++Jvg=",
"owner": "teutat3s",
"repo": "nixpkgs",
"rev": "312709dd70684f52496580e533d58645526b1c90",
"type": "github"
},
"original": {
"owner": "teutat3s",
"ref": "nvfetcher-fix",
"repo": "nixpkgs",
"type": "github"
}
},
"home": {
"inputs": {
"nixpkgs": [
@ -204,11 +272,11 @@
]
},
"locked": {
"lastModified": 1687871164,
"narHash": "sha256-bBFlPthuYX322xOlpJvkjUBz0C+MOBjZdDOOJJ+G2jU=",
"lastModified": 1693208669,
"narHash": "sha256-hHFaaUsZ860wvppPeiu7nJn/nXZjJfnqAQEu9SPFE9I=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "07c347bb50994691d7b0095f45ebd8838cf6bc38",
"rev": "5bac4a1c06cd77cf8fc35a658ccb035a6c50cd2c",
"type": "github"
},
"original": {
@ -220,11 +288,11 @@
},
"latest": {
"locked": {
"lastModified": 1689850295,
"narHash": "sha256-fUYf6WdQlhd2H+3aR8jST5dhFH1d0eE22aes8fNIfyk=",
"lastModified": 1698134075,
"narHash": "sha256-foCD+nuKzfh49bIoiCBur4+Fx1nozo+4C/6k8BYk4sg=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "5df4d78d54f7a34e9ea1f84a22b4fd9baebc68d0",
"rev": "8efd5d1e283604f75a808a20e6cde0ef313d07d4",
"type": "github"
},
"original": {
@ -234,13 +302,29 @@
"type": "github"
}
},
"nixos": {
"master": {
"locked": {
"lastModified": 1689680872,
"narHash": "sha256-brNix2+ihJSzCiKwLafbyejrHJZUP0Fy6z5+xMOC27M=",
"lastModified": 1686841982,
"narHash": "sha256-ic9o7z8VOF9jqxAC1UN9gmymbgtix6OR8guYkHxowXw=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "08700de174bc6235043cb4263b643b721d936bdb",
"rev": "8a3054c4f31ffa22ad4cca22a8aa271c59ccc91d",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "master",
"repo": "nixpkgs",
"type": "github"
}
},
"nixos": {
"locked": {
"lastModified": 1698288402,
"narHash": "sha256-jIIjApPdm+4yt8PglX8pUOexAdEiAax/DXW3S/Mb21E=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "60b9db998f71ea49e1a9c41824d09aa274be1344",
"type": "github"
},
"original": {
@ -250,13 +334,29 @@
"type": "github"
}
},
"nixos-22-05": {
"locked": {
"lastModified": 1682600000,
"narHash": "sha256-ha4BehR1dh8EnXSoE1m/wyyYVvHI9txjW4w5/oxsW5Y=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "50fc86b75d2744e1ab3837ef74b53f103a9b55a0",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-22.05",
"repo": "nixpkgs",
"type": "github"
}
},
"nixos-hardware": {
"locked": {
"lastModified": 1686838567,
"narHash": "sha256-aqKCUD126dRlVSKV6vWuDCitfjFrZlkwNuvj5LtjRRU=",
"lastModified": 1693718952,
"narHash": "sha256-+nGdJlgTk0MPN7NygopipmyylVuAVi7OItIwTlwtGnw=",
"owner": "nixos",
"repo": "nixos-hardware",
"rev": "429f232fe1dc398c5afea19a51aad6931ee0fb89",
"rev": "793de77d9f83418b428e8ba70d1e42c6507d0d35",
"type": "github"
},
"original": {
@ -265,6 +365,22 @@
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1677383253,
"narHash": "sha256-UfpzWfSxkfXHnb4boXZNaKsAcUrZT9Hw+tao1oZxd08=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "9952d6bc395f5841262b006fbace8dd7e143b634",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1672791794,
@ -288,10 +404,92 @@
"deploy": "deploy",
"digga": "digga",
"flake-compat": "flake-compat",
"fork": "fork",
"home": "home",
"latest": "latest",
"master": "master",
"nixos": "nixos",
"nixos-hardware": "nixos-hardware"
"nixos-22-05": "nixos-22-05",
"nixos-hardware": "nixos-hardware",
"triton-vmtools": "triton-vmtools",
"tritonshell": "tritonshell"
}
},
"systems": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"systems_2": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"triton-vmtools": {
"inputs": {
"flake-utils": "flake-utils_3",
"nixpkgs": [
"latest"
]
},
"locked": {
"dir": "vmtools",
"lastModified": 1698443513,
"narHash": "sha256-wX2JIJ3JmJn6MAurdyjwZU+FZjLCwBArMrVSeeCb/ZU=",
"ref": "main",
"rev": "0d039dcf06afb8cbddd7ac54bae4d0d185f3e88e",
"revCount": 85,
"type": "git",
"url": "https://git.pub.solar/pub-solar/infra-vintage?dir=vmtools"
},
"original": {
"dir": "vmtools",
"ref": "main",
"type": "git",
"url": "https://git.pub.solar/pub-solar/infra-vintage?dir=vmtools"
}
},
"tritonshell": {
"inputs": {
"devshell": "devshell_2",
"flake-utils": "flake-utils_4",
"nixpkgs": [
"latest"
]
},
"locked": {
"lastModified": 1696877082,
"narHash": "sha256-Ypwpia97WjyT9I6smXo0F4nLbuTncpffzuT462/tRtM=",
"ref": "main",
"rev": "2c82d5281091c6edc65ced21274d0206c30bdc58",
"revCount": 64,
"type": "git",
"url": "https://git.greenbaum.cloud/dev/tritonshell"
},
"original": {
"ref": "main",
"type": "git",
"url": "https://git.greenbaum.cloud/dev/tritonshell"
}
},
"utils": {

View file

@ -5,8 +5,12 @@
inputs = {
# Track channels with commits tested and built by hydra
nixos-22-05.url = "github:nixos/nixpkgs/nixos-22.05";
nixos.url = "github:nixos/nixpkgs/nixos-23.05";
latest.url = "github:nixos/nixpkgs/nixos-unstable";
master.url = "github:nixos/nixpkgs/master";
fork.url = "github:teutat3s/nixpkgs/nvfetcher-fix";
flake-compat.url = "github:edolstra/flake-compat";
flake-compat.flake = false;
@ -34,6 +38,13 @@
agenix.inputs.darwin.follows = "darwin";
nixos-hardware.url = "github:nixos/nixos-hardware";
# PubSolarOS additions
triton-vmtools.url = "git+https://git.pub.solar/pub-solar/infra-vintage?ref=main&dir=vmtools";
triton-vmtools.inputs.nixpkgs.follows = "latest";
tritonshell.url = "git+https://git.greenbaum.cloud/dev/tritonshell?ref=main";
tritonshell.inputs.nixpkgs.follows = "latest";
};
outputs = {
@ -44,6 +55,7 @@
nixos-hardware,
agenix,
deploy,
tritonshell,
...
} @ inputs:
digga.lib.mkFlake
@ -51,7 +63,7 @@
inherit self inputs;
channelsConfig = {
# allowUnfree = true;
allowUnfree = true;
};
supportedSystems = ["x86_64-linux" "aarch64-linux" "aarch64-darwin"];
@ -68,7 +80,10 @@
})
];
};
nixos-22-05 = {};
latest = {};
master = {};
fork = {};
};
lib = import ./lib {lib = digga.lib // nixos.lib;};
@ -118,6 +133,12 @@
#})
];
};
fae = {
system = "aarch64-linux";
};
powder = {
system = "x86_64-linux";
};
};
importables = rec {
profiles =
@ -130,6 +151,9 @@
iso = base ++ [base-user graphical pub-solar-iso];
pubsolaros = [full-install base-user users.root];
anonymous = [pubsolaros users.pub-solar];
teutat3s = pubsolaros ++ [users.teutat3s];
dumpyourvms = teutat3s ++ [graphical];
ryzensun = teutat3s ++ [graphical];
};
};
};
@ -140,13 +164,18 @@
importables = rec {
profiles = digga.lib.rakeLeaves ./users/profiles;
suites = with profiles; rec {
base = [direnv git];
base = [direnv];
};
};
users = {
pub-solar = {suites, ...}: {
imports = suites.base;
home.stateVersion = "21.03";
};
teutat3s = {suites, ...}: {
imports = suites.base;
home.stateVersion = "21.03";
};
}; # digga.lib.importers.rakeLeaves ./users/hm;
@ -167,6 +196,25 @@
# path = self.pkgs.x86_64-linux.nixos.deploy-rs.lib.x86_64-linux.activate.home-manager self.homeConfigurationsPortable.x86_64-linux.bartender;
# };
#};
fae = {
hostname = "fae.fritz.box:22";
sshUser = "pub-solar";
fastConnect = true;
profilesOrder = ["system" "direnv"];
profiles.direnv = {
user = "pub-solar";
path = self.pkgs.x86_64-linux.nixos.deploy-rs.lib.x86_64-linux.activate.home-manager self.homeConfigurationsPortable.x86_64-linux.pub-solar;
};
};
powder = {
hostname = "80.71.153.194";
sshUser = "root";
profilesOrder = ["system" "direnv"];
profiles.direnv = {
user = "pub-solar";
path = self.pkgs.x86_64-linux.nixos.deploy-rs.lib.x86_64-linux.activate.home-manager self.homeConfigurationsPortable.x86_64-linux.pub-solar;
};
};
};
};
}

View file

@ -0,0 +1,14 @@
assign [app_id="firefox"] $ws2
# seahorse
for_window [title="seahorse"] floating enabled
# NetworkManager
for_window [app_id="nm-connection-editor"] floating enabled
# thunderbird
for_window [title="New Task:*"] floating enabled
for_window [title="Edit Task:*"] floating enabled
for_window [title="New Event:*"] floating enabled
for_window [title="Edit Event:*"] floating enabled

View file

@ -0,0 +1,6 @@
# Autostart applications
#
# Example:
# exec swayidle
exec qMasterPassword

View file

@ -0,0 +1,3 @@
# switch keyboard input language
bindsym $mod+tab exec swaymsg input "1452:628:Apple_Inc._Apple_Internal_Keyboard_/_Trackpad" xkb_switch_layout next

View file

@ -0,0 +1,35 @@
### Input configuration
#
# You can get the names of your inputs by running: swaymsg -t get_inputs
# Read `man 5 sway-input` for more information about this section.
input "type:keyboard" {
xkb_layout us(intl),de
xkb_model pc105
xkb_options ctrl:nocaps
}
input "type:touchpad" {
tap enabled
natural_scroll enabled
}
# Touchpad controls
#bindsym XF86TouchpadToggle exec $HOME/Workspace/ben/toggletouchpad.sh # toggle touchpad
# Screen brightness controls
bindsym XF86MonBrightnessUp exec "brightnessctl -d acpi_video0 set +10%"
bindsym XF86MonBrightnessDown exec "brightnessctl -d acpi_video0 set 10%-"
# Keyboard backlight brightness controls
bindsym XF86KbdBrightnessDown exec "brightnessctl -d smc::kbd_backlight set 10%-"
bindsym XF86KbdBrightnessUp exec "brightnessctl -d smc::kbd_backlight set +10%"
# Pulse Audio controls
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5%; exec pactl set-sink-mute @DEFAULT_SINK@ 0 #increase sound volume
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5%; exec pactl set-sink-mute @DEFAULT_SINK@ 0 #decrease sound volume
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle # mute sound
# Media player controls
bindsym XF86AudioPlay exec "playerctl play-pause; notify-send 'Play/Pause'"
bindsym XF86AudioNext exec "playerctl next; notify-send 'Next'"
bindsym XF86AudioPrev exec "playerctl previous; notify-send 'Prev.'"

View file

@ -0,0 +1,41 @@
### Output configuration
#
# Example configuration:
#
# output HDMI-A-1 resolution 1920x1080 position 1920,0
#
# You can get the names of your outputs by running: swaymsg -t get_outputs
set $main_screen eDP-1
set $displayport DP-1
set $hmdi HDMI-A-1
output $main_screen scale 2
output $displayport scale 2
output $hdmi scale 1
output $main_screen pos 0 0
output $displayport pos 0 -1080
output $hdmi pos 1440 0
#bindswitch lid:on output $main_screen disable
#bindswitch lid:off output $main_screen enable
bindsym $mod+Shift+x output $main_screen toggle
# TODO when using more monitors
## Manual management of external displays
# Set the shortcuts and what they do
#set $mode_display HDMI (i) top, (j) left, (k) bottom, (l) right, (o) off
#mode "$mode_display" {
# bindsym i output HDMI-A-1 enable; output HDMI-A-1 pos 0 0 bg ~/Pictures/wallpapers/active.png fill; output eDP-1 pos 0 1080, mode "default"
# bindsym j output HDMI-A-1 enable; output HDMI-A-1 pos 0 0 bg ~/Pictures/wallpapers/active.png fill; output eDP-1 pos 1920 0, mode "default"
# bindsym k output HDMI-A-1 enable; output HDMI-A-1 pos 0 900 bg ~/Pictures/wallpapers/active.png fill; output eDP-1 pos 0 0, mode "default"
# bindsym l output HDMI-A-1 enable; output HDMI-A-1 pos 1440 0 bg ~/Pictures/wallpapers/active.png fill; output eDP-1 pos 0 0, mode "default"
# bindsym o output HDMI-A-1 disable, mode "default"
#
# # back to normal: Enter or Escape
# bindsym Return mode "default"
# bindsym Escape mode "default"
#}
## Declare here the shortcut to bring the display selection menu
#bindsym $mod+x mode "$mode_display"

View file

@ -0,0 +1,21 @@
-----BEGIN CERTIFICATE-----
MIIDbzCCAxSgAwIBAgIRAMK20/fFF0YVThq8xm/YvBswCgYIKoZIzj0EAwIwgbkx
CzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEWMBQGA1UEBxMNU2FuIEZyYW5jaXNj
bzEaMBgGA1UECRMRMTAxIFNlY29uZCBTdHJlZXQxDjAMBgNVBBETBTk0MTA1MRcw
FQYDVQQKEw5IYXNoaUNvcnAgSW5jLjFAMD4GA1UEAxM3Q29uc3VsIEFnZW50IENB
IDI1ODgxOTUyODQyOTMwNjIxMjY4NDgwMTUxODE3OTM2NjUxNzc4NzAeFw0xOTEx
MDYwMDI3MzVaFw0yNDExMDQwMDI3MzVaMIG5MQswCQYDVQQGEwJVUzELMAkGA1UE
CBMCQ0ExFjAUBgNVBAcTDVNhbiBGcmFuY2lzY28xGjAYBgNVBAkTETEwMSBTZWNv
bmQgU3RyZWV0MQ4wDAYDVQQREwU5NDEwNTEXMBUGA1UEChMOSGFzaGlDb3JwIElu
Yy4xQDA+BgNVBAMTN0NvbnN1bCBBZ2VudCBDQSAyNTg4MTk1Mjg0MjkzMDYyMTI2
ODQ4MDE1MTgxNzkzNjY1MTc3ODcwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQE
SZ2kc9rKUNX3czze+rFR/bZdLx3JEYrpcSXKkpv1wr68E1Jqhi/8Dm8b62Ei/Bc6
ZhoJvtB2Shtl+6LbjccUo4H6MIH3MA4GA1UdDwEB/wQEAwIBhjAPBgNVHRMBAf8E
BTADAQH/MGgGA1UdDgRhBF9hZjo4MzoyZTpiOToyZTozMzo5MDplOTpkMjpiNzpj
NjpjYzpkYToxODoyYTphNzpjMzo5ZTozMTpmNTpkZTo4Mzo4YzozMDo0Mjo3OTo4
ZDo0ZDpmZDozMjo2NzpiYjBqBgNVHSMEYzBhgF9hZjo4MzoyZTpiOToyZTozMzo5
MDplOTpkMjpiNzpjNjpjYzpkYToxODoyYTphNzpjMzo5ZTozMTpmNTpkZTo4Mzo4
YzozMDo0Mjo3OTo4ZDo0ZDpmZDozMjo2NzpiYjAKBggqhkjOPQQDAgNJADBGAiEA
zKCV25P6HqFEa1iUVQnsNAp/WHUwxNlR0OctZSdiuIkCIQDiRK03ZYSK/hmY9kXV
42nj6kO8MexfiYN4IE4URmzYnA==
-----END CERTIFICATE-----

View file

@ -0,0 +1,7 @@
{suites, ...}: {
imports =
[
./dumpyourvms.nix
]
++ suites.dumpyourvms;
}

View file

@ -0,0 +1,197 @@
{
config,
pkgs,
lib,
self,
...
}:
with lib; let
psCfg = config.pub-solar;
xdg = config.home-manager.users."${psCfg.user.name}".xdg;
in {
imports = [
./hardware-configuration.nix
];
config = {
age.secrets.environment-secrets = {
file = "${self}/secrets/environment-secrets.age";
mode = "700";
owner = "teutat3s";
};
age.secrets.github-api-token = {
file = "${self}/secrets/github-api-token.age";
mode = "600";
owner = "teutat3s";
path = "/home/${psCfg.user.name}/.local/share/github/api-token";
};
pub-solar = {
audio.mopidy.enable = lib.mkForce false;
core.hibernation = {
enable = true;
resumeDevice = "/dev/mapper/cryptroot";
resumeOffset = 47366144;
};
virtualisation.enable = true;
};
# Fix backlight for keyboard and brightness, adjust function key binding,
# intel_pstate for cpu schedutil
# For now, the radeon driver seems to work better than amdgpu with Radeon R9 M370X
# Explicitly set amdgpu support in place of radeon
# Source: https://github.com/NixOS/nixos-hardware/blob/master/common/gpu/amd/southern-islands/default.nix
# Try again after https://lists.freedesktop.org/archives/amd-gfx/2023-March/090096.html lands
boot.kernelParams = ["acpi_backlight=video" "hid_apple.fnmode=2" "intel_pstate=passive" "radeon.si_support=0" "amdgpu.si_support=1"];
boot.loader.efi.canTouchEfiVariables = true;
# Fix for Error switching console mode to 1: unsupported on startup
boot.loader.systemd-boot.consoleMode = mkForce "0";
boot.binfmt.emulatedSystems = ["aarch64-linux"];
systemd.sleep.extraConfig = ''
HibernateMode=shutdown
'';
hardware = {
cpu.intel.updateMicrocode = true;
facetimehd.enable = true;
opengl = {
extraPackages = with pkgs; [intel-media-driver];
};
};
services.resolved = {
enable = true;
# DNSSEC=false because of random SERVFAIL responses with Greenbaum DNS
# when using allow-downgrade, see https://github.com/systemd/systemd/issues/10579
extraConfig = ''
DNS=5.1.66.255#dot.ffmuc.net 185.150.99.255#dot.ffmuc.net 5.9.164.112#dns3.digitalcourage.de 89.233.43.71#unicast.censurfridns.dk 185.49.141.37#getdnsapi.net 2001:678:e68:f000::#dot.ffmuc.net 2001:678:ed0:f000::#dot.ffmuc.net 2a01:4f8:251:554::2#dns3.digitalcourage.de 2a01:3a0:53:53::0#unicast.censurfridns.dk 2a04:b900:0:100::38#getdnsapi.net
FallbackDNS=9.9.9.9#dns.quad9.net 149.112.112.112#dns.quad9.net 2620:fe::fe#dns.quad9.net 2620:fe::9#dns.quad9.net
Domains=~.
DNSOverTLS=yes
DNSSEC=false
'';
};
networking = import ./networking.nix;
services.tailscale.enable = true;
security.pki.certificateFiles = [./consul-agent-ca.pem];
# Power off dedicated GPU, use only integrated Intel GPU to save battery
# https://github.com/NixOS/nixpkgs/pull/33915
# https://ubuntuforums.org/showthread.php?t=2409856
systemd.services."amd-hybrid-graphics-power-save" = {
path = [pkgs.bash];
description = "Power Off dedicated AMD Card to reduce power usage";
requires = ["sys-kernel-debug.mount"];
enable = true;
serviceConfig = {
Type = "oneshot";
RemainAfterExit = true;
ExecStart = "${pkgs.bash}/bin/sh -c 'sleep 7 && if grep --quiet 'IGD:+' /sys/kernel/debug/vgaswitcheroo/switch; then echo -e \"IGD\\nOFF\" > /sys/kernel/debug/vgaswitcheroo/switch; fi'";
ExecStop = "${pkgs.bash}/bin/sh -c 'echo ON >/sys/kernel/debug/vgaswitcheroo/switch'";
};
wantedBy = ["multi-user.target"];
};
# Increase console font size for HiDPI display
console = {
earlySetup = true;
font = lib.mkForce "ter-i32b";
packages = [pkgs.terminus_font];
};
# Thunderbolt tools
services.hardware.bolt.enable = true;
# Enable udev rules for gnupg smart cards
hardware.gpgSmartcards.enable = true;
powerManagement = {
# Use new schedutil govenor
# https://github.com/NixOS/nixpkgs/pull/42330
# https://www.kernel.org/doc/html/v5.10/admin-guide/pm/cpufreq.html#schedutil
cpuFreqGovernor = lib.mkDefault "schedutil";
# brcmfmac being loaded during hibernation would inhibit a successful resume
# https://bugzilla.kernel.org/show_bug.cgi?id=101681#c116.
# Also brcmfmac could randomly crash on resume from sleep.
# To hibernate successfully using the amdgpu driver, the dedicated GPU needs
# to be powered on.
powerUpCommands = lib.mkBefore (
"${pkgs.kmod}/bin/modprobe brcmfmac"
+ lib.optionalString
(lib.versionAtLeast config.boot.kernelPackages.kernel.version "6.2") " brcmfmac_wcc"
);
powerDownCommands = lib.mkBefore (
lib.optionalString
(lib.versionAtLeast config.boot.kernelPackages.kernel.version "6.2")
"${pkgs.kmod}/bin/rmmod brcmfmac_wcc\n"
+ ''
${pkgs.kmod}/bin/rmmod brcmfmac
${pkgs.systemd}/bin/systemctl stop amd-hybrid-graphics-power-save.service
''
);
resumeCommands =
if config.systemd.services."amd-hybrid-graphics-power-save".enable == true
then ''
${pkgs.systemd}/bin/systemctl start amd-hybrid-graphics-power-save.service
''
else "";
};
# Change lid switch behaviour
services.logind.lidSwitch = "hibernate";
# TLP for power management
services.tlp = {
enable = true;
settings = {
CPU_SCALING_GOVERNOR_ON_AC = "performance";
CPU_SCALING_GOVERNOR_ON_BAT = "schedutil";
CPU_BOOST_ON_AC = 1;
CPU_BOOST_ON_BAT = 0;
};
};
services.udev.extraRules =
# Disable XHC1 wakeup signal to avoid resume getting triggered some time
# after suspend. Reboot required for this to take effect.
lib.optionalString
(lib.versionAtLeast config.boot.kernelPackages.kernel.version "3.13")
''SUBSYSTEM=="pci", KERNEL=="0000:00:14.0", ATTR{power/wakeup}="disabled"'';
services.printing.enable = true;
home-manager = pkgs.lib.setAttrByPath ["users" psCfg.user.name] {
# Custom device sway configs
xdg.configFile = mkIf psCfg.sway.enable {
"sway/config.d/10-applications.conf".source = ./.config/sway/config.d/applications.conf;
"sway/config.d/autostart.conf".source = ./.config/sway/config.d/autostart.conf;
"sway/config.d/10-custom-keybindings.conf".source = ./.config/sway/config.d/custom-keybindings.conf;
"sway/config.d/input-defaults.conf".source = ./.config/sway/config.d/input-defaults.conf;
"sway/config.d/screens.conf".source = ./.config/sway/config.d/screens.conf;
};
};
# WLAN frequency compliance (e.g. check for radar with DFS)
hardware.firmware = with pkgs; [wireless-regdb];
boot.extraModprobeConfig = ''
options cfg80211 ieee80211_regdom="DE"
# Enable the integrated GPU (iGPU) Intel i915 by default if present
options apple-gmux force_igd=y
'';
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "21.05"; # Did you read the comment?
};
}

View file

@ -0,0 +1,39 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{
config,
lib,
pkgs,
modulesPath,
...
}: {
imports = [
#(modulesPath + "/hardware/network/broadcom-43xx.nix")
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = ["xhci_pci" "nvme" "usbhid" "usb_storage" "sd_mod"];
boot.initrd.kernelModules = [];
boot.kernelModules = ["kvm-intel"];
boot.extraModulePackages = [];
fileSystems."/" = {
device = "/dev/disk/by-uuid/17bbb016-d27c-47da-8805-58c6395891e8";
fsType = "ext4";
};
boot.initrd.luks.devices."cryptroot".device = "/dev/disk/by-uuid/c100b9a7-99d7-44d9-b7c2-3892a5f233c4";
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/06B8-5414";
fsType = "vfat";
};
swapDevices = [
{
device = "/swapfile";
size = 18432;
}
];
}

View file

@ -0,0 +1,112 @@
{
networkmanager.dns = "systemd-resolved";
# https://github.com/tailscale/tailscale/issues/4432#issuecomment-1112819111
# https://github.com/NixOS/nixpkgs/commit/68e514ed1cf55451901e8d0edd3e8ee5102d3565
#firewall.checkReversePath = "loose";
hosts = {
"10.0.0.42" = ["nomad.service.consul" "nomad.service.cgn-1.consul"];
"10.0.0.66" = ["consul.service.cgn-1.consul"];
"10.0.1.9" = ["consul.service.lev-1.consul"];
"10.0.0.70" = ["vault.service.consul" "vault.service.cgn-1.consul"];
"10.0.0.200" = ["headnode.cgn-1"];
"10.0.0.201" = ["cn01.cgn-1"];
"10.0.0.202" = ["cn02.cgn-1"];
"10.0.0.205" = ["cn05.cgn-1"];
"10.0.0.206" = ["cn06.cgn-1"];
"10.0.0.207" = ["cn07.cgn-1"];
"10.0.0.208" = ["cn08.cgn-1"];
"10.0.1.200" = ["headnode.lev-1"];
"10.0.1.201" = ["cn01.lev-1"];
"10.0.1.202" = ["cn02.lev-1"];
"10.0.1.203" = ["cn03.lev-1"];
"10.0.1.204" = ["cn04.lev-1"];
"10.0.1.205" = ["cn05.lev-1"];
"10.0.1.206" = ["cn00.lev-1"];
"10.0.1.207" = ["cn06.lev-1"];
"10.0.1.208" = ["cn07.lev-1"];
"10.101.64.10" = ["wifi.bahn.de"];
};
wireguard.enable = true;
wg-quick.interfaces = {
wg0 = {
address = ["10.8.8.6/32"];
privateKeyFile = "/etc/wireguard/wg0.privatekey";
peers = [
{
publicKey = "l0DJLicCrcrixNP6zAWTXNSEaNM2jML253BXEZ1KpiU=";
allowedIPs = ["10.8.8.16/32" "10.0.0.0/24" "10.88.88.0/24"];
endpoint = "85.88.23.16:51820";
persistentKeepalive = 25;
}
];
};
wg1 = {
address = ["192.168.188.203/24"];
privateKeyFile = "/etc/wireguard/wg1.privatekey";
peers = [
{
publicKey = "iZkgeA/mFxBRclCa5SJYdqffClly/uho5krebcUloCY=";
allowedIPs = ["192.168.188.0/24"];
presharedKeyFile = "/etc/wireguard/wg1.presharedkey";
#endpoint = "85.214.70.91:50163";
#endpoint = "7gwzft61sc8txc4r.myfritz.net:50163";
endpoint = "[2a00:6020:1000:47::2ded]:50163";
persistentKeepalive = 25;
}
];
};
wg2 = {
address = ["10.6.6.4/32"];
privateKeyFile = "/etc/wireguard/wg2.privatekey";
peers = [
{
publicKey = "nYMmaCIW8lZ7SokivN8HXxYDch+SS1G7ab1SC9meDAw=";
presharedKeyFile = "/etc/wireguard/wg2.presharedkey";
allowedIPs = ["10.6.6.1/32" "10.1.1.0/24"];
endpoint = "85.88.23.127:51820";
persistentKeepalive = 16;
}
];
};
wg3 = {
address = ["10.11.11.2/32"];
privateKeyFile = "/etc/wireguard/wg3.privatekey";
mtu = 1300;
peers = [
{
publicKey = "7RRgfZSneqAtAHBeI6+aaYLqz9e1jikg/lIK8mhW928=";
presharedKeyFile = "/etc/wireguard/wg3.presharedkey";
allowedIPs = ["10.11.11.0/24" "192.168.1.0/24" "10.0.1.0/24"];
endpoint = "80.71.153.1:51820";
persistentKeepalive = 16;
}
];
};
wg4 = {
address = ["fdaa:1:3234:a7b:16a9:0:a:202/120"];
privateKeyFile = "/etc/wireguard/wg4.privatekey";
postUp = "resolvectl dns wg4 fdaa:1:3234::3; resolvectl domain wg4 ~internal";
preDown = "resolvectl revert wg4";
#dns = [
# "fdaa:1:3234::3, internal"
#];
peers = [
{
publicKey = "yUyg63j5+17YeJ7gRhxoQuF6rvdX0JF59M6skytJFTQ=";
allowedIPs = ["fdaa:1:3234::/48"];
#endpoint = "ams1.gateway.6pn.dev:51820";
endpoint = "176.58.93.206:51820";
persistentKeepalive = 15;
}
];
};
};
}

View file

@ -0,0 +1,52 @@
{
enable = false;
localControlSocketPath = "/run/unbound/unbound.ctl";
settings = {
server = {
cache-max-ttl = 14400;
cache-min-ttl = 1200;
aggressive-nsec = true;
prefetch = false;
rrset-roundrobin = true;
use-caps-for-id = true;
do-ip6 = false;
hide-identity = true;
hide-version = true;
do-not-query-localhost = false;
tls-cert-bundle = "/etc/ssl/certs/ca-certificates.crt";
};
# fritz.box stub zone
stub-zone = {
name = "fritz.box";
stub-addr = "192.168.13.1";
};
# DNS over DLS forwarding
forward-zone = {
name = ".";
forward-tls-upstream = true;
forward-addr = [
"5.1.66.255@853#dot.ffmuc.net"
"185.150.99.255@853#dot.ffmuc.net"
"89.233.43.71@853#unicast.censurfridns.dk"
"94.130.110.185@853#ns1.dnsprivacy.at"
"2001:678:e68:f000::@853#dot.ffmuc.net"
"2001:678:ed0:f000::@853#dot.ffmuc.net"
"2a01:3a0:53:53::0@853#unicast.censurfridns.dk"
"2a01:4f8:c0c:3c03::2@853#ns1.dnsprivacy.at"
"2a01:4f8:c0c:3bfc::2@853#ns2.dnsprivacy.at"
"2001:610:1:40ba:145:100:185:15@853#dnsovertls.sinodun.com"
"2001:610:1:40ba:145:100:185:16@853#dnsovertls1.sinodun.com"
"2a04:b900:0:100::38@853#getdnsapi.net"
"145.100.185.15@853#dnsovertls.sinodun.com"
"145.100.185.16@853#dnsovertls1.sinodun.com"
"185.49.141.37@853#getdnsapi.net"
];
};
};
}

100
hosts/fae.nix Normal file
View file

@ -0,0 +1,100 @@
{
config,
lib,
pkgs,
profiles,
...
}: {
imports = [
# profiles.networking
#profiles.core
"${
fetchTarball {
url = "https://github.com/NixOS/nixos-hardware/archive/8f1bf828d8606fe38a02df312cf14546ae200a72.tar.gz";
sha256 = "11milap153g3f63fcrcv4777vd64f7wlfkk9p3kpxi6dqd2sxvh4";
}
}/raspberry-pi/4"
profiles.users.root # make sure to configure ssh keys
profiles.users.pub-solar
profiles.base-user
profiles.pub-solar-iso
];
config = {
pub-solar.core.iso-options.enable = true;
fileSystems = {
"/" = {
device = "/dev/disk/by-label/NIXOS_SD";
fsType = "ext4";
options = ["noatime"];
};
};
environment.systemPackages = with pkgs; [
(kodi-gbm.withPackages (p: with p; [jellyfin netflix youtube]))
];
services.openssh.enable = true;
networking.firewall = {
allowedTCPPorts = [8080];
allowedUDPPorts = [8080];
};
security.sudo.extraConfig = lib.mkAfter ''
%wheel ALL=(ALL) NOPASSWD:ALL
'';
nix = {
autoOptimiseStore = true;
gc.automatic = true;
optimise.automatic = true;
useSandbox = true;
allowedUsers = ["@wheel"];
trustedUsers = ["root" "@wheel"];
extraOptions = ''
min-free = 536870912
keep-outputs = true
keep-derivations = true
fallback = true
'';
};
# Enable GPU acceleration
hardware.raspberry-pi."4".fkms-3d.enable = true;
# Define a user account for kodi
users.extraUsers.kodi.isNormalUser = true;
services.xserver = {
enable = true;
desktopManager.kodi.enable = true;
desktopManager.kodi.package = pkgs.kodi-gbm;
displayManager = {
autoLogin.enable = true;
autoLogin.user = "kodi";
};
};
hardware.pulseaudio.enable = true;
# custom raspi boot loader is already present
boot.loader.systemd-boot.enable = lib.mkForce false;
boot.kernelPackages = lib.mkForce pkgs.linuxPackages_rpi4;
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "21.05"; # Did you read the comment?
};
}

5
hosts/powder/default.nix Normal file
View file

@ -0,0 +1,5 @@
{...}: {
imports = [
./powder.nix
];
}

View file

@ -0,0 +1,43 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{
config,
lib,
pkgs,
modulesPath,
...
}: {
imports = [];
boot.initrd.availableKernelModules = ["ahci" "virtio_pci" "xhci_pci" "sr_mod" "virtio_blk"];
boot.initrd.kernelModules = [];
boot.kernelModules = [];
boot.extraModulePackages = [];
fileSystems."/" = {
device = "/dev/disk/by-label/nixos";
autoResize = true;
fsType = "ext4";
};
fileSystems."/boot" = {
device = "/dev/disk/by-label/boot";
fsType = "vfat";
};
fileSystems."/data" = {
device = "/dev/disk/by-label/ephemeral0";
fsType = "ext4";
options = [
"defaults"
"nofail"
];
};
swapDevices = [];
networking.useDHCP = lib.mkDefault false;
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}

88
hosts/powder/powder.nix Normal file
View file

@ -0,0 +1,88 @@
{
config,
inputs,
lib,
pkgs,
profiles,
...
}: {
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
profiles.users.root # make sure to configure ssh keys
profiles.users.pub-solar
profiles.base-user
];
config = {
pub-solar.core.iso-options.enable = true;
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
# Force getting the hostname from cloud-init
networking.hostName = lib.mkDefault "";
# Set your time zone.
# time.timeZone = "Europe/Amsterdam";
# Select internationalisation properties.
console = {
font = "Lat2-Terminus16";
keyMap = "us";
};
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
git
vim
wget
caddy
# triton tools for retrieving metadata inside zones, e.g. mdata-get
inputs.triton-vmtools
];
# Some programs need SUID wrappers, can be configured further or are
# started in user sessions.
# programs.mtr.enable = true;
# programs.gnupg.agent = {
# enable = true;
# enableSSHSupport = true;
# };
# List services that you want to enable:
services.cloud-init.enable = true;
services.cloud-init.ext4.enable = true;
services.cloud-init.network.enable = true;
# use the default NixOS cloud-init config, but add some SmartOS customization to it
environment.etc."cloud/cloud.cfg.d/90_smartos.cfg".text = ''
datasource_list: [ SmartOS ]
# Do not create the centos/ubuntu/debian user
users: [ ]
# mount second disk with label ephemeral0, gets formated by cloud-init
# this will fail to get added to /etc/fstab as it's read-only, but should
# mount at boot anyway
mounts:
- [ vdb, /data, auto, "defaults,nofail" ]
'';
# Enable the OpenSSH daemon.
services.openssh.enable = true;
# Triton manages firewall rules via the triton fwrule subcommand
networking.firewall.enable = false;
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "22.05"; # Did you read the comment?
};
}

View file

@ -0,0 +1,6 @@
# Autostart applications
#
# Example:
# exec swayidle
exec qMasterPassword

View file

@ -0,0 +1,2 @@
# switch keyboard input language
bindsym $mod+tab exec swaymsg input "1118:1896:Microsoft_Microsoft___SiderWinderTM_X4_Keyboard_Consumer_Control" xkb_switch_layout next

View file

@ -0,0 +1,33 @@
### Input configuration
#
# You can get the names of your inputs by running: swaymsg -t get_inputs
# Read `man 5 sway-input` for more information about this section.
input "type:keyboard" {
xkb_layout us(intl),de
xkb_options ctrl:nocaps
}
input "type:touchpad" {
natural_scroll enabled
}
# Touchpad controls
#bindsym XF86TouchpadToggle exec $HOME/Workspace/ben/toggletouchpad.sh # toggle touchpad
# Screen brightness controls
bindsym XF86MonBrightnessUp exec "brightnessctl -d intel_backlight set +10%"
bindsym XF86MonBrightnessDown exec "brightnessctl -d intel_backlight set 10%-"
# Keyboard backlight brightness controls
bindsym XF86KbdBrightnessDown exec "brightnessctl -d smc::kbd_backlight set 10%-"
bindsym XF86KbdBrightnessUp exec "brightnessctl -d smc::kbd_backlight set +10%"
# Pulse Audio controls
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5%; exec pactl set-sink-mute @DEFAULT_SINK@ 0 #increase sound volume
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5%; exec pactl set-sink-mute @DEFAULT_SINK@ 0 #decrease sound volume
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle # mute sound
# Media player controls
bindsym XF86AudioPlay exec "playerctl play-pause; notify-send 'Play/Pause'"
bindsym XF86AudioNext exec "playerctl next; notify-send 'Next'"
bindsym XF86AudioPrev exec "playerctl previous; notify-send 'Prev.'"

View file

@ -0,0 +1,33 @@
### Output configuration
#
# Example configuration:
#
# output HDMI-A-1 resolution 1920x1080 position 1920,0
#
# You can get the names of your outputs by running: swaymsg -t get_outputs
set $main_screen HDMI-A-1
output $main_screen scale 2
#bindswitch lid:on output $main_screen disable
#bindswitch lid:off output $main_screen enable
bindsym $mod+Shift+x output $main_screen toggle
# TODO when using more monitors
## Manual management of external displays
# Set the shortcuts and what they do
#set $mode_display HDMI (i) top, (j) left, (k) bottom, (l) right, (o) off
#mode "$mode_display" {
# bindsym i output HDMI-A-1 enable; output HDMI-A-1 pos 0 0 bg ~/Pictures/wallpapers/active.png fill; output eDP-1 pos 0 1080, mode "default"
# bindsym j output HDMI-A-1 enable; output HDMI-A-1 pos 0 0 bg ~/Pictures/wallpapers/active.png fill; output eDP-1 pos 1920 0, mode "default"
# bindsym k output HDMI-A-1 enable; output HDMI-A-1 pos 0 900 bg ~/Pictures/wallpapers/active.png fill; output eDP-1 pos 0 0, mode "default"
# bindsym l output HDMI-A-1 enable; output HDMI-A-1 pos 1440 0 bg ~/Pictures/wallpapers/active.png fill; output eDP-1 pos 0 0, mode "default"
# bindsym o output HDMI-A-1 disable, mode "default"
#
# # back to normal: Enter or Escape
# bindsym Return mode "default"
# bindsym Escape mode "default"
#}
## Declare here the shortcut to bring the display selection menu
#bindsym $mod+x mode "$mode_display"

View file

@ -0,0 +1,7 @@
{suites, ...}: {
imports =
[
./ryzensun.nix
]
++ suites.ryzensun;
}

View file

@ -0,0 +1,33 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{
config,
lib,
pkgs,
modulesPath,
...
}: {
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "usbhid" "sd_mod" "sr_mod"];
boot.initrd.kernelModules = [];
boot.kernelModules = ["kvm-amd"];
boot.extraModulePackages = [];
fileSystems."/" = {
device = "/dev/disk/by-uuid/bad2e49e-c8e7-4516-a6f8-77db999d12b0";
fsType = "ext4";
};
boot.initrd.luks.devices."cryptroot".device = "/dev/disk/by-uuid/ef6c5bb0-0bcf-4af4-bbc9-02c849999e54";
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/2C62-C8B5";
fsType = "vfat";
};
swapDevices = [];
}

View file

@ -0,0 +1,84 @@
{
hosts = {
"10.0.0.42" = ["nomad.service.consul" "nomad.service.cgn-1.consul"];
"10.0.0.66" = ["consul.service.cgn-1.consul"];
"10.0.1.9" = ["consul.service.lev-1.consul"];
"10.0.0.70" = ["vault.service.consul" "vault.service.cgn-1.consul"];
"10.0.0.200" = ["headnode.cgn-1"];
"10.0.0.201" = ["cn01.cgn-1"];
"10.0.0.202" = ["cn02.cgn-1"];
"10.0.0.205" = ["cn05.cgn-1"];
"10.0.0.206" = ["cn06.cgn-1"];
"10.0.0.207" = ["cn07.cgn-1"];
"10.0.0.208" = ["cn08.cgn-1"];
"10.0.1.200" = ["headnode.lev-1"];
"10.0.1.201" = ["cn01.lev-1"];
"10.0.1.202" = ["cn02.lev-1"];
"10.0.1.203" = ["cn03.lev-1"];
"10.0.1.204" = ["cn04.lev-1"];
"10.0.1.205" = ["cn05.lev-1"];
"10.0.1.206" = ["cn00.lev-1"];
"10.0.1.207" = ["cn06.lev-1"];
"10.0.1.208" = ["cn07.lev-1"];
};
wireguard.enable = true;
wg-quick.interfaces = {
wg0 = {
address = ["10.8.8.7/32"];
privateKeyFile = "/etc/wireguard/wg0.privatekey";
peers = [
{
publicKey = "l0DJLicCrcrixNP6zAWTXNSEaNM2jML253BXEZ1KpiU=";
allowedIPs = ["10.8.8.16/32" "10.0.0.0/24" "10.88.88.0/24"];
endpoint = "85.88.23.16:51820";
persistentKeepalive = 25;
}
];
};
wg1 = {
address = ["10.11.11.6/32"];
privateKeyFile = "/etc/wireguard/wg1.privatekey";
mtu = 1300;
peers = [
{
publicKey = "7RRgfZSneqAtAHBeI6+aaYLqz9e1jikg/lIK8mhW928=";
presharedKeyFile = "/etc/wireguard/wg1.presharedkey";
allowedIPs = ["10.11.11.0/24" "192.168.1.0/24" "10.0.1.0/24"];
endpoint = "80.71.153.1:51820";
#persistentKeepalive = 16;
}
];
};
#wg1 = {
# address = [ "10.13.0.1/32" ];
# privateKeyFile = "/etc/wireguard/wg1.privatekey";
# mtu = 1412;
# peers = [
# {
# publicKey = "XS3TTIMU7Jp3JJANBpE14RsVDJk6/VUvZgjQgQP8kAs=";
# allowedIPs = [ "10.13.0.100/32" "192.168.188.0/24" ];
# endpoint = "[2a00:6020:48ad:dd00:dea6:32ff:fe85:3306]:51820";
# persistentKeepalive = 25;
# }
# ];
#};
#wg2 = {
# address = [ "10.6.6.4/32" ];
# privateKeyFile = "/etc/wireguard/wg2.privatekey";
# peers = [
# {
# publicKey = "nYMmaCIW8lZ7SokivN8HXxYDch+SS1G7ab1SC9meDAw=";
# presharedKeyFile = "/etc/wireguard/wg2.presharedkey";
# allowedIPs = [ "10.6.6.1/32" "10.1.1.0/24" ];
# endpoint = "85.88.23.127:51820";
# persistentKeepalive = 16;
# }
# ];
#};
};
}

View file

@ -0,0 +1,66 @@
{
config,
pkgs,
lib,
self,
...
}:
with lib; let
psCfg = config.pub-solar;
xdg = config.home-manager.users."${psCfg.user.name}".xdg;
in {
imports = [
./hardware-configuration.nix
];
config = {
age.secrets.environment-secrets = {
file = "${self}/secrets/environment-secrets.age";
mode = "700";
owner = "teutat3s";
};
age.secrets.docker-ci-runner-secrets = {
file = "${self}/secrets/docker-ci-runner-secrets.age";
mode = "700";
owner = "999";
};
pub-solar.nextcloud.enable = mkForce false;
pub-solar.docker.enable = true;
pub-solar.virtualisation.enable = true;
pub-solar.docker-ci-runner = {
enable = false;
runnerEnvironment = {
DRONE_RUNNER_CAPACITY = "1";
DRONE_RUNNER_LABELS = "hosttype:baremetal";
};
runnerVarsFile = config.age.secrets.docker-ci-runner-secrets.path;
};
pub-solar.audio.mopidy.enable = mkForce false;
networking = import ./networking.nix;
# Increase console font size for HiDPI display
console = {
earlySetup = true;
font = lib.mkForce "ter-i32b";
packages = [pkgs.terminus_font];
};
home-manager.users."${psCfg.user.name}".xdg.configFile = mkIf psCfg.sway.enable {
"sway/config.d/10-custom-keybindings.conf".source = ./.config/sway/config.d/custom-keybindings.conf;
"sway/config.d/autostart.conf".source = ./.config/sway/config.d/autostart.conf;
"sway/config.d/input-defaults.conf".source = ./.config/sway/config.d/input-defaults.conf;
"sway/config.d/screens.conf".source = ./.config/sway/config.d/screens.conf;
};
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "21.05"; # Did you read the comment?
};
}

View file

@ -35,8 +35,8 @@ in {
loader.systemd-boot.enable = lib.mkDefault true;
# Use latest LTS linux kernel by default
kernelPackages = lib.mkDefault pkgs.linuxPackages_6_1;
# Use latest linux kernel by default
kernelPackages = lib.mkDefault pkgs.linuxPackages_6_5;
# Support ntfs drives
supportedFilesystems = ["ntfs"];

View file

@ -36,7 +36,8 @@ in {
networking.networkmanager = {
# Enable networkmanager. REMEMBER to add yourself to group in order to use nm related stuff.
enable = true;
wifi.backend = "iwd";
# not as stable as wpa_supplicant yet, also more trouble with 5 GHz networks
#wifi.backend = "iwd";
};
networking.firewall.enable = true;
@ -56,12 +57,12 @@ in {
# Caddy reverse proxy for local services like cups
services.caddy = {
enable = lib.mkDefault cfg.enableCaddy;
globalConfig = lib.mkDefault ''
enable = lib.mkForce cfg.enableCaddy;
globalConfig = lib.mkForce ''
default_bind 127.0.0.1
auto_https off
'';
extraConfig = lib.mkDefault (concatStringsSep "\n" [
extraConfig = lib.mkForce (concatStringsSep "\n" [
(lib.optionalString
config.pub-solar.printing.enable
''
@ -76,6 +77,9 @@ in {
''
help.local:80 {
root * ${pkgs.psos-docs}/lib/html
# Caddy builds the etag with only the file size & latest modified
# date, which is always 1970-01-01 in the Nix store
header -ETag
file_server
}
'')

View file

@ -16,6 +16,8 @@ in {
home-manager = with pkgs;
pkgs.lib.setAttrByPath ["users" psCfg.user.name] {
home.packages = [
fwknop
croc
drone-cli
nmap
pgcli
@ -24,6 +26,8 @@ in {
restic
shellcheck
terraform
flyctl
tea
];
};
};

View file

@ -14,6 +14,7 @@ in {
config = mkIf cfg.enable {
virtualisation.docker.enable = true;
virtualisation.docker.package = pkgs.docker_24;
users.users = with pkgs;
pkgs.lib.setAttrByPath [psCfg.user.name] {
extraGroups = ["docker"];

View file

@ -72,6 +72,8 @@ in {
style = "gtk2";
};
gtk.iconCache.enable = true;
# Required for running Gnome apps outside the Gnome DE, see https://nixos.wiki/wiki/GNOME#Running_GNOME_programs_outside_of_GNOME
programs.dconf.enable = true;
services.udev.packages = with pkgs; [gnome3.gnome-settings-daemon];

View file

@ -22,8 +22,13 @@ in {
services.printing.listenAddresses = ["localhost:631"];
services.printing.allowFrom = ["all"];
services.printing.defaultShared = false;
services.printing.drivers = [
pkgs.gutenprint
services.printing.drivers = with pkgs; [
gutenprint
brgenml1lpr
brgenml1cupswrapper
brlaser
cnijfilter2
cups-brother-hl3140cw
];
hardware.sane = {
enable = true;

View file

@ -16,6 +16,7 @@ in {
home-manager = with pkgs;
pkgs.lib.setAttrByPath ["users" psCfg.user.name] {
home.packages = [
gurk-rs
signal-desktop
tdesktop
element-desktop

View file

@ -2,7 +2,7 @@
bindsym $mod+z exec --no-startup-id morc_menu
# switch keyboard input language
bindsym $mod+tab exec toggle-kbd-layout
#bindsym $mod+tab exec toggle-kbd-layout
################################################################################################
## sound-section - ##
@ -21,6 +21,10 @@ bindsym $mod+F2 exec firefox
bindsym $mod+F4 exec nautilus -w
bindsym $mod+Shift+F4 exec signal-desktop --use-tray-icon
# Notifications with swaynotificationcenter
# Toggle control center
bindsym $mod+Shift+n exec swaync-client -t -sw
bindsym $mod+Shift+m exec qMasterPassword
# Screenshots and screen recordings

View file

@ -64,6 +64,7 @@ in {
kanshi
mako
slurp
swaynotificationcenter
swayidle
swaylock
swaybg
@ -89,7 +90,7 @@ in {
programs.waybar.enable = true;
#programs.waybar.systemd.enable = true;
systemd.user.services.mako = import ./mako.service.nix {inherit pkgs psCfg;};
systemd.user.services.swaynotificationcenter = import ./swaynotificationcenter.service.nix pkgs;
systemd.user.services.sway = import ./sway.service.nix {inherit pkgs psCfg;};
systemd.user.services.swayidle = import ./swayidle.service.nix {inherit pkgs psCfg;};
systemd.user.services.xsettingsd = import ./xsettingsd.service.nix {inherit pkgs psCfg;};

View file

@ -1,18 +0,0 @@
{pkgs, ...}: {
Unit = {
Description = "Lightweight Wayland notification daemon";
Documentation = ["man:mako(1)"];
BindsTo = ["sway-session.target"];
After = ["sway-session.target"];
ConditionEnvironment = ["WAYLAND_DISPLAY"];
};
Service = {
Type = "dbus";
BusName = "org.freedesktop.Notifications";
ExecStart = "${pkgs.mako}/bin/mako";
ExecReload = "${pkgs.mako}/bin/makoctl reload";
};
Install = {
WantedBy = ["sway-session.target"];
};
}

View file

@ -14,7 +14,7 @@
Type = "simple";
Environment = "PATH=/run/current-system/sw/bin:${pkgs.sway}/bin:${pkgs.swaylock-bg}/bin:${pkgs.swayidle}/bin";
ExecStart =
'' swayidle -w \
'' ${pkgs.swayidle}/bin/swayidle -w \
after-resume 'swaymsg "output * dpms on"' \
before-sleep 'swaylock-bg' ''
+ (

View file

@ -0,0 +1,21 @@
pkgs: {
Unit = {
Description = "Swaync notification daemon";
Documentation = "https://github.com/ErikReider/SwayNotificationCenter";
BindsTo = ["sway-session.target"];
After = ["sway-session.target"];
Requisite = ["graphical-session.target"];
# ConditionEnvironment requires systemd v247 to work correctly
ConditionEnvironment = ["WAYLAND_DISPLAY"];
};
Service = {
Type = "dbus";
BusName = "org.freedesktop.Notifications";
ExecStart = "${pkgs.swaynotificationcenter}/bin/swaync";
ExecReload = "${pkgs.swaynotificationcenter}/bin/swaync-client --reload-config ; ${pkgs.swaynotificationcenter}/bin/swaync-client --reload-css";
Restart = "on-failure";
};
Install = {
WantedBy = ["sway-session.target"];
};
}

View file

@ -10,7 +10,7 @@
Service = {
Type = "dbus";
Environment = "PATH=${pkgs.bash}/bin:${pkgs.pavucontrol}/bin";
Environment = "PATH=${pkgs.bash}/bin:${pkgs.pavucontrol}/bin:${pkgs.swaynotificationcenter}/bin";
BusName = "fr.arouillard.waybar";
ExecStart = "${pkgs.waybar}/bin/waybar";
};

View file

@ -85,6 +85,7 @@ in {
fi
# end of .bashrc
# Somehow we need to ensure starship starts later than ble.sh
# (possible packaging issue?)
# https://github.com/akinomyoga/ble.sh/issues/333

View file

@ -47,6 +47,7 @@ in {
gh
glow
jump
mdbook-multilang
(nnn.overrideAttrs (o: {
patches =
(o.patches or [])
@ -54,9 +55,12 @@ in {
./nnn/0001-feat-use-wasd-keybindings-for-jkli.patch
];
}))
notes
powerline
python-wiki-fetch
silver-searcher
watson
tree
];
programs.bash = import ./bash {

View file

@ -171,6 +171,9 @@ in {
emmet-vim
# Caddyfile syntax support for Vim
vim-caddyfile-nvfetcher
# Fix TOFU hashes when writing nix derivations without leaving neovim
vim-nixhash
];
extraConfig = builtins.concatStringsSep "\n" [

View file

@ -146,6 +146,7 @@ lua <<EOF
['settings'] = {
['yaml'] = {
['schemas'] = {
["https://raw.githubusercontent.com/instrumenta/kubernetes-json-schema/master/v1.18.1-standalone-strict/all.json"] = ".sensu/*.{yml,yaml}",
['https://json.schemastore.org/github-workflow'] = '.github/workflows/*.{yml,yaml}',
['https://json.schemastore.org/github-action'] = '.github/action.{yml,yaml}',
['https://json.schemastore.org/drone'] = '*.drone.{yml,yaml}',

View file

@ -1,18 +1,18 @@
let g:base16_shell_path = $XDG_DATA_HOME . "/scripts/base16.sh"
let base16colorspace = 256
"let g:base16_shell_path = $XDG_DATA_HOME . "/scripts/base16.sh"
"let base16colorspace = 256
set termguicolors
let g:sonokai_style = 'shusia'
let g:sonokai_enable_italic = 1
let g:sonokai_disable_italic_comment = 1
let g:sonokai_transparent_background = 1
colorscheme sonokai
"let g:sonokai_style = 'shusia'
"let g:sonokai_enable_italic = 1
"let g:sonokai_disable_italic_comment = 1
"let g:sonokai_transparent_background = 1
set background=dark
colorscheme apprentice
let g:airline#extensions#tabline#enabled = 1 " Enable the list of buffers
let g:airline#extensions#tabline#fnamemod = ':t' " Show just the filename
let g:airline#extensions#tabline#formatter = 'unique_tail_improved'
let g:airline_powerline_fonts = 1 " Use powerline fonts
let g:airline_theme = 'sonokai'
let g:airline_theme = 'apprentice'
" Customize fzf colors to match your color scheme
" - fzf#wrap translates this to a set of `--color` options

View file

@ -38,6 +38,7 @@ in {
libvirt
libvirt-glib
qemu
vagrant
virt-manager
python3Packages.libvirt
gvfs
@ -57,14 +58,14 @@ in {
systemd.tmpfiles.rules = [
"f /dev/shm/looking-glass 0660 ${psCfg.user.name} kvm"
];
networking.bridges.virbr1.interfaces = [];
networking.interfaces.virbr1 = {
ipv4.addresses = [
{
address = "192.168.123.1";
prefixLength = 24;
}
];
};
#networking.bridges.virbr1.interfaces = [];
#networking.interfaces.virbr1 = {
# ipv4.addresses = [
# {
# address = "192.168.123.1";
# prefixLength = 24;
# }
# ];
#};
};
}

View file

@ -0,0 +1,5 @@
final: prev: {
element-desktop = prev.element-desktop.override {
electron = prev.electron_26;
};
}

View file

@ -0,0 +1,20 @@
channels: final: prev: {
mdbook-multilang = channels.nixos-22-05.mdbook.overrideAttrs (oldAttrs: rec {
pname = "mdbook";
version = "pr1306";
src = prev.fetchFromGitHub {
owner = "Ruin0x11";
repo = "mdBook";
rev = "9d8147c52dd9d50047ba5b29e4af99f92577806e";
sha256 = "sha256-gJnQKHssO2ChiT4d037Lncd7hiOa5uh756p8TzPzbgQ=";
};
cargoDeps = oldAttrs.cargoDeps.overrideAttrs (prev.lib.const {
name = "${pname}-vendor.tar.gz";
inherit src;
outputHash = "sha256-QCEyl5FZqECYYb5eRm8mn+R6owt+CLQwCq/AMMPygE0=";
});
});
}

View file

@ -3,10 +3,29 @@ channels: final: prev: {
inherit
(channels.latest)
_1password
_1password-gui
nixd
thunderbird
docker_24
flyctl
slack
;
inherit
(channels.fork)
nvfetcher
;
inherit
(channels.master)
;
inherit
(channels.nixos-22-05)
terraform
;
haskellPackages =
prev.haskellPackages.override
(old: {
@ -22,4 +41,7 @@ channels: final: prev: {
});
vimPlugins = prev.vimPlugins // {inherit (channels.latest.vimPlugins) nvim-lspconfig;};
# Example to override node package
# nodePackages = prev.nodePackages // { inherit (channels.latest.nodePackages) manta; };
}

View file

@ -0,0 +1,13 @@
diff --git a/lib/prr.js b/lib/prr.js
index f654142..c1b0e41 100755
--- a/lib/prr.js
+++ b/lib/prr.js
@@ -133,7 +133,7 @@ function determineGitRepo(args, cb) {
return;
}
- var url = stdout.replace(/\n/, '');
+ var url = stdout.replace(/\/?\n/, '');
var gitUser = '';
var gitRepoName = '';

32
overlays/prr.nix Normal file
View file

@ -0,0 +1,32 @@
final: prev: {
prr = prev.buildNpmPackage {
pname = "prr";
version = "unstable-2022-06-05";
src = prev.fetchFromGitHub {
owner = "TritonDataCenter";
repo = "prr";
rev = "bfbce27d955b6b75729ef647cec9f81dc04fea3c";
hash = "sha256-Z5sKddpHmSJxzacMOuDOxMxBpjApS7FWCWRelHMi/4g=";
};
npmDepsHash = "sha256-wVh3WCuUn9l/gILx25tgxTwtwH0Q19lpXTU8gOHWsCg=";
patches = [./prr-remote-origin-trailing-slash.patch];
dontBuild = true;
installPhase = ''
npmInstallHook
mkdir -p $out/bin
ln -s $out/lib/node_modules/prr/bin/prr $out/bin/prr
'';
meta = with prev.lib; {
homepage = "https://github.com/TritonDataCenter/prr";
description = "Tooling to assist with GitHub pull requests";
platforms = ["x86_64-linux"];
maintainers = with maintainers; [teutat3s];
};
};
}

25
overlays/python-wik.nix Normal file
View file

@ -0,0 +1,25 @@
final: prev:
with prev.python3Packages; {
python-wiki-fetch = buildPythonPackage rec {
inherit (prev.sources.wik) pname version src;
checkPhase = ''
cd test
${python.interpreter} test.py
'';
format = "flit";
propagatedBuildInputs = [
beautifulsoup4
requests
];
meta = with prev.lib; {
description = "wik is a tool to view wikipedia pages from your terminal";
homepage = "https://github.com/yashsinghcodes/wik";
license = licenses.mit;
maintainers = with maintainers; [teutat3s];
};
};
}

View file

@ -0,0 +1,19 @@
final: prev: {
signal-desktop = prev.signal-desktop.overrideAttrs (oldAttrs: rec {
inherit (oldAttrs) pname;
dir = "Signal";
preFixup = ''
gappsWrapperArgs+=(
--prefix LD_LIBRARY_PATH : "${prev.lib.makeLibraryPath [prev.stdenv.cc.cc]}"
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}"
--suffix PATH : ${prev.lib.makeBinPath [prev.xdg-utils]}
)
# Fix the desktop link
substituteInPlace $out/share/applications/${pname}.desktop \
--replace "/opt/${dir}/${pname}" $out/bin/${pname}
autoPatchelf --no-recurse -- "$out/lib/${dir}/"
patchelf --add-needed ${prev.libpulseaudio}/lib/libpulse.so "$out/lib/${dir}/resources/app.asar.unpacked/node_modules/@signalapp/ringrtc/build/linux/libringrtc-x64.node"
'';
});
}

View file

@ -111,4 +111,16 @@
};
date = "2022-07-03";
};
wik = {
pname = "wik";
version = "37207e7cf2955c494a55701cb81d388cc349b6ea";
src = fetchFromGitHub {
owner = "yashsinghcodes";
repo = "wik";
rev = "37207e7cf2955c494a55701cb81d388cc349b6ea";
fetchSubmodules = false;
sha256 = "sha256-oSHL3jYFuvJY1W7N9/CvFClFakz9f35RHg77AbMRfsI=";
};
date = "2023-03-16";
};
}

24
pkgs/cockroach.nix Normal file
View file

@ -0,0 +1,24 @@
self:
with self;
stdenv.mkDerivation rec {
pname = "cockroachdb";
version = "22.2.7";
src = fetchurl {
url = "https://binaries.cockroachdb.com/cockroach-v${version}.linux-amd64.tgz";
sha256 = "sha256-do426BaZdPqXcc/aQnRAgVTBCJ/OiNbSuCpwVTM2m0I=";
};
buildInputs = [stdenv.cc.cc];
nativeBuildInputs = [autoPatchelfHook];
installPhase = ''
install -D -m755 cockroach $out/bin/cockroach
cp -r lib $out/lib
'';
meta = with lib; {
homepage = "https://www.cockroachlabs.com";
description = "A scalable, survivable, strongly-consistent SQL database";
platforms = ["x86_64-linux"];
maintainers = with maintainers; [mic92];
};
}

View file

@ -3,11 +3,13 @@ with final; {
# keep sources this first
sources = prev.callPackage (import ./_sources/generated.nix) {};
# then, call packages with `final.callPackage`
gpu-switch = writeShellScriptBin "gpu-switch" (import ./gpu-switch.nix final);
import-gtk-settings = writeShellScriptBin "import-gtk-settings" (import ./import-gtk-settings.nix final);
lgcl = writeShellScriptBin "lgcl" (import ./lgcl.nix final);
mailto-mutt = writeShellScriptBin "mailto-mutt" (import ./mailto-mutt.nix final);
mopidy-jellyfin = import ./mopidy-jellyfin.nix final;
mu = writeShellScriptBin "mu" (import ./mu.nix final);
notes = writeShellScriptBin "notes" (import ./notes.nix final);
psos = writeShellScriptBin "psos" (import ./psos.nix final);
psos-docs = import ./psos-docs.nix final;
s = writeShellScriptBin "s" (import ./s.nix final);
@ -19,6 +21,7 @@ with final; {
wcwd = writeShellScriptBin "wcwd" (import ./wcwd.nix final);
drone-docker-runner = writeShellScriptBin "drone-docker-runner" (import ./drone-docker-runner.nix final);
record-screen = writeShellScriptBin "record-screen" (import ./record-screen.nix final);
cockroach-bin = import ./cockroach.nix final;
# ps-fixes
}

70
pkgs/gpu-switch.nix Normal file
View file

@ -0,0 +1,70 @@
self:
with self; ''
# Copyright (c) 2014-2015 Bruno Bierbaumer, Andreas Heider
readonly sysfs_efi_vars='/sys/firmware/efi/efivars'
readonly efi_gpu='gpu-power-prefs-fa4ce28d-b62f-4c99-9cc3-6815686e30f9'
usage(){
cat <<EOF
Usage:
$(basename $0) --integrated # Switch to the integrated GPU
$(basename $0) --dedicated # Switch to the dedicated GPU
$(basename $0) --help # Show this message
Switches between the integrated and dedicated graphics cards of a dual-GPU
MacBook Pro for the next reboot.
Arguments:
-i, --integrated
-d, --dedicated
-h, --help
Tested hardware:
MacBook Pro 5,2 (Early 2009, Non-Retina)
MacBook Pro 5,3 (Mid 2009, Non-Retina)
MacBook Pro 8,2 (Late 2011, Non-Retina)
MacBook Pro 9,1 (Mid 2012, Non-Retina)
MacBook Pro 10,1 (Mid 2012, Retina)
MacBook Pro 11,3 (Late 2013, Retina)
MacBook Pro 11,5 (Mid 2015, Retina)
EOF
}
switch_gpu(){
if ! [ -d /sys/firmware/efi ]; then
printf "Fatal: $(basename $0) has to be run in EFI mode.\n" 1>&2
exit 1
fi
if ! mount | grep -q $sysfs_efi_vars; then
if ! mount -t efivarfs none $sysfs_efi_vars; then
printf "Fatal: Couldn't mount ''${sysfs_efi_vars}.\n" 1>&2
exit 1
fi
fi
chattr -i "''${sysfs_efi_vars}/''${efi_gpu}" 2> /dev/null
printf "\x07\x00\x00\x00\x''${1}\x00\x00\x00" > "''${sysfs_efi_vars}/''${efi_gpu}"
}
if [ $# -ne 1 ]; then
usage 1>&2
exit 1
fi
case "$1" in
-i|--integrated)
switch_gpu 1
;;
-d|--dedicated)
switch_gpu 0
;;
-h|--help)
usage
;;
*)
usage 1>&2
exit 1
;;
esac
''

20
pkgs/notes.nix Normal file
View file

@ -0,0 +1,20 @@
self:
with self; ''
#
# ack recursively through notes
#
# uses ack: https://beyondgrep.com
NOTESDIR=~/pub.solar-nc/Notes
ACK_PREFIX="ack --files-with-matches"
cd $NOTESDIR || exit
file="$(
FZF_DEFAULT_COMMAND="$ACK_PREFIX '$1'" \
fzf --sort --preview="[[ ! -z {} ]] && ack --colour --context 5 {q} {}" \
--phony -q "$1" \
--bind "change:reload:$ACK_PREFIX {q}" \
--preview-window="70%:wrap"
)" &&
echo "opening $file" &&
bat --theme=TwoDark "$file"
''

View file

@ -3,6 +3,10 @@
src.git = "https://github.com/mlvzk/manix"
fetch.github = "mlvzk/manix"
[wik]
src.git = "https://github.com/yashsinghcodes/wik"
fetch.github = "yashsinghcodes/wik"
[rnix-lsp-nvfetcher]
src.git = "https://github.com/nix-community/rnix-lsp"
fetch.github = "nix-community/rnix-lsp"

View file

@ -0,0 +1,12 @@
{
"positionX": "right",
"positionY": "top",
"timeout": 10,
"timeout-low": 5,
"timeout-critical": 0,
"notification-window-width": 500,
"keyboard-shortcuts": true,
"image-visibility": "always",
"transition-time": 200,
"hide-on-clear": false
}

View file

@ -0,0 +1,149 @@
/*
* vim: ft=less
*/
@define-color border-color rgb(7, 7, 7);
@define-color bg rgb(58, 58, 58);
@define-color bg-hover rgb(68, 68, 68);
@define-color bg-focus rgba(68, 68, 68, 0.6);
@define-color bg-selected rgb(0, 128, 255);
.notification-row {
outline: none;
}
.notification-row:focus,
.notification-row:hover {
background: @bg-focus;
}
.notification {
border-radius: 10px;
margin: 6px 12px;
box-shadow: 0px 2px 4px 2px rgba(0, 0, 0, 0.3);
padding: 0;
}
.notification-content {
background: transparent;
padding: 6px;
border-radius: 10px;
}
.close-button {
background: black;
color: white;
text-shadow: none;
padding: 0 2px;
box-shadow: 0px 2px 4px 2px rgba(0, 0, 0, 0.3);
border-radius: 100%;
}
.close-button:hover {
background: rgb(30, 30, 30);
transition: all 0.15s ease-in-out;
}
.notification-default-action,
.notification-action {
padding: 4px;
margin: 0;
box-shadow: none;
background: @bg;
border: 1px solid @border-color;
}
.notification-default-action:hover,
.notification-action:hover {
background: @bg-hover;
}
.notification-default-action {
border-radius: 10px;
}
/* When alternative actions are visible */
.notification-default-action:not(:only-child) {
border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;
}
.notification-action {
border-radius: 0px;
border-top: none;
border-right: none;
}
/* add bottom border radius to eliminate clipping */
.notification-action:first-child {
border-bottom-left-radius: 10px;
}
.notification-action:last-child {
border-bottom-right-radius: 10px;
border-right: 1px solid @border-color;
}
.image {
}
.body-image {
margin-top: 6px;
background-color: white;
border-radius: 10px;
}
.summary {
color: white;
text-shadow: none;
}
.time {
color: white;
text-shadow: none;
}
.body {
background: transparent;
color: white;
text-shadow: none;
}
.top-action-title {
color: white;
text-shadow: none;
}
.control-center-clear-all {
color: white;
text-shadow: none;
background: @bg;
border: 1px solid @border-color;
box-shadow: none;
border-radius: 10px;
}
.control-center-clear-all:hover {
background: @bg-hover;
}
.control-center-dnd {
border-radius: 10px;
background: @bg;
border: 1px solid @border-color;
box-shadow: none;
}
.control-center-dnd:checked {
background: @bg-selected;
}
.control-center-dnd slider {
background: @bg-hover;
}
.control-center {
background: rgba(0, 0, 0, 0.7);
}
.control-center-list {
background: transparent;
}
.floating-notifications {
background: transparent;
}

View file

@ -4,8 +4,17 @@
"height": 26, // Waybar height
"modules-left": ["sway/workspaces", "sway/mode"],
//"modules-center": ["mpd"],
"modules-right": ["sway/language", "pulseaudio", "network", "idle_inhibitor", "battery", "clock", "tray"],
"modules-center": ["network"],
"modules-right": [
"sway/language",
"backlight",
"custom/notification",
"pulseaudio",
"idle_inhibitor",
"battery",
"clock",
"tray"
],
"sway/workspaces": {
"disable-scroll": true
},
@ -27,7 +36,8 @@
},
"clock": {
"tooltip-format": "<tt><small>{calendar}</small></tt>",
"format-alt": "{:%a %d. %h %H:%M}",
"format": "{:%H:%M} ",
"format-alt": "{:%a %d. %h %H:%M} ",
//"on-scroll": {
// "calendar": 1
//}
@ -42,12 +52,17 @@
"today": "<span color='#ff6699'><b><u>{}</u></b></span>"
},
},
"actions": {
"on-click-right": "mode",
"on-click-forward": "tz_up",
"on-click-backward": "tz_down",
"on-scroll-up": "shift_up",
"on-scroll-down": "shift_down"
}
},
"backlight": {
// "device": "acpi_video1",
"tooltip": true,
"tooltip-format": "Brightness: <big>{percent}%</big>",
"format": "<span font='10'>{icon}</span>",
"device": "acpi_video0",
"format": "<span font='10'> {percent}%</span> {icon}",
"format-icons": ["", ""]
},
"cpu": {
@ -57,7 +72,7 @@
"format": "{}% "
},
"idle_inhibitor": {
"format": "<span font='10'>{icon} </span>",
"format": "{icon} ",
"format-icons": {
"activated": "",
"deactivated": ""
@ -68,9 +83,9 @@
"states": {
"critical": 25
},
"full-at": 84,
"format": "<span font='10'>{icon}</span> {capacity}%",
"format-full": "<span font='10'>{icon}</span>",
//"full-at": 84,
"format": "{icon}<span font='10'> {capacity}%</span>",
"format-full": "{icon}",
"format-icons": ["", "", "", "", ""],
},
"network": {
@ -86,7 +101,7 @@
//\ue04f{volume}%
"pulseaudio": {
"tooltip": false,
"format": "{volume}% <span font='10'>{icon}</span>",
"format": "<span font='10'>{volume}%</span> {icon}",
"format-bluetooth": "{volume}% <span font='10'>{icon}</span>",
"format-muted": "",
"on-click": "pavucontrol",
@ -112,5 +127,21 @@
},
"tooltip-format": "MPD (connected)",
"tooltip-format-disconnected": "MPD (disconnected)"
}
},
"custom/notification": {
"tooltip": false,
"format": " {icon}",
"format-icons": {
"notification": "<span foreground='red'><sup></sup></span>",
"none": "",
"dnd-notification": "<span foreground='red'><sup></sup></span>",
"dnd-none": ""
},
"return-type": "json",
"exec-if": "which swaync-client",
"exec": "swaync-client -swb",
"on-click": "swaync-client -t -sw",
"on-click-right": "swaync-client -d -sw",
"escape": true
},
}

View file

@ -1,19 +1,18 @@
@import "./colorscheme.css";
* {
min-height: 0;
border: none;
}
window#waybar {
font-family: Hack, FontAwesome;
font-weight: 500;
font-size: 14px;
background: rgba(11, 12, 13, 0.90);
/*background: rgba(11, 12, 13, 0.90);*/
background-color: rgba(0, 0, 0, 0);
border-bottom: 1px solid rgba(0, 0, 2, 0.53);
color: @base04;
}
window#waybar.hidden {
opacity: 0.2;
}
#workspaces button {
font-size: 14px;
@ -23,7 +22,6 @@ window#waybar {
color: @base04;
}
#workspaces button.focused {
color: #f85e84;
color: @base07;
@ -53,26 +51,30 @@ window#waybar {
#battery.critical {
color: @base07;
}
#battery.charging {
color: @base0B;
}
#battery.full {
margin: 0px 0px 0px 0px;
}
#network {
border-top: 1px solid transparent;
color: rgba(255,255,255,0.3);
}
#network.disconnected {
margin: 0px 0px 0px 0px;
color: rgba(75, 81, 98, 0);
}
#pulseaudio.muted {
margin: 0px 0px 0px 0px;
color: rgba(75, 81, 98, 0);
}
#custom-notification {
font-family: "NotoSansMono Nerd Font";
}

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 513 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 513 KiB

After

Width:  |  Height:  |  Size: 168 KiB

View file

@ -62,6 +62,8 @@ in {
xdg.configFile."xsettingsd/xsettingsd.conf".source = ./.config/xsettingsd/xsettingsd.conf;
xdg.configFile."mako/config".source = ./.config/mako/config;
xdg.configFile."libinput-gestures.conf".source = ./.config/libinput-gestures.conf;
xdg.configFile."swaync/config.json".source = ./.config/swaync/config.json;
xdg.configFile."swaync/style.css".source = ./.config/swaync/style.css;
xdg.configFile."waybar/config".source = ./.config/waybar/config;
xdg.configFile."waybar/style.css".source = ./.config/waybar/style.css;
xdg.configFile."waybar/colorscheme.css".source = ./.config/waybar/colorscheme.css;

View file

@ -22,6 +22,6 @@
"x-scheme-handler/https" = ["firefox.desktop"];
"x-scheme-handler/mailto" = ["userapp-Thunderbird.desktop"];
"x-scheme-handler/msteams" = ["teams.desktop"];
"x-scheme-handler/tg" = ["userapp-Telegram Desktop-JBKFU0.desktop"];
"x-scheme-handler/tg" = ["userapp-Telegram Desktop-1RE3J1.desktop"];
};
}

View file

@ -1,12 +0,0 @@
{
self,
config,
lib,
pkgs,
...
}: let
inherit (lib) fileContents;
in {
pub-solar.gaming.enable = true;
pub-solar.docker.enable = true;
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -0,0 +1,14 @@
age-encryption.org/v1
-> ssh-ed25519 Wp/X/Q rilMAu0gNVmM5kzkfI6LHy8LYpqu6OJ68lnf+/IFuQA
7VAOcxVWeIfix5Imuz9IACxHSL/Lfpj4xUmGBTrSs+E
-> ssh-ed25519 8U1+ng yHW9NoLk8yIn7q5jzi4cB2TcOMJMjdr0KX9nmhgsVU4
mVB5vqHmlyRQwcTil3owI+VZ0gvUqpD3PCh7fdVakmA
-> ssh-ed25519 BVsyTA oGjMX1pyf0xHml4uZJr4mPfGCCB7TV1iX3bMLmLM+SU
75mURQZr8mVqgAitknaqIOdgfnHqUUItq4JYYaslidM
-> piv-p256 xGzyzw AjcLhwpsbCCjjDkdVjLsb7tf3oJe0FoBgkC+jUZzLwcm
/GqKWJL1qiVwz9E47rSb4rZEZ+P6fvvTgU4DTnpPGAE
-> _NBk)?2K-grease H
AntIeBKXk4SPMRdzlsvVp/bdRe6rk0uGHDlECTl8rRoR3/XHDbuYeg8EAyAPc1jQ
yh2mQYhV3ztro8ermvxuyYvzjaT22Ox/
--- 3qLt8D2zH6sWWqPToa+NQH35jGrTjbB8BxwExrtkZCo
]vÍÑÞ¿ëExü¥ìQ<å#¨#Ãì;Q<0E>š—×Í *õõ]w<>,çr

BIN
secrets/fwknoprc.age Normal file

Binary file not shown.

View file

@ -0,0 +1,13 @@
age-encryption.org/v1
-> ssh-ed25519 Wp/X/Q CO4vIjn5gn0a8UIGQ8pTtd3bLimnlvXXFVHrIdvhhzE
vZT3aoWvnK4aPMR+yZn8hJ63F/1Ga7xx6Nq8UN4bsIM
-> ssh-ed25519 8U1+ng Nu+OuQ0jipmVBhUL5aJzgRYIP711yH9A/UwNxDCt8i0
YW38h5abfi8EKnTrE4sLUAd5i+u4+qNno/Wzy9CReHM
-> ssh-ed25519 BVsyTA +um+6g0wccymBjOdKJs2FR58ReTClufGPFyHgQwR/RA
/Cv2hCYaV1E4dgzXY2oFyXhQt/m/u4KUaBByIv8Wfn8
-> piv-p256 xGzyzw Ar9I/qIkystt/yiYJHut4D94ERTP1ZTh3WRBpV1cvZ1r
UjUpz3egN/5N4n/xabKy3DE/8rLWDsYGWgB4IE5BFxk
-> 7-grease aAc9hT yzd(M6l 1j> @y>y
iNZSjN0
--- 2dlb9E0gTnsnkTNEK45p5/bSHDhp53Ni+J86mJYgRnY
3rÞ$šAüw,3WzLÅ<4C>ä66<36>H²é e¸ØRÙíX~†Ûð¤xª)g¨"ÝûÝ'òŠ{­ö‡4#ÂÑig¸ñìoëQ

View file

@ -0,0 +1,7 @@
# Serial: 10593996, Slot: 1
# Name: age-id-0
# Created: Mon, 24 Oct 2022 14:47:23 +0000
# PIN policy: Once (A PIN is required once per session, if set)
# Touch policy: Never (A physical touch is NOT required to decrypt)
# Recipient: age1yubikey1qdxpc9qenrkhqxnu2p6sgyfxhnxcvz99jcaq36uqcztuzsy92q596shqxkf
AGE-PLUGIN-YUBIKEY-1EJN2ZQYZC3K09NCU47TDH

View file

@ -0,0 +1 @@
AGE-PLUGIN-YUBIKEY-1EJN2ZQYZC3K09NCU47TDH

Binary file not shown.

View file

@ -1,8 +1,22 @@
let
# set ssh public keys here for your system and user
system = "";
user = "";
allKeys = [system user];
machines = {
dumpyourvms = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILDATEWAgDZFfYs1ZPh33Kg4sqQ9tWMVKyk8XqFu3Koe host@dumpyourvms";
ryzensun = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIH/l7MfEmt510BMeNjuXNPmZ0brcQidvrrpcea+qJMjX root@ryzensun";
};
users = {
teutat3s = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHcU6KPy4b1MQXd6EJhcYwbJu7E+0IrBZF/IP6T7gbMf teutat3s@dumpyourvms";
teutat3s-5-nfc = "age1yubikey1qdxpc9qenrkhqxnu2p6sgyfxhnxcvz99jcaq36uqcztuzsy92q596shqxkf";
};
allKeys = [machines.dumpyourvms machines.ryzensun users.teutat3s users.teutat3s-5-nfc];
in {
"secret.age".publicKeys = allKeys;
"example-secret.age".publicKeys = allKeys;
"environment-secrets.age".publicKeys = allKeys;
"github-api-token.age".publicKeys = allKeys;
"fwknoprc.age".publicKeys = allKeys;
"cat-testenv.ovpn.age".publicKeys = allKeys;
"mnx-bonanza-pf1.ovpn.age".publicKeys = allKeys;
"mnx-bonanza-pf1.p12.age".publicKeys = allKeys;
"docker-ci-runner-secrets.age".publicKeys = allKeys;
"test-secret.age".publicKeys = [users.teutat3s-5-nfc];
}

8
secrets/test-secret.age Normal file
View file

@ -0,0 +1,8 @@
age-encryption.org/v1
-> piv-p256 xGzyzw A/HuCNXXxY5cxn2SSdo8Vxec/fjRtyHs1635LSlX0Jif
D4JxFia0qmBZ4Tbk930rWyqynlv6gLL2FPAaAHAN9II
-> :Mvm-grease v] *~hy9uI2
ukmMu/ex7QHQIImtAi6H7plG2RGy1HbsTRFr5mSn8eZgnRwU2J188VW3PL0T5jul
BLsY/Q1yhtQ
--- KtbJqPbJH5uHkxmmuRe0HgawfcSZ6dHwFKKII24kGk8
 n:êþæ#ÅÇþ¯I*Î`+ Š¢ÈRÇ£3)þÛ|ÊÖ Òg<E2809A>[Ïï<C38F>ÔÈ!

View file

@ -12,7 +12,9 @@
password = "$6$Kv0BCLU2Jg7GN8Oa$hc2vERKCbZdczFqyHPfgCaleGP.JuOWyd.bfcIsLDNmExGXI6Rnkze.SWzVzVS311KBznN/P4uUYAUADXkVtr.";
fullName = "Pub Solar";
email = "iso@pub.solar";
publicKeys = [];
publicKeys = [
"ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBFro/k4Mgqyh8yV/7Zwjc0dv60ZM7bROBU9JNd99P/4co6fxPt1pJiU/pEz2Dax/HODxgcO+jFZfvPEuLMCeAl0= YubiKey #10593996 PIV Slot 9a"
];
};
};
}

View file

@ -0,0 +1,34 @@
{
config,
pkgs,
...
}: let
in
pkgs.lib.mkAfter '' [sendemail]
smtpserver = smtp.mailbox.org
smtpuser = jhonas@mailbox.org
smtpencryption = tls
smtpserverport = 587
[lfs]
repositoryformatversion = 0
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[includeIf "gitdir:~/CodeRoom/greenbaum.cloud/"]
path = ~/.config/git/config_greenbaum.cloud
[includeIf "gitdir:~/CodeRoom/github.com/TritonDataCenter/"]
path = ~/.config/git/config_mnx
[includeIf "gitdir:~/CodeRoom/github.com/mnx-solutions/"]
path = ~/.config/git/config_mnx
[includeIf "gitdir:~/CodeRoom/git.b12f.io/"]
path = ~/.config/git/config_git.b12f.io
[includeIf "gitdir:~/CodeRoom/git.pub.solar/"]
path = ~/.config/git/config_git.b12f.io
[includeIf "gitdir:~/CodeRoom/codeberg.org/"]
path = ~/.config/git/config_git.b12f.io''

View file

@ -0,0 +1,7 @@
{ config, pkgs, ... }:
let
in
''[user]
name = teutat3s
email = teutates@mailbox.org
signingkey = 4FA1D3FA524F22C1''

View file

@ -0,0 +1,7 @@
{ config, pkgs, ... }:
let
in
''[user]
name = jhonas
email = wernery@greenbaum.cloud
signingkey = 924889A86D0B0FEB''

View file

@ -0,0 +1,9 @@
{
config,
pkgs,
...
}: let
in '' [user]
name = Jhonas Wernery
email = jhonas.wernery@mnxsolutions.com
signingkey = 9C1D348ACDAFB311''

View file

@ -0,0 +1,29 @@
{ config, pkgs, ... }:
let
in
''# Watson configuration
# showing defaults commented out
# not implemented yet as of 2.0.1
#[backend]
#url = https://api.crick.fr
#token = yourapitoken
[options]
#options.confirm_new_project = false
#options.confirm_new_tag = false
date_format = %d.%m.%Y
#log_current = false
pager = false
#report_current = false
#reverse_log = true
stop_on_start = true
#stop_on_restart = false
time_format = %H:%M%z
#week_start = monday
#[default_tags]
#project-name = tag1 tag2
#python101 = teaching python
#voyager2 = nasa 'space mission'
''

View file

@ -0,0 +1,48 @@
{
config,
pkgs,
lib,
self,
...
}:
with lib; let
psCfg = config.pub-solar;
xdg = config.home-manager.users."${psCfg.user.name}".xdg;
in {
age.secrets."cat-testenv.ovpn" = {
file = "${self}/secrets/cat-testenv.ovpn.age";
mode = "600";
owner = psCfg.user.name;
};
age.secrets."fwknoprc" = {
file = "${self}/secrets/fwknoprc.age";
path = "${config.users.users."${psCfg.user.name}".home}/.fwknoprc";
mode = "600";
owner = psCfg.user.name;
};
services.openvpn.servers = {
catVPN = {
config = ''config ${config.age.secrets."cat-testenv.ovpn".path}'';
autoStart = false;
};
};
#home-manager = pkgs.lib.setAttrByPath ["users" psCfg.user.name] {
# programs.ssh = {
# matchBlocks = {
# "salt.base.test" = {
# hostname = "10.0.0.2";
# user = "bbaedorf";
# };
# "salt.gateway.test" = {
# hostname = "10.0.0.3";
# user = "root";
# proxyJump = "salt.base.test";
# };
# };
# };
#};
}

View file

@ -0,0 +1,35 @@
{
config,
hmUsers,
lib,
pkgs,
...
}: let
psCfg = config.pub-solar;
in {
imports = [
./home.nix
];
config = {
home-manager.users = {inherit (hmUsers) teutat3s;};
pub-solar = {
# These are your personal settings
# The only required settings are `name` and `password`,
# The rest is used for programs like git
user = {
name = "teutat3s";
fullName = "teutat3s";
email = "10206665+teutat3s@users.noreply.github.com";
gpgKeyId = "18DAE600A6BBE705";
password = "$6$guLp1v0G0TxGThXX$y7YeEcYjFpN6gutLCbvAkqppOVLYZjfo4DxofrMm6a9MIjVoKKaY20UzityJsHbQU4THIFfj8gLWVOjyjL.P2.";
publicKeys = [
"ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBFro/k4Mgqyh8yV/7Zwjc0dv60ZM7bROBU9JNd99P/4co6fxPt1pJiU/pEz2Dax/HODxgcO+jFZfvPEuLMCeAl0= YubiKey #10593996 PIV Slot 9a"
];
};
sway.v4l2loopback.enable = false;
};
};
}

96
users/teutat3s/home.nix Normal file
View file

@ -0,0 +1,96 @@
{
config,
home-manager,
inputs,
lib,
pkgs,
...
}:
with lib; let
psCfg = config.pub-solar;
xdg = config.home-manager.users."${psCfg.user.name}".xdg;
tritonshell = inputs.tritonshell;
in {
imports = [
./session-variables.nix
./concepts-and-training.nix
./mnx.nix
];
config = {
pub-solar.social.enable = true;
pub-solar.graphical.alacritty.settings.font.size = 12;
pub-solar.graphical.alacritty.settings.key_bindings = [
{
key = "V";
mods = "Control|Super";
action = "Paste";
}
{
key = "C";
mods = "Control|Super";
action = "Copy";
}
];
#services.kbfs.enable = true;
#services.keybase.enable = true;
services.yubikey-agent.enable = true;
home-manager = pkgs.lib.setAttrByPath ["users" psCfg.user.name] {
xdg.configFile."git/config".text = import ./.config/git/config.nix {
inherit config;
inherit pkgs;
};
xdg.configFile."git/config_greenbaum.cloud".text = import ./.config/git/config_greenbaum.cloud.nix {
inherit config;
inherit pkgs;
};
xdg.configFile."git/config_mnx".text = import ./.config/git/config_mnx.nix {
inherit config;
inherit pkgs;
};
xdg.configFile."git/config_git.b12f.io".text = import ./.config/git/config_git.b12f.io.nix {
inherit config;
inherit pkgs;
};
xdg.configFile."watson/config".text = import ./.config/watson/config.nix {
inherit config;
inherit pkgs;
};
home.packages = with pkgs; [
AusweisApp2
consul
drone-docker-runner
gpu-switch
ifmetric
ipmitool
keybase-gui
nomad_1_4
thunderbird
vault
veracrypt
waypoint
yubikey-agent
age-plugin-yubikey
cockroach-bin
obs-studio
];
programs.bash.initExtra = ''
source ${config.age.secrets.environment-secrets.path}
source ${inputs.tritonshell.packages.${pkgs.system}.triton-utils}/bin/ttp.sh
complete -C ${pkgs.consul}/bin/consul consul
complete -C ${pkgs.nomad_1_4}/bin/nomad nomad
complete -C ${pkgs.vault}/bin/vault vault
complete -C ${pkgs.terraform}/bin/terraform terraform
complete -C ${pkgs.waypoint}/bin/waypoint waypoint
complete -C '${pkgs.awscli2}/bin/aws_completer' ${pkgs.awscli2}/bin/aws
'';
# xdg.configFile."wallpaper.jpg".source = ./assets/wallpaper.jpg;
};
#services.mopidy.configuration = mkIf config.pub-solar.audio.enable (builtins.readFile ../../secrets/mopidy.conf);
};
}

47
users/teutat3s/mnx.nix Normal file
View file

@ -0,0 +1,47 @@
{
config,
pkgs,
lib,
self,
...
}:
with lib; let
psCfg = config.pub-solar;
xdg = config.home-manager.users."${psCfg.user.name}".xdg;
in {
config = {
age.secrets."mnx-bonanza-pf1.ovpn" = {
file = "${self}/secrets/mnx-bonanza-pf1.ovpn.age";
mode = "600";
owner = psCfg.user.name;
};
environment = {
systemPackages = with pkgs; [
networkmanager-fortisslvpn
networkmanager-openconnect
];
};
services.openvpn.servers = {
bonanzaVPN = {
config = ''config ${config.age.secrets."mnx-bonanza-pf1.ovpn".path}'';
autoStart = false;
};
};
programs._1password-gui = {
enable = true;
polkitPolicyOwners = ["teutat3s"];
};
programs._1password.enable = true;
home-manager = pkgs.lib.setAttrByPath ["users" psCfg.user.name] {
home.packages = with pkgs; [
zoom-us
slack
prr
];
};
};
}

View file

@ -0,0 +1,15 @@
{
config,
pkgs,
...
}: let
psCfg = config.pub-solar;
xdg = config.home-manager.users."${psCfg.user.name}".xdg;
in {
home-manager = pkgs.lib.setAttrByPath ["users" psCfg.user.name] {
home.sessionVariables = {
DRONE_SERVER = "https://ci.pub.solar";
GOPATH = "/home/${psCfg.user.name}/CodeRoom/go";
};
};
}