Compare commits

...

5 commits

Author SHA1 Message Date
73b4123986 niri: add audio and brightness keybinds back
DMS used to generate them but somehow it doesn't anymore
2026-04-09 23:35:06 +02:00
bb84b18d54 niri: switch to alacritty again
Ghostty cold start is very slow (GTK)
2026-04-09 23:33:38 +02:00
f13107f311 machines/haze: remove kdeconnect
Moved to nixosModules/desktop
2026-04-08 21:51:24 +02:00
b2cbf6bbe1 ci: init selfci 2026-04-08 21:48:33 +02:00
c0124d5829 machines/crocus: minor fixes
- Remove remote nix builder config
- Add 4G to additionnal disk
- Remove buildHost option
2026-04-08 21:45:16 +02:00
5 changed files with 43 additions and 8 deletions

31
.config/selfci/ci.yaml Normal file
View file

@ -0,0 +1,31 @@
# SelfCI Configuration
job:
# This command will be executed for all jobs
# Use $SELFCI_JOB_NAME env var to determine which job is running
command: |
set -eou pipefail
selfci step start "check"
nix flake check .
# Command prefix for executing the command
# Can be used to change the shell, or disable shell interpretation
# of `command` altogether.
# command-prefix: ["bash", "-c"]
# Clone mode: "partial", "shallow", or "full" (default: partial)
# - partial: Fast, uses partial clone (--filter=blob:none) - all commits, blobs on-demand
# - shallow: Most compact, uses shallow clone (--depth=1) - single commit only
# - full: Complete clone with all history and objects
clone-mode: partial
# Merge queue configuration (optional)
# mq:
# # Default base branch for merge queue
# base-branch: main
#
# # Merge style: "rebase" or "merge" (default: rebase)
# # - rebase: Rebase candidate commits on top of base branch (no merge commit)
# # - merge: Create a merge commit
# merge-style: rebase

View file

@ -13,6 +13,7 @@
pkgs.nil # Nix language server pkgs.nil # Nix language server
pkgs.nixfmt pkgs.nixfmt
pkgs.opentofu pkgs.opentofu
pkgs.selfci
pkgs.terraform-ls pkgs.terraform-ls
pkgs.deploy-rs pkgs.deploy-rs
pkgs.zsh pkgs.zsh

View file

@ -115,11 +115,19 @@ binds {
Mod+Shift+Comma { show-hotkey-overlay; } Mod+Shift+Comma { show-hotkey-overlay; }
// Suggested binds for running programs: terminal, app launcher, screen locker. // Suggested binds for running programs: terminal, app launcher, screen locker.
Mod+Return { spawn "ghostty" "+new-window"; } Mod+Return { spawn-sh "alacritty msg create-window || alacritty"; }
// Mod+D { spawn "dms" "ipc" "call" "spotlight" "toggle"; } // Mod+D { spawn "dms" "ipc" "call" "spotlight" "toggle"; }
Mod+D { spawn "vicinae" "toggle"; } Mod+D { spawn "vicinae" "toggle"; }
Super+Alt+L hotkey-overlay-title="Lock session" { spawn "loginctl" "lock-session"; } Super+Alt+L hotkey-overlay-title="Lock session" { spawn "loginctl" "lock-session"; }
XF86AudioRaiseVolume allow-when-locked=true { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.05+"; }
XF86AudioLowerVolume allow-when-locked=true { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.05-"; }
XF86AudioMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "toggle"; }
XF86AudioMicMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SOURCE@" "toggle"; }
XF86MonBrightnessUp allow-when-locked=true { spawn "dms" "ipc" "call" "brightness" "increment" "5" ""; }
XF86MonBrightnessDown allow-when-locked=true { spawn "dms" "ipc" "call" "brightness" "decrement" "5" ""; }
XF86AudioPlay { spawn "playerctl" "play-pause"; } XF86AudioPlay { spawn "playerctl" "play-pause"; }
XF86AudioNext { spawn "playerctl" "next"; } XF86AudioNext { spawn "playerctl" "next"; }
XF86AudioPrev { spawn "playerctl" "previous"; } XF86AudioPrev { spawn "playerctl" "previous"; }
@ -295,7 +303,7 @@ binds {
Mod+Shift+P { power-off-monitors; } Mod+Shift+P { power-off-monitors; }
Mod+N hotkey-overlay-title="Open notes" { Mod+N hotkey-overlay-title="Open notes" {
spawn-sh "ghostty -e hx --working-dir ~/notes ~/notes/notes.dj:9999"; spawn-sh "alacritty --working-directory ~/notes -e hx ~/notes/notes.dj:9999";
} }
} }

View file

@ -6,7 +6,6 @@
imports = [ imports = [
self.nixosModules.radicle self.nixosModules.radicle
self.nixosModules.nix-defaults self.nixosModules.nix-defaults
self.nixosModules.remote-builder
self.inputs.srvos.nixosModules.server self.inputs.srvos.nixosModules.server
self.inputs.srvos.nixosModules.hardware-hetzner-cloud self.inputs.srvos.nixosModules.hardware-hetzner-cloud
]; ];
@ -39,7 +38,7 @@
services.garage.settings.data_dir = [ services.garage.settings.data_dir = [
{ {
path = "/var/lib/garage/data"; path = "/var/lib/garage/data";
capacity = "20G"; capacity = "24G";
} }
{ {
path = "/data1/garage"; path = "/data1/garage";
@ -49,8 +48,6 @@
clan.core.settings.state-version.enable = true; clan.core.settings.state-version.enable = true;
clan.core.networking.buildHost = "root@haze";
services.avahi.allowInterfaces = [ services.avahi.allowInterfaces = [
"zts7mq7onf" "zts7mq7onf"
]; ];

View file

@ -54,8 +54,6 @@
pkgs.anki pkgs.anki
]; ];
programs.kdeconnect.enable = true;
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
i18n.supportedLocales = [ i18n.supportedLocales = [