update
This commit is contained in:
parent
f8786dd24f
commit
c5420f8d3a
@ -16,6 +16,7 @@ let
|
|||||||
{
|
{
|
||||||
"name": "Bookmarks",
|
"name": "Bookmarks",
|
||||||
"links": [
|
"links": [
|
||||||
|
{"title": "MyNixOs", "url": "https://mynixos.com", "icon": ""},
|
||||||
{"title": "Github", "url": "https://github.com", "icon": ""},
|
{"title": "Github", "url": "https://github.com", "icon": ""},
|
||||||
{"title": "Proton", "url": "https://mail.proton.me/u/0/inbox", "icon": ""},
|
{"title": "Proton", "url": "https://mail.proton.me/u/0/inbox", "icon": ""},
|
||||||
{"title": "Cloudflare One", "url": "https://one.dash.cloudflare.com/", "icon": ""},
|
{"title": "Cloudflare One", "url": "https://one.dash.cloudflare.com/", "icon": ""},
|
||||||
|
@ -26,10 +26,4 @@ let
|
|||||||
brightness-change down ${increments}
|
brightness-change down ${increments}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
in {
|
in { home.packages = [ brightness-change brightness-up brightness-down ]; }
|
||||||
home.packages = with pkgs; [
|
|
||||||
brightness-change
|
|
||||||
brightness-up
|
|
||||||
brightness-down
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
{ pkgs, config, ... }:
|
{ pkgs, ... }:
|
||||||
let
|
let
|
||||||
homedir = config.home.homeDirectory;
|
|
||||||
|
|
||||||
caffeine-status = pkgs.writeShellScriptBin "caffeine-status" ''
|
caffeine-status = pkgs.writeShellScriptBin "caffeine-status" ''
|
||||||
[[ -f /tmp/caffeine ]] && echo "active" || echo "inactive"
|
[[ -f /tmp/caffeine ]] && echo "active" || echo "inactive"
|
||||||
'';
|
'';
|
||||||
@ -20,4 +18,4 @@ let
|
|||||||
--replace-id="$(cat "/tmp/nixy-notification" 2>/dev/null || echo 0)" --print-id > "/tmp/nixy-notification"
|
--replace-id="$(cat "/tmp/nixy-notification" 2>/dev/null || echo 0)" --print-id > "/tmp/nixy-notification"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
in { home.packages = with pkgs; [ caffeine-status caffeine ]; }
|
in { home.packages = [ caffeine-status caffeine ]; }
|
||||||
|
@ -11,6 +11,7 @@ let
|
|||||||
echo "Wrong number of arguments..."
|
echo "Wrong number of arguments..."
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
|
||||||
extract = pkgs.writeShellScriptBin "extract" ''
|
extract = pkgs.writeShellScriptBin "extract" ''
|
||||||
for i in "$@" ; do
|
for i in "$@" ; do
|
||||||
tar -xvzf $i
|
tar -xvzf $i
|
||||||
@ -18,4 +19,4 @@ let
|
|||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
in { home.packages = with pkgs; [ compress extract ]; }
|
in { home.packages = [ compress extract ]; }
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
{ pkgs, config, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
homedir = config.home.homeDirectory;
|
|
||||||
|
|
||||||
menu = pkgs.writeShellScriptBin "menu" ''
|
menu = pkgs.writeShellScriptBin "menu" ''
|
||||||
if pgrep wofi; then
|
if pgrep wofi; then
|
||||||
pkill wofi
|
pkill wofi
|
||||||
@ -27,4 +25,4 @@ let
|
|||||||
nvim $HOME/Nextcloud/obsidian
|
nvim $HOME/Nextcloud/obsidian
|
||||||
'';
|
'';
|
||||||
|
|
||||||
in { home.packages = with pkgs; [ menu wireguard-import powermenu vault ]; }
|
in { home.packages = [ menu wireguard-import powermenu vault ]; }
|
||||||
|
@ -26,10 +26,9 @@ let
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
in {
|
in {
|
||||||
home.packages = with pkgs; [ nerdfont-fzf nerdfont-fzf-fetch nerdfont-popup ];
|
home.packages = [ nerdfont-fzf nerdfont-fzf-fetch nerdfont-popup ];
|
||||||
|
|
||||||
xdg.configFile."nerdfont_glyphnames.json" = {
|
xdg.configFile."nerdfont_glyphnames.json" = {
|
||||||
source = ./nerdfont_glyphnames.json;
|
source = ./nerdfont_glyphnames.json;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -17,4 +17,4 @@ let
|
|||||||
--replace-id="$(cat "/tmp/nixy-notification" 2>/dev/null || echo 0)" --print-id > "/tmp/nixy-notification"
|
--replace-id="$(cat "/tmp/nixy-notification" 2>/dev/null || echo 0)" --print-id > "/tmp/nixy-notification"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
in { home.packages = with pkgs; [ night-shift-on night-shift-off ]; }
|
in { home.packages = [ night-shift-on night-shift-off ]; }
|
||||||
|
@ -71,12 +71,6 @@ let
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
in {
|
in {
|
||||||
home.packages = with pkgs; [
|
home.packages =
|
||||||
nixy
|
[ nixy nixy-rebuild nixy-upgrade nixy-update nixy-gc nixy-cb ];
|
||||||
nixy-rebuild
|
|
||||||
nixy-upgrade
|
|
||||||
nixy-update
|
|
||||||
nixy-gc
|
|
||||||
nixy-cb
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
@ -6,4 +6,9 @@ let
|
|||||||
ssh jack -S -C "cd /home/hadi/.config/nixos && git pull && sudo -S nixos-rebuild switch --flake ~/.config/nixos#jack"
|
ssh jack -S -C "cd /home/hadi/.config/nixos && git pull && sudo -S nixos-rebuild switch --flake ~/.config/nixos#jack"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
in { home.packages = with pkgs; [ remote-rebuild ]; }
|
remote-push = pkgs.writeShellScriptBin "remote-push" ''
|
||||||
|
cd ~/.config/nixos && git add . && git commit -m "update" && git push
|
||||||
|
remote-rebuild
|
||||||
|
'';
|
||||||
|
|
||||||
|
in { home.packages = [ remote-rebuild remote-push ]; }
|
||||||
|
@ -30,4 +30,4 @@ let
|
|||||||
--icon="$folder/$filename" \
|
--icon="$folder/$filename" \
|
||||||
--replace-id="$(cat "/tmp/nixy-notification" 2>/dev/null || echo 0)" --print-id > "/tmp/nixy-notification"
|
--replace-id="$(cat "/tmp/nixy-notification" 2>/dev/null || echo 0)" --print-id > "/tmp/nixy-notification"
|
||||||
'';
|
'';
|
||||||
in { home.packages = with pkgs; [ hyprshot screenshot ]; }
|
in { home.packages = [ pkgs.hyprshot screenshot ]; }
|
||||||
|
@ -1,19 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# _
|
|
||||||
#| |_ ___ __ ___ _____ _ _
|
|
||||||
#| ' \/ -_) _` \ V / -_) ' \
|
|
||||||
#|_||_\___\__,_|\_/\___|_||_|
|
|
||||||
|
|
||||||
|
|
||||||
# Disk state
|
|
||||||
# Raid state
|
|
||||||
|
|
||||||
# Apps
|
|
||||||
# Apps state
|
|
||||||
|
|
||||||
# Is local network reachable (wireguard started)
|
|
||||||
|
|
||||||
# uptime
|
|
||||||
# Network speed
|
|
@ -83,11 +83,6 @@ let
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
in {
|
in {
|
||||||
home.packages = with pkgs; [
|
home.packages =
|
||||||
sound-output
|
[ sound-output sound-change sound-up sound-down sound-toggle ];
|
||||||
sound-change
|
|
||||||
sound-up
|
|
||||||
sound-down
|
|
||||||
sound-toggle
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
@ -13,4 +13,4 @@ let
|
|||||||
wlr-randr --output "Unknown-1" --off # FIX: REMOVE WEIRD GHOST MONITOR
|
wlr-randr --output "Unknown-1" --off # FIX: REMOVE WEIRD GHOST MONITOR
|
||||||
'';
|
'';
|
||||||
|
|
||||||
in { home.packages = with pkgs; [ startup ]; }
|
in { home.packages = [ startup ]; }
|
||||||
|
@ -38,6 +38,4 @@ let
|
|||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
|
||||||
in {
|
in { home.packages = [ notify-system battery-plugged battery-level ]; }
|
||||||
home.packages = with pkgs; [ notify-system battery-plugged battery-level ];
|
|
||||||
}
|
|
||||||
|
@ -35,4 +35,4 @@ let
|
|||||||
ui
|
ui
|
||||||
'';
|
'';
|
||||||
|
|
||||||
in { home.packages = with pkgs; [ tofi ]; }
|
in { home.packages = [ tofi ]; }
|
||||||
|
@ -2,21 +2,27 @@
|
|||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./variables.nix
|
./variables.nix
|
||||||
./modules/security.nix
|
|
||||||
./modules/openssh.nix
|
|
||||||
./modules/sops.nix
|
|
||||||
./modules/cloudflare-dyndns.nix
|
|
||||||
./modules/nginx.nix
|
|
||||||
./modules/nextcloud.nix
|
|
||||||
./modules/vaultwarden.nix
|
|
||||||
./modules/www
|
|
||||||
./modules/adguard.nix
|
|
||||||
./modules/ntfy-sh.nix
|
|
||||||
./modules/tailscale.nix
|
|
||||||
./modules/kuma.nix
|
|
||||||
# ./modules/bitcoin-git.nix # FIXME: bitcoin-git is deprecated
|
|
||||||
# ./modules/unifi.nix # FIXME: unifi5 is deprecated
|
|
||||||
|
|
||||||
|
# internal
|
||||||
|
./modules/internal/security.nix
|
||||||
|
./modules/internal/openssh.nix
|
||||||
|
./modules/internal/sops.nix
|
||||||
|
./modules/internal/adguard.nix
|
||||||
|
# ./modules/internal/unifi.nix # FIXME: unifi5 is deprecated
|
||||||
|
|
||||||
|
# exposed
|
||||||
|
./modules/exposed/ntfy-sh.nix
|
||||||
|
./modules/exposed/tailscale.nix
|
||||||
|
./modules/exposed/kuma.nix
|
||||||
|
./modules/exposed/cloudflare-dyndns.nix
|
||||||
|
./modules/exposed/nginx.nix
|
||||||
|
./modules/exposed/nextcloud.nix
|
||||||
|
./modules/exposed/vaultwarden.nix
|
||||||
|
# ./modules/exposed/bitcoin-git.nix # FIXME: bitcoin-git is deprecated
|
||||||
|
./modules/www
|
||||||
|
|
||||||
|
# jackflix
|
||||||
|
./modules/jackflix/jellyfin.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
|
6
hosts/server/modules/jackflix/jellyfin.nix
Normal file
6
hosts/server/modules/jackflix/jellyfin.nix
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
services.jellyfin = {
|
||||||
|
enable = true;
|
||||||
|
openFirewall = true;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user