Compare commits

..

11 Commits

Author SHA1 Message Date
Joakim Repomaa
b4caf86628 setup podman
Some checks failed
Build Images / build (push) Failing after 11s
Check / check (push) Failing after 1m13s
2026-03-07 13:30:23 +02:00
Joakim Repomaa
80263ea4db fix gitea image registry 2026-03-07 13:28:44 +02:00
Joakim Repomaa
3a93db3839 remove home assistant 2026-03-07 13:28:04 +02:00
Joakim Repomaa
3de5679411 fix gitea runner 2026-03-07 13:28:04 +02:00
Joakim Repomaa
551fe64603 fix invidious 2026-03-07 13:28:03 +02:00
Joakim Repomaa
fd29342f58 allow x86 emulation on freun-dev 2026-03-07 13:28:03 +02:00
Joakim Repomaa
43848028af fix synthing 2026-03-07 13:28:03 +02:00
Joakim Repomaa
fb6ebd55c3 update flake inputs 2026-03-07 13:28:03 +02:00
Joakim Repomaa
1ddbce110f rekey secrets 2026-03-07 13:28:03 +02:00
Joakim Repomaa
bc85dabce0 apu local dhcp lease dns and invidious 2026-03-07 13:28:03 +02:00
Joakim Repomaa
4745fa3d58 setup niri 2026-03-07 13:28:03 +02:00
2 changed files with 151 additions and 97 deletions

59
flake.lock generated
View File

@@ -291,6 +291,24 @@
"type": "github" "type": "github"
} }
}, },
"flake-utils_7": {
"inputs": {
"systems": "systems_7"
},
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"frontend": { "frontend": {
"inputs": { "inputs": {
"flake-utils": "flake-utils_2", "flake-utils": "flake-utils_2",
@@ -689,6 +707,7 @@
"nixos-hardware": "nixos-hardware", "nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs_4", "nixpkgs": "nixpkgs_4",
"nixpkgs-unstable": "nixpkgs-unstable", "nixpkgs-unstable": "nixpkgs-unstable",
"router-dash": "router-dash",
"syntax-renderer": "syntax-renderer", "syntax-renderer": "syntax-renderer",
"tonearm": "tonearm", "tonearm": "tonearm",
"turny": "turny", "turny": "turny",
@@ -697,6 +716,27 @@
"workout-sync": "workout-sync" "workout-sync": "workout-sync"
} }
}, },
"router-dash": {
"inputs": {
"flake-utils": "flake-utils_5",
"nixpkgs": [
"nixpkgs-unstable"
]
},
"locked": {
"lastModified": 1771795019,
"narHash": "sha256-mcGQMNKVUj/CSGXeejzqHEeU+O0ThzKb4pc7pLjUWN0=",
"ref": "refs/heads/main",
"rev": "ea315d3a527db870a51d23901037a5d1b37f5780",
"revCount": 7,
"type": "git",
"url": "https://git.freun.dev/repomaa/router-dash"
},
"original": {
"type": "git",
"url": "https://git.freun.dev/repomaa/router-dash"
}
},
"rust-overlay": { "rust-overlay": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@@ -840,9 +880,24 @@
"type": "github" "type": "github"
} }
}, },
"systems_7": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"tonearm": { "tonearm": {
"inputs": { "inputs": {
"flake-utils": "flake-utils_5", "flake-utils": "flake-utils_6",
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
] ]
@@ -908,7 +963,7 @@
}, },
"voxtype": { "voxtype": {
"inputs": { "inputs": {
"flake-utils": "flake-utils_6", "flake-utils": "flake-utils_7",
"nixpkgs": [ "nixpkgs": [
"nixpkgs-unstable" "nixpkgs-unstable"
] ]

View File

@@ -30,103 +30,101 @@
# release notes. # release notes.
home.stateVersion = "23.11"; # Please read the comment before changing. home.stateVersion = "23.11"; # Please read the comment before changing.
home.packages = home.packages = with pkgs; [
with pkgs; htop
[ gnupg
htop pkgs-unstable.yubioath-flutter
gnupg pkgs-unstable.yubikey-manager
pkgs-unstable.yubioath-flutter gcc
pkgs-unstable.yubikey-manager sqlite
gcc noto-fonts
sqlite noto-fonts-cjk-sans
noto-fonts noto-fonts-color-emoji
noto-fonts-cjk-sans source-sans-pro
noto-fonts-color-emoji mosh
source-sans-pro docker-compose
mosh (signal-desktop.override {
docker-compose commandLineArgs = "--password-store=gnome-libsecret";
(signal-desktop.override { })
commandLineArgs = "--password-store=gnome-libsecret"; cargo
}) blanket
cargo wl-clipboard
blanket gnumeric
wl-clipboard gh
gnumeric neovim-remote
gh pkgs-unstable.gradia
neovim-remote crystal
pkgs-unstable.gradia shards
crystal moreutils
shards keymapp
moreutils gnumake
keymapp tig
gnumake jq
tig yt-dlp
jq ffmpeg
yt-dlp otp
ffmpeg manix
otp (writeShellScriptBin "fd" ''
manix ${fd}/bin/fd -H "$@"
(writeShellScriptBin "fd" '' '')
${fd}/bin/fd -H "$@" pkgs-unstable.rpi-imager
'') picocom
pkgs-unstable.rpi-imager imagemagick
picocom ghostscript
imagemagick inkscape
ghostscript jless
inkscape scribus
jless dnscontrol
scribus protonmail-bridge
dnscontrol hydroxide
protonmail-bridge imapsync
hydroxide nixfmt-rfc-style
imapsync tree
nixfmt-rfc-style virt-manager
tree pkgs-unstable.ncspot
virt-manager pkgs-unstable.devbox
pkgs-unstable.ncspot pkgs-unstable.feishin
pkgs-unstable.devbox openscad
pkgs-unstable.feishin pkgs-unstable.shairport-sync-airplay2
openscad (writeShellScriptBin "pw" ''
pkgs-unstable.shairport-sync-airplay2 ${lib.getExe rbw} ls --fields 'id,folder,name' | \
(writeShellScriptBin "pw" '' ${lib.getExe gawk} -F '\t' '{print $1 "\t" ($2 == "" ? "" : $2 "/") $3}' | \
${lib.getExe rbw} ls --fields 'id,folder,name' | \ ${lib.getExe config.services.walker.package} -d -l 2 | \
${lib.getExe gawk} -F '\t' '{print $1 "\t" ($2 == "" ? "" : $2 "/") $3}' | \ xargs ${lib.getExe rbw} get "$@" | ${lib.getExe' wl-clipboard "wl-copy"}
${lib.getExe config.services.walker.package} -d -l 2 | \ '')
xargs ${lib.getExe rbw} get "$@" | ${lib.getExe' wl-clipboard "wl-copy"} (google-fonts.override { fonts = [ "Tajawal" ]; })
'') pkgs-unstable.opencode
(google-fonts.override { fonts = [ "Tajawal" ]; }) (writeShellScriptBin "nr" ''
pkgs-unstable.opencode ${lib.getExe nix} run "nixpkgs#''${1}" "$@"
(writeShellScriptBin "nr" '' '')
${lib.getExe nix} run "nixpkgs#''${1}" "$@" pkgs-unstable.tidal-hifi
'') inputs.tonearm.packages.${pkgs.stdenv.hostPlatform.system}.tonearm
pkgs-unstable.tidal-hifi blueman
inputs.tonearm.packages.${pkgs.stdenv.hostPlatform.system}.tonearm pavucontrol
blueman (writeShellScriptBin "voxtoggle" ''
pavucontrol status=$(${lib.getExe config.programs.voxtype.package} status)
(writeShellScriptBin "voxtoggle" '' pid=$(cat ''${XDG_RUNTIME_DIR}/voxtype/pid)
status=$(${lib.getExe config.programs.voxtype.package} status)
pid=$(cat ''${XDG_RUNTIME_DIR}/voxtype/pid)
if [[ "$status" == "stopped" ]]; then if [[ "$status" == "stopped" ]]; then
exit 1 exit 1
elif [[ "$status" == "recording" ]]; then elif [[ "$status" == "recording" ]]; then
kill -SIGUSR2 "$pid" kill -SIGUSR2 "$pid"
else else
kill -SIGUSR1 "$pid" kill -SIGUSR1 "$pid"
fi fi
'') '')
] ];
++ lib.optional osConfig.programs.niri.enable ( ++ lib.optional osConfig.programs.niri.enable (
pkgs.writeShellScriptBin "handle-lid-close" '' pkgs.writeShellScriptBin "handle-lid-close" ''
alias niri=${lib.getExe osConfig.programs.niri.package} alias niri=${lib.getExe osConfig.programs.niri.package}
output_count=$(niri outputs | ${lib.getExe jq} -r 'length') output_count=$(niri outputs | ${lib.getExe jq} -r 'length')
if [ "$output_count" -eq 1 ]; then if [ "$output_count" -eq 1 ]; then
niri msg action spawn hyprlock niri msg action spawn hyprlock
systemctl suspend systemctl suspend
fi fi
'' ''
); );
programs = { programs = {
ashell = { ashell = {
@@ -817,6 +815,7 @@
enableSshSupport = true; enableSshSupport = true;
pinentry.package = pinentry-gnome3; pinentry.package = pinentry-gnome3;
}; };
}; };
services.walker = { services.walker = {