Compare commits

..

12 Commits

Author SHA1 Message Date
Joakim Repomaa
1fd39f6c3f remove unused inputs
Some checks failed
Build Images / build (push) Failing after 11s
Check / check (push) Successful in 4m21s
2026-03-07 13:33:52 +02:00
Joakim Repomaa
86ebfee8e4 setup podman 2026-03-07 13:33:52 +02:00
Joakim Repomaa
182459dd24 fix gitea image registry 2026-03-07 13:33:52 +02:00
Joakim Repomaa
a833701fdb remove home assistant 2026-03-07 13:33:52 +02:00
Joakim Repomaa
8aa474ff08 fix gitea runner 2026-03-07 13:33:52 +02:00
Joakim Repomaa
9db214a1c5 fix invidious 2026-03-07 13:33:52 +02:00
Joakim Repomaa
76b7065493 allow x86 emulation on freun-dev 2026-03-07 13:33:52 +02:00
Joakim Repomaa
efe6863358 fix synthing 2026-03-07 13:33:52 +02:00
Joakim Repomaa
e0c1a457b0 update flake inputs 2026-03-07 13:33:51 +02:00
Joakim Repomaa
e3dfbf251f rekey secrets 2026-03-07 13:33:51 +02:00
Joakim Repomaa
2358ea6dcd apu local dhcp lease dns and invidious 2026-03-07 13:33:51 +02:00
Joakim Repomaa
88246d0b0a setup niri 2026-03-07 13:33:51 +02:00
2 changed files with 97 additions and 151 deletions

59
flake.lock generated
View File

@@ -291,24 +291,6 @@
"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",
@@ -707,7 +689,6 @@
"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",
@@ -716,27 +697,6 @@
"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": [
@@ -880,24 +840,9 @@
"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_6", "flake-utils": "flake-utils_5",
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
] ]
@@ -963,7 +908,7 @@
}, },
"voxtype": { "voxtype": {
"inputs": { "inputs": {
"flake-utils": "flake-utils_7", "flake-utils": "flake-utils_6",
"nixpkgs": [ "nixpkgs": [
"nixpkgs-unstable" "nixpkgs-unstable"
] ]

View File

@@ -30,101 +30,103 @@
# 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 = with pkgs; [ home.packages =
htop with pkgs;
gnupg [
pkgs-unstable.yubioath-flutter htop
pkgs-unstable.yubikey-manager gnupg
gcc pkgs-unstable.yubioath-flutter
sqlite pkgs-unstable.yubikey-manager
noto-fonts gcc
noto-fonts-cjk-sans sqlite
noto-fonts-color-emoji noto-fonts
source-sans-pro noto-fonts-cjk-sans
mosh noto-fonts-color-emoji
docker-compose source-sans-pro
(signal-desktop.override { mosh
commandLineArgs = "--password-store=gnome-libsecret"; docker-compose
}) (signal-desktop.override {
cargo commandLineArgs = "--password-store=gnome-libsecret";
blanket })
wl-clipboard cargo
gnumeric blanket
gh wl-clipboard
neovim-remote gnumeric
pkgs-unstable.gradia gh
crystal neovim-remote
shards pkgs-unstable.gradia
moreutils crystal
keymapp shards
gnumake moreutils
tig keymapp
jq gnumake
yt-dlp tig
ffmpeg jq
otp yt-dlp
manix ffmpeg
(writeShellScriptBin "fd" '' otp
${fd}/bin/fd -H "$@" manix
'') (writeShellScriptBin "fd" ''
pkgs-unstable.rpi-imager ${fd}/bin/fd -H "$@"
picocom '')
imagemagick pkgs-unstable.rpi-imager
ghostscript picocom
inkscape imagemagick
jless ghostscript
scribus inkscape
dnscontrol jless
protonmail-bridge scribus
hydroxide dnscontrol
imapsync protonmail-bridge
nixfmt-rfc-style hydroxide
tree imapsync
virt-manager nixfmt-rfc-style
pkgs-unstable.ncspot tree
pkgs-unstable.devbox virt-manager
pkgs-unstable.feishin pkgs-unstable.ncspot
openscad pkgs-unstable.devbox
pkgs-unstable.shairport-sync-airplay2 pkgs-unstable.feishin
(writeShellScriptBin "pw" '' openscad
${lib.getExe rbw} ls --fields 'id,folder,name' | \ pkgs-unstable.shairport-sync-airplay2
${lib.getExe gawk} -F '\t' '{print $1 "\t" ($2 == "" ? "" : $2 "/") $3}' | \ (writeShellScriptBin "pw" ''
${lib.getExe config.services.walker.package} -d -l 2 | \ ${lib.getExe rbw} ls --fields 'id,folder,name' | \
xargs ${lib.getExe rbw} get "$@" | ${lib.getExe' wl-clipboard "wl-copy"} ${lib.getExe gawk} -F '\t' '{print $1 "\t" ($2 == "" ? "" : $2 "/") $3}' | \
'') ${lib.getExe config.services.walker.package} -d -l 2 | \
(google-fonts.override { fonts = [ "Tajawal" ]; }) xargs ${lib.getExe rbw} get "$@" | ${lib.getExe' wl-clipboard "wl-copy"}
pkgs-unstable.opencode '')
(writeShellScriptBin "nr" '' (google-fonts.override { fonts = [ "Tajawal" ]; })
${lib.getExe nix} run "nixpkgs#''${1}" "$@" pkgs-unstable.opencode
'') (writeShellScriptBin "nr" ''
pkgs-unstable.tidal-hifi ${lib.getExe nix} run "nixpkgs#''${1}" "$@"
inputs.tonearm.packages.${pkgs.stdenv.hostPlatform.system}.tonearm '')
blueman pkgs-unstable.tidal-hifi
pavucontrol inputs.tonearm.packages.${pkgs.stdenv.hostPlatform.system}.tonearm
(writeShellScriptBin "voxtoggle" '' blueman
status=$(${lib.getExe config.programs.voxtype.package} status) pavucontrol
pid=$(cat ''${XDG_RUNTIME_DIR}/voxtype/pid) (writeShellScriptBin "voxtoggle" ''
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 = {
@@ -815,7 +817,6 @@
enableSshSupport = true; enableSshSupport = true;
pinentry.package = pinentry-gnome3; pinentry.package = pinentry-gnome3;
}; };
}; };
services.walker = { services.walker = {