Commit graph

1685 commits

Author SHA1 Message Date
Aly Raffauf 1467fd3a8f mauville: reorg and document initrd ssh key generator 2024-07-17 00:09:41 -04:00
Aly Raffauf 5ff89ab016 hosts: don't reboot with system upgrades 2024-07-17 00:05:31 -04:00
Aly Raffauf f4d6547c06 bump raffauflabs 2024-07-16 23:51:40 -04:00
Aly Raffauf e5ad899eca mauville: move ot native nix abs and plex services 2024-07-16 23:23:22 -04:00
Aly Raffauf 945fbe7409 secrets: update mauville pub keys 2024-07-16 21:35:53 -04:00
Aly Raffauf 6aa5b54e37 mauville/disko: fix disk names 2024-07-16 21:19:53 -04:00
Aly Raffauf 03f1092599
mauville: migrate to disko (#43)
* mauville: move to disko with btrfs on /dev/nvme0n1

* mauville: add media and archive disks with btrfs

* mauville: run ssh in initrd to type luks password

mauville: force system.autoUpgrade.allowReboot to false

mauville: bump stateVersion

no public secrets, autogen initrd ssh on activation
2024-07-16 21:13:30 -04:00
Aly Raffauf 444fefdd8e hosts/common/samba: reuse options 2024-07-16 17:07:43 -04:00
Aly Raffauf a844e2ff68
hosts: reorganize common config (#39)
* hosts: mv common.nix -> common/default.nix

* hosts/common: move wifi settings to wifi.nix

* hosts/common: add locale.nix, nix.nix, samba.nix, and secrets.nix

* hosts/common: move network and wifi settings to network.nix

* hosts/common: org fixes
2024-07-16 16:53:28 -04:00
Aly Raffauf 83e4f55604 base: use plymouth at boot 2024-07-16 16:02:28 -04:00
Aly Raffauf cd90c68f8c home: add backblaze module (#38)
* home: add basic backblaze module

* home/backblaze: add keyFile and KeyIdFile options

* home/backblaze: handle secrets at home activation

* home/backblaze: activate *after* systemd for agenix secrets

* home/baxkblaze: fix spelling error in hm.dag.entryAfter

* home/backblaze: improve docs

* mauville/home: remove b2 authentication step

* home/backblaze: avoid unbound XDG_RUNTIME_DIR

* fix fmt
2024-07-16 13:36:39 -04:00
Aly Raffauf 67d0f7f6ac
mauville: idempotent backblaze authentication (#37)
* mauville: add backblaze secrets

* mauville/home: authenticate with backblaze before nightly backups

* fix format

* mauville: move backblaze secret to home

* aly: setup backblaze secrets

* mauville: pass config to hm module
2024-07-15 23:53:15 -04:00
Aly Raffauf a16cd5ef41 aly: replace gitui with upstream hm module 2024-07-15 16:40:26 -04:00
Aly Raffauf a4aafae5cd home/aly: setup git extraConfig 2024-07-15 15:56:39 -04:00
Aly Raffauf 3df33271b6
aly: update firefox gnome theme (#33)
* aly/firefox: bump gnome theme

* aly/thunderbird: bump gnome theme
2024-07-15 15:53:32 -04:00
Aly Raffauf 2f0b5cab25
home/zed: add keymaps options with default additions (#32) 2024-07-15 15:45:02 -04:00
Aly Raffauf cb4d214916 mauville: remove redundant build-hosts service 2024-07-15 12:12:07 -04:00
Aly Raffauf 63bb04c941
flake.lock: Update (#31)
Flake lock file updates:

• Updated input 'disko':
    'github:nix-community/disko/786965e1b1ed3fd2018d78399984f461e2a44689?narHash=sha256-nsGgA14vVn0GGiqEfomtVgviRJCuSR3UEopfP8ixW1I%3D' (2024-07-11)
  → 'github:nix-community/disko/bad376945de7033c7adc424c02054ea3736cf7c4?narHash=sha256-Gof4Lj1rgTrX59bNu5b/uS/3X/marUGM7LYw31NoXEA%3D' (2024-07-15)
• Updated input 'nixhw':
    'github:alyraffauf/nixhw/d308ee6dfb9a46ab75b0e725b636f2c2846fc607?narHash=sha256-nN7sFe3tHG0xget7YYEErCx%2Bkg4PqOnPAe8p8Pqg%2Bms%3D' (2024-07-14)
  → 'github:alyraffauf/nixhw/5f624425074d05f46578087b5fdc0a63ae50065a?narHash=sha256-UXixWPycqjTeMOMeKPm5DZ0Vxn5E06xKjHgEbxxfeCs%3D' (2024-07-15)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/f12ee5f64c6a09995e71c9626d88c4efa983b488?narHash=sha256-FZ5dnrvKkln9ESdoTR8R7GKW9rNpXNZrxGsOXsbsTpE%3D' (2024-07-12)
  → 'github:nixos/nixpkgs/53e81e790209e41f0c1efa9ff26ff2fd7ab35e27?narHash=sha256-1mEKHp4m9brvfQ0rjCca8P1WHpymK3TOr3v34ydv9bs%3D' (2024-07-14)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/7e7c39ea35c5cdd002cd4588b03a3fb9ece6fad9?narHash=sha256-EYekUHJE2gxeo2pM/zM9Wlqw1Uw2XTJXOSAO79ksc4Y%3D' (2024-07-12)
  → 'github:nixos/nixpkgs/693bc46d169f5af9c992095736e82c3488bf7dbb?narHash=sha256-oedh2RwpjEa%2BTNxhg5Je9Ch6d3W1NKi7DbRO1ziHemA%3D' (2024-07-14)
• Updated input 'nixvim':
    'github:nix-community/nixvim/75e7bb13f5a3183f4993f4a9e44c1ede2076f6eb?narHash=sha256-pO7br8ikD7K%2BGEfSRody2P6IOR4hij5ZeFjhH0ERUWE%3D' (2024-07-14)
  → 'github:nix-community/nixvim/eef2f4c6b190d92e296e47e5fe10e7ced65fd959?narHash=sha256-dQGvOK%2Bt45unF7DTp5bfO37hY0NkDUw6X3MH5CCTEAs%3D' (2024-07-15)
• Updated input 'nixvim/git-hooks':
    'github:cachix/git-hooks.nix/2b6bd3c87d3a66fb0b8f2f06c985995e04b4fb96?narHash=sha256-1in42htN3g3MnE3/AO5Qgs6pMWUzmtPQ7s675brO8uw%3D' (2024-07-08)
  → 'github:cachix/git-hooks.nix/622291c026190caf13cb26f5136616b1ff0a07aa?narHash=sha256-DyIGJ%2BDEnKeGd346YJCwjmp9hXwiYq8wqGtikgbDqSc%3D' (2024-07-15)
• Updated input 'nixvim/nix-darwin':
    'github:lnl7/nix-darwin/0f89b73f41eaa1dde67b291452c181d9a75f10dd?narHash=sha256-9TNQtlwu97NPaJYsKkdObOsy0MLN4NAOBz0pqwH3KnA%3D' (2024-07-07)
  → 'github:lnl7/nix-darwin/5ce8503cf402cf76b203eba4b7e402bea8e44abc?narHash=sha256-yPhAsJTpyoIPQZJGC8Fw8W2lAXyhLoTn%2BHP20bmfkfk%3D' (2024-07-13)
• Updated input 'nixvim/treefmt-nix':
    'github:numtide/treefmt-nix/6fc8bded78715cdd43a3278a14ded226eb3a239e?narHash=sha256-/cKXod0oGLl%2BvH4bKBZnTV3qxrw4jgOLnyQ8KXey5J8%3D' (2024-07-08)
  → 'github:numtide/treefmt-nix/b92afa1501ac73f1d745526adc4f89b527595f14?narHash=sha256-VZK73b5hG5bSeAn97TTcnPjXUXtV7j/AtS4KN8ggCS0%3D' (2024-07-14)
• Updated input 'nur':
    'github:nix-community/NUR/960c1f77cca3e17cd398519496dcd0bb6e495871?narHash=sha256-D5FHhaF%2BQ6y7zDmmU8GRJLE8%2BM639WBszhiqKcH9dhs%3D' (2024-07-14)
  → 'github:nix-community/NUR/f20826f2af46da77eaa3aacedb303ccdd09b9321?narHash=sha256-0yQGyfxQ3J7ORsWeF1hnDU%2BbilrJZYWzhAtsqNfTSzM%3D' (2024-07-15)
• Updated input 'raffauflabs':
    'github:alyraffauf/raffauflabs/d9fda2c0e1ffd6fb5f663124f6106c5c0ea48d23?narHash=sha256-/wQYX9gzQpyBCZB2v8n9Cz/gSoYadYGVlawEaAQpowA%3D' (2024-07-08)
  → 'github:alyraffauf/raffauflabs/6f4de389b15e6bc25834ef297fbcf9b0bd6bc561?narHash=sha256-C%2BmibzpLG8oSo3JKiOtS%2BL8Lbj8%2BtaI09U4LNfCffVo%3D' (2024-07-15)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-07-15 11:17:16 -04:00
Aly Raffauf db3217e1e5 aly: switch editor to zed 2024-07-15 10:36:46 -04:00
Aly Raffauf 79d7207438 github: don't run ci on README changes 2024-07-15 10:21:34 -04:00
Aly Raffauf ec9e79131b github: don't clear space for small builds 2024-07-15 09:33:37 -04:00
Aly Raffauf b5d50f5fc8 github: clear space before builds 2024-07-15 09:30:27 -04:00
Aly Raffauf 4500cb117b github: add build workflow with cachix support 2024-07-15 09:16:36 -04:00
Aly Raffauf 34a837a0da github: use magix nix cache 2024-07-15 08:22:10 -04:00
Aly Raffauf 98aaa97429 home/hyprland: don't include clamshell script if no laptopMonitors exist 2024-07-15 07:53:04 -04:00
Aly Raffauf 744dcf70fa aly,dustin: remove unnecessary monitor 2024-07-15 07:45:21 -04:00
Aly Raffauf 3899be29c3
home/hyprland: remove monitor + tablet config from module (#30)
* home: moved hyprland monitors to config.ar.home.desktop.hyprland.monitors and config.ar.home.desktop.desktop.hyprland.laptopMonitors

* nix fmt

* home/options: update formatting

* home/hyprland: move laptop montiors to hosts/hostname/home.nix

* home/hyprland: move external non-desktop displays to user home configs

* home/hyprland: move monitors to host + home configs

* home/hyprland: add ar.home.desktop.hyprland.tabletMode.tabletSwitches for automatically setting up a list of tablet switches

* nix fmt
2024-07-15 00:14:18 -04:00
Aly Raffauf 68058f33cd home/hyprland: move tablet and touch mappingss to host-specific home.nix 2024-07-14 20:22:06 -04:00
Aly Raffauf 72e4083eb4 aly: update home.packages 2024-07-14 18:41:10 -04:00
Aly Raffauf d1d5471054 github: fix drybuild indents 2024-07-14 18:32:57 -04:00
Aly Raffauf 5690d9ed90 aly: install gitui 2024-07-14 18:31:42 -04:00
Aly Raffauf 48e08b8c6b github: reorganize workflows and add drybuilds 2024-07-14 18:31:01 -04:00
Aly Raffauf 0353e44e1f
switch to latest generation on autoupgrade (#29)
* hosts/common: switch on autoupgrade

* hosts/common: adjust upgrade times

* format fix

* flake: update to latest nixhw

* hosts/common: set explicitly to persistent
2024-07-14 18:19:05 -04:00
Aly Raffauf b6b231df2f github: simplify step names 2024-07-14 17:04:17 -04:00
Aly Raffauf 310008860c github: pull latest actions from master/main 2024-07-14 17:00:41 -04:00
Aly Raffauf c3be1f9ad2 github: simplify workflow names 2024-07-14 16:56:59 -04:00
Aly Raffauf ec6db50220 github: add flakehub workflow 2024-07-14 16:52:06 -04:00
Aly Raffauf 5b1fbb5030 home/theme: theme qt6 applications 2024-07-14 15:45:23 -04:00
Aly Raffauf 2b8bae8c04
flake.lock: Update (#28)
Flake lock file updates:

• Updated input 'nixvim':
    'github:nix-community/nixvim/2c52164a4f1b863f5eda842b4b9423b7f2677ddc?narHash=sha256-BJf06/uE8XgjSqXB6ftabinqK%2BqaAmWA0dLxAfLrAjw%3D' (2024-07-08)
  → 'github:nix-community/nixvim/75e7bb13f5a3183f4993f4a9e44c1ede2076f6eb?narHash=sha256-pO7br8ikD7K%2BGEfSRody2P6IOR4hij5ZeFjhH0ERUWE%3D' (2024-07-14)
• Updated input 'nur':
    'github:nix-community/NUR/93b6730560f15a557db9c0dd0227baa58cebbd30?narHash=sha256-aGlq/NRxQxBJbFGMGFqu3T3NWWYDdSt7AoGGJltojTk%3D' (2024-07-14)
  → 'github:nix-community/NUR/960c1f77cca3e17cd398519496dcd0bb6e495871?narHash=sha256-D5FHhaF%2BQ6y7zDmmU8GRJLE8%2BM639WBszhiqKcH9dhs%3D' (2024-07-14)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-07-14 12:12:01 -04:00
Aly Raffauf 1413801e6d github: update flake.lock weekly with pull request
github: use DeterminateSystems nix installer

github: run cicid on prs

github/flake-update-inputs: use PAT to trigger subsequent workflows

github: simplify workflow runs

github: setup git after checkout

github/flake-update-inputs: don't self assign reviews

github/git-sync-mirrors: only run on master

github: don't sync to codeberg

github: only run nix checks on .nix updates

github: only run nix checks on .nix and .lock updates

github: ignore .github and _img paths
2024-07-14 11:44:31 -04:00
github-actions[bot] 240ec1ac8e flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/a046c1202e11b62cbede5385ba64908feb7bfac4?narHash=sha256-CWT%2BKN8aTPyMIx8P303gsVxUnkinIz0a/Cmasz1jyIM%3D' (2024-07-11)
  → 'github:nixos/nixpkgs/f12ee5f64c6a09995e71c9626d88c4efa983b488?narHash=sha256-FZ5dnrvKkln9ESdoTR8R7GKW9rNpXNZrxGsOXsbsTpE%3D' (2024-07-12)
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/feb2849fdeb70028c70d73b848214b00d324a497?narHash=sha256-ZgnNHuKV6h2%2BfQ5LuqnUaqZey1Lqqt5dTUAiAnqH0QQ%3D' (2024-07-09)
  → 'github:nixos/nixpkgs/7e7c39ea35c5cdd002cd4588b03a3fb9ece6fad9?narHash=sha256-EYekUHJE2gxeo2pM/zM9Wlqw1Uw2XTJXOSAO79ksc4Y%3D' (2024-07-12)
• Updated input 'nur':
    'github:nix-community/NUR/4b96b9dd2651d0e6a848912cdbcbfbe6e2f3d4f6?narHash=sha256-m37uFiUFV80812riW0N7bqBBQBzB2qpQoUQyFLnXmG0%3D' (2024-07-13)
  → 'github:nix-community/NUR/93b6730560f15a557db9c0dd0227baa58cebbd30?narHash=sha256-aGlq/NRxQxBJbFGMGFqu3T3NWWYDdSt7AoGGJltojTk%3D' (2024-07-14)
2024-07-14 06:16:47 +00:00
Aly Raffauf 4406bff102 home/zed: improved defaults 2024-07-13 23:35:22 -04:00
Aly Raffauf 5ba420030a home/keepassxc: refactored settings 2024-07-13 21:34:41 -04:00
Aly Raffauf 29aab63327 Revert "home/vscodium: nix lsp nil -> nixd"
This reverts commit 2b3a13c9bc.
2024-07-13 21:25:35 -04:00
Aly Raffauf 2150207655 home: add zed-editor module 2024-07-13 21:24:21 -04:00
Aly Raffauf d966c37ccf aly/hyprland: removed unused scratchpads 2024-07-13 21:22:20 -04:00
Aly Raffauf 087b61ef4b aly: refactor home.packages 2024-07-13 18:32:53 -04:00
Aly Raffauf 2b3a13c9bc home/vscodium: nix lsp nil -> nixd 2024-07-13 18:32:36 -04:00
Aly Raffauf d87a1924ac aly/hyprland: open zed on workspace 2 2024-07-13 17:31:17 -04:00
Aly Raffauf 3559b9b8bb aly: install zed-editor from nixpkgs/unstable 2024-07-13 17:29:00 -04:00