Compare commits

..

12 commits

Author SHA1 Message Date
cy
3fb20f66e6 root should own /nix before we install nix 2025-01-19 21:20:48 -05:00
cy
8b90488ca6 overprovision lvm and mount to /nix 2025-01-19 21:16:55 -05:00
cy
1205127fff can we get more space 2025-01-19 21:05:49 -05:00
cy
4a8df24072 try lanzaboote from master 2025-01-19 20:53:31 -05:00
cy
7cc8d19b1b Revert "rm lanzaboote on ytnix"
This reverts commit de5e7ad35c.
2025-01-19 20:52:45 -05:00
cy
c7328349e7 accept flake config 2025-01-19 20:47:21 -05:00
cy
dcc2a9c040 set display variable 2025-01-19 20:37:34 -05:00
cy
de5e7ad35c rm lanzaboote on ytnix 2025-01-19 20:37:02 -05:00
cy
2b4a139db1 how about homes 2025-01-19 20:08:27 -05:00
cy
b114a0182e can we build machines 2025-01-19 19:59:11 -05:00
cy
8cf5db6c43 build stuff 2025-01-19 19:18:25 -05:00
cy
e400367fa3 can we build chrome 2025-01-19 12:49:09 -05:00
4 changed files with 25 additions and 46 deletions

View file

@ -7,7 +7,10 @@ jobs:
strategy: strategy:
matrix: matrix:
package: package:
- github:cything/nixpkgs/fd06e41125350bc3db5628df49d3b84e4652a59d#lact - github:cything/nixpkgs/lact#lact
- github:cything/nixpkgs/attic#attic-client
- github:cything/nixpkgs/attic#attic-server
- github:sodiboo/niri-flake#niri-unstable
os: os:
- ubuntu-latest - ubuntu-latest
# - macos-latest # - macos-latest
@ -25,6 +28,7 @@ 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:
@ -49,7 +53,7 @@ jobs:
remove-codeql: 'true' remove-codeql: 'true'
remove-docker-images: 'true' remove-docker-images: 'true'
build-mount-path: /nix build-mount-path: /nix
build-mount-path-ownership: 'root:root' - run: sudo chown root:root /nix
- uses: DeterminateSystems/nix-installer-action@main - uses: DeterminateSystems/nix-installer-action@main
with: with:
logger: pretty logger: pretty
@ -65,6 +69,7 @@ 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:
@ -88,7 +93,7 @@ jobs:
remove-codeql: 'true' remove-codeql: 'true'
remove-docker-images: 'true' remove-docker-images: 'true'
build-mount-path: /nix build-mount-path: /nix
build-mount-path-ownership: 'root:root' - run: sudo chown root:root /nix
- uses: DeterminateSystems/nix-installer-action@main - uses: DeterminateSystems/nix-installer-action@main
with: with:
logger: pretty logger: pretty

8
flake.lock generated
View file

@ -411,16 +411,16 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1737341811, "lastModified": 1737274611,
"narHash": "sha256-a9UXiYA48ja0cvlHA4bqF0et8+4acJT4YVhLC4/tNag=", "narHash": "sha256-tmD7875tu1P0UvhI3Q/fXvIe8neJo7H9ZrPQ+QF7Q3E=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "63dff148c56cc3168d78edefd1087cc5d6fdda16", "rev": "50165c4f7eb48ce82bd063e1fb8047a0f515f8ce",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nixos", "owner": "nixos",
"ref": "master", "ref": "nixos-unstable-small",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }

View file

@ -2,7 +2,7 @@
description = "cy's flake"; description = "cy's flake";
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/master"; nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable-small";
sops-nix = { sops-nix = {
url = "github:Mic92/sops-nix"; url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
@ -89,10 +89,7 @@
programs.typos.enable = true; programs.typos.enable = true;
programs.shellcheck.enable = true; programs.shellcheck.enable = true;
settings.global.excludes = [ settings.global.excludes = [ "secrets/*" ];
"secrets/*"
"**/*.png" # tries to format a png file??
];
}; };
}; };

View file

@ -1,17 +1,8 @@
{ { config, pkgs, lib, ... }:
config,
pkgs,
lib,
...
}:
let let
wallpaper = "${./nixos-c-book.png}"; wallpaper = "${./nixos-c-book.png}";
terminal = "foot"; terminal = "foot";
menu = [ menu = [ "fuzzel" "-w" "100" ];
"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";
@ -22,15 +13,7 @@ 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;
@ -64,31 +47,25 @@ 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;
} }
]; ];