update
This commit is contained in:
parent
f8786dd24f
commit
c5420f8d3a
@ -16,6 +16,7 @@ let
|
||||
{
|
||||
"name": "Bookmarks",
|
||||
"links": [
|
||||
{"title": "MyNixOs", "url": "https://mynixos.com", "icon": ""},
|
||||
{"title": "Github", "url": "https://github.com", "icon": ""},
|
||||
{"title": "Proton", "url": "https://mail.proton.me/u/0/inbox", "icon": ""},
|
||||
{"title": "Cloudflare One", "url": "https://one.dash.cloudflare.com/", "icon": ""},
|
||||
|
@ -26,10 +26,4 @@ let
|
||||
brightness-change down ${increments}
|
||||
'';
|
||||
|
||||
in {
|
||||
home.packages = with pkgs; [
|
||||
brightness-change
|
||||
brightness-up
|
||||
brightness-down
|
||||
];
|
||||
}
|
||||
in { home.packages = [ brightness-change brightness-up brightness-down ]; }
|
||||
|
@ -1,7 +1,5 @@
|
||||
{ pkgs, config, ... }:
|
||||
{ pkgs, ... }:
|
||||
let
|
||||
homedir = config.home.homeDirectory;
|
||||
|
||||
caffeine-status = pkgs.writeShellScriptBin "caffeine-status" ''
|
||||
[[ -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"
|
||||
'';
|
||||
|
||||
in { home.packages = with pkgs; [ caffeine-status caffeine ]; }
|
||||
in { home.packages = [ caffeine-status caffeine ]; }
|
||||
|
@ -11,6 +11,7 @@ let
|
||||
echo "Wrong number of arguments..."
|
||||
fi
|
||||
'';
|
||||
|
||||
extract = pkgs.writeShellScriptBin "extract" ''
|
||||
for i in "$@" ; do
|
||||
tar -xvzf $i
|
||||
@ -18,4 +19,4 @@ let
|
||||
done
|
||||
'';
|
||||
|
||||
in { home.packages = with pkgs; [ compress extract ]; }
|
||||
in { home.packages = [ compress extract ]; }
|
||||
|
@ -1,8 +1,6 @@
|
||||
{ pkgs, config, ... }:
|
||||
{ pkgs, ... }:
|
||||
|
||||
let
|
||||
homedir = config.home.homeDirectory;
|
||||
|
||||
menu = pkgs.writeShellScriptBin "menu" ''
|
||||
if pgrep wofi; then
|
||||
pkill wofi
|
||||
@ -27,4 +25,4 @@ let
|
||||
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 {
|
||||
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" = {
|
||||
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"
|
||||
'';
|
||||
|
||||
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 {
|
||||
home.packages = with pkgs; [
|
||||
nixy
|
||||
nixy-rebuild
|
||||
nixy-upgrade
|
||||
nixy-update
|
||||
nixy-gc
|
||||
nixy-cb
|
||||
];
|
||||
home.packages =
|
||||
[ nixy 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"
|
||||
'';
|
||||
|
||||
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" \
|
||||
--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 {
|
||||
home.packages = with pkgs; [
|
||||
sound-output
|
||||
sound-change
|
||||
sound-up
|
||||
sound-down
|
||||
sound-toggle
|
||||
];
|
||||
home.packages =
|
||||
[ sound-output sound-change sound-up sound-down sound-toggle ];
|
||||
}
|
||||
|
@ -13,4 +13,4 @@ let
|
||||
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
|
||||
'';
|
||||
|
||||
in {
|
||||
home.packages = with pkgs; [ notify-system battery-plugged battery-level ];
|
||||
}
|
||||
in { home.packages = [ notify-system battery-plugged battery-level ]; }
|
||||
|
@ -35,4 +35,4 @@ let
|
||||
ui
|
||||
'';
|
||||
|
||||
in { home.packages = with pkgs; [ tofi ]; }
|
||||
in { home.packages = [ tofi ]; }
|
||||
|
@ -2,21 +2,27 @@
|
||||
imports = [
|
||||
./hardware-configuration.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.
|
||||
|
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