Compare commits
5 commits
5bfc975c5b
...
73b4123986
| Author | SHA1 | Date | |
|---|---|---|---|
| 73b4123986 | |||
| bb84b18d54 | |||
| f13107f311 | |||
| b2cbf6bbe1 | |||
| c0124d5829 |
5 changed files with 43 additions and 8 deletions
31
.config/selfci/ci.yaml
Normal file
31
.config/selfci/ci.yaml
Normal 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
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -54,8 +54,6 @@
|
||||||
pkgs.anki
|
pkgs.anki
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.kdeconnect.enable = true;
|
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
i18n.supportedLocales = [
|
i18n.supportedLocales = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue