This commit is contained in:
cy 2025-01-19 21:45:11 -05:00
parent bb0da64219
commit 71be5f3545
3 changed files with 38 additions and 14 deletions

View file

@ -25,7 +25,6 @@ jobs:
cache: ${{ vars.ATTIC_CACHE }} cache: ${{ vars.ATTIC_CACHE }}
token: ${{ secrets.ATTIC_TOKEN }} token: ${{ secrets.ATTIC_TOKEN }}
- run: nix build -L '${{ matrix.package }}' - run: nix build -L '${{ matrix.package }}'
build-machines: build-machines:
strategy: strategy:
matrix: matrix:
@ -66,7 +65,6 @@ jobs:
with: with:
persist-credentials: false persist-credentials: false
- run: nix build -L --accept-flake-config .#nixosConfigurations.${{ matrix.machine }}.config.system.build.toplevel - run: nix build -L --accept-flake-config .#nixosConfigurations.${{ matrix.machine }}.config.system.build.toplevel
build-homes: build-homes:
strategy: strategy:
matrix: matrix:

View file

@ -89,7 +89,10 @@
programs.typos.enable = true; programs.typos.enable = true;
programs.shellcheck.enable = true; programs.shellcheck.enable = true;
settings.global.excludes = [ "secrets/*" ]; settings.global.excludes = [
"secrets/*"
"**/*.png" # tries to format a png file??
];
}; };
}; };

View file

@ -1,8 +1,17 @@
{ config, pkgs, lib, ... }: {
config,
pkgs,
lib,
...
}:
let let
wallpaper = "${./nixos-c-book.png}"; wallpaper = "${./nixos-c-book.png}";
terminal = "foot"; terminal = "foot";
menu = [ "fuzzel" "-w" "100" ]; menu = [
"fuzzel"
"-w"
"100"
];
browser = "librewolf"; browser = "librewolf";
file-manager = "thunar"; file-manager = "thunar";
clipboard = "cliphist list | ${lib.concatStringsSep " " menu} --dmenu | cliphist decode | wl-copy"; clipboard = "cliphist list | ${lib.concatStringsSep " " menu} --dmenu | cliphist decode | wl-copy";
@ -13,7 +22,15 @@ in
input.keyboard.xkb.options = "ctrl:nocaps"; input.keyboard.xkb.options = "ctrl:nocaps";
spawn-at-startup = [ spawn-at-startup = [
{ command = [ "${lib.getExe pkgs.waybar}" ]; } { command = [ "${lib.getExe pkgs.waybar}" ]; }
{ command = [ "${lib.getExe pkgs.swaybg}" "-m" "fill" "-i" wallpaper ]; } {
command = [
"${lib.getExe pkgs.swaybg}"
"-m"
"fill"
"-i"
wallpaper
];
}
{ command = [ "${lib.getExe pkgs.xwayland-satellite}" ]; } { command = [ "${lib.getExe pkgs.xwayland-satellite}" ]; }
]; ];
hotkey-overlay.skip-at-startup = true; hotkey-overlay.skip-at-startup = true;
@ -47,25 +64,31 @@ in
window-rules = [ window-rules = [
{ {
matches = [ matches = [
{ app-id = "anki"; title = "Add"; } {
app-id = "anki";
title = "Add";
}
{ app-id = "mpv"; } { app-id = "mpv"; }
{ app-id = "Bitwarden"; } { app-id = "Bitwarden"; }
]; ];
open-floating = true; open-floating = true;
} }
{ {
matches = [{ app-id = "anki"; }]; matches = [ { app-id = "anki"; } ];
default-column-width.proportion = .25; default-column-width.proportion = .25;
} }
{ {
matches = [ matches = [
{ app-id = "foot"; } { app-id = "foot"; }
{ app-id = "anki"; title = "^Browse"; } {
app-id = "anki";
title = "^Browse";
}
]; ];
default-column-width.proportion = .5; default-column-width.proportion = .5;
} }
{ {
matches = [{ app-id = "librewolf"; }]; matches = [ { app-id = "librewolf"; } ];
default-column-width.proportion = .75; default-column-width.proportion = .75;
} }
]; ];