Compare commits

...

2 Commits

2 changed files with 8 additions and 3 deletions

View File

@ -12,7 +12,7 @@
wallpaper2 = builtins.toString theme.wallpaper.monitor2; wallpaper2 = builtins.toString theme.wallpaper.monitor2;
in in
{ {
preload = lib.mkDefault [ preload = lib.mkForce [
wallpaper1 wallpaper1
wallpaper2 wallpaper2
]; ];
@ -21,7 +21,7 @@
let let
common = import ../common.nix; common = import ../common.nix;
in in
lib.mkDefault [ lib.mkForce [
"${common.monitor1},${wallpaper1}" "${common.monitor1},${wallpaper1}"
"${common.monitor2},${wallpaper2}" "${common.monitor2},${wallpaper2}"
]; ];

View File

@ -1,25 +1,30 @@
# List all receipes
default: default:
@just --list @just --list
# Format all files in repo
fmt: fmt:
treefmt --on-unmatched info treefmt --on-unmatched info
# Build a specific host but don't activate it. Host must use same system as target system
build HOST: build HOST:
git add . git add .
just fmt just fmt
nh os build . -H {{HOST}} nh os build . -H {{HOST}}
# Switch to new config, but don't add to bootloader
test *FLAGS: test *FLAGS:
git add . git add .
just fmt just fmt
nh os test . {{FLAGS}} nh os test . {{FLAGS}}
# Switch to new config and add to bootloader
switch *FLAGS: switch *FLAGS:
git add . git add .
just fmt just fmt
nh os switch . {{FLAGS}} nh os switch . {{FLAGS}}
# Switch to new config and add to bootloader without formatting or adding to git
switch-now *FLAGS: switch-now *FLAGS:
nh os switch . {{FLAGS}} nh os switch . {{FLAGS}}