updates for darwin
This commit is contained in:
@@ -5,17 +5,7 @@
|
||||
hostname,
|
||||
hostTypes,
|
||||
...
|
||||
}: let
|
||||
list-keybinds = pkgs.writeShellScriptBin "list-keybinds" ''
|
||||
hyprctl binds -j | ${pkgs.jq}/bin/jq -r '.[] |
|
||||
select(.dispatcher != "") |
|
||||
"[\(.modmask_str // "NONE")] + \(.key) → \(.dispatcher) \(.arg // "")"
|
||||
' | ${pkgs.rofi}/bin/rofi -dmenu \
|
||||
-i \
|
||||
-p "Keybinds" \
|
||||
-theme-str 'window {width: 60%;}'
|
||||
'';
|
||||
in {
|
||||
}: {
|
||||
imports = [
|
||||
./direnv.nix
|
||||
# ./custom/custom.nix
|
||||
@@ -43,8 +33,6 @@ in {
|
||||
basalt
|
||||
btop
|
||||
cpufetch
|
||||
cpuid
|
||||
cpu-x
|
||||
curl
|
||||
dig
|
||||
docker
|
||||
@@ -67,7 +55,6 @@ in {
|
||||
lazyjournal
|
||||
manga-tui
|
||||
mcat
|
||||
netop
|
||||
nettools
|
||||
nix-du
|
||||
nixfmt
|
||||
@@ -89,7 +76,6 @@ in {
|
||||
yazi
|
||||
yt-dlp
|
||||
zstd
|
||||
list-keybinds
|
||||
]
|
||||
# Desktop-specific packages (Linux desktops and macOS)
|
||||
++ lib.optionals (!(hostTypes.isServer hostname)) (with pkgs; [
|
||||
@@ -102,21 +88,27 @@ in {
|
||||
])
|
||||
# Server-specific packages
|
||||
++ lib.optionals (hostTypes.isServer hostname) (with pkgs; [
|
||||
cpu-x
|
||||
cpuid
|
||||
ffmpeg-full
|
||||
gparted
|
||||
netop
|
||||
parted
|
||||
plocate
|
||||
tailscale
|
||||
tlp
|
||||
traceroute
|
||||
ffmpeg-full
|
||||
pkgs-unstable.witr
|
||||
])
|
||||
# Linux desktop packages
|
||||
++ lib.optionals (hostTypes.isLinuxDesktop hostname) (with pkgs; [
|
||||
plocate
|
||||
tlp
|
||||
swaynotificationcenter
|
||||
cpu-x
|
||||
cpuid
|
||||
gparted
|
||||
netop
|
||||
plocate
|
||||
swaynotificationcenter
|
||||
tlp
|
||||
nerd-fonts.jetbrains-mono
|
||||
nerd-fonts.hack
|
||||
nerd-fonts.fira-code
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{
|
||||
{pkgs, lib, ...}:
|
||||
lib.mkIf (!pkgs.stdenv.isDarwin) {
|
||||
programs.newsboat = {
|
||||
enable = true;
|
||||
urls = [
|
||||
|
||||
@@ -4,7 +4,17 @@
|
||||
hostTypes,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
}: let
|
||||
list-keybinds = pkgs.writeShellScriptBin "list-keybinds" ''
|
||||
hyprctl binds -j | ${pkgs.jq}/bin/jq -r '.[] |
|
||||
select(.dispatcher != "") |
|
||||
"[\(.modmask_str // "NONE")] + \(.key) → \(.dispatcher) \(.arg // "")"
|
||||
' | ${pkgs.rofi}/bin/rofi -dmenu \
|
||||
-i \
|
||||
-p "Keybinds" \
|
||||
-theme-str 'window {width: 60%;}'
|
||||
'';
|
||||
in {
|
||||
imports =
|
||||
# Desktop programs (exclude servers)
|
||||
lib.optionals (hostTypes.isLinuxDesktop hostname) [
|
||||
@@ -122,7 +132,10 @@
|
||||
openrazer-daemon
|
||||
polychromatic
|
||||
# vscode
|
||||
]);
|
||||
])
|
||||
++ lib.optionals (hostTypes.isLinuxDesktop hostname) [
|
||||
list-keybinds
|
||||
];
|
||||
|
||||
services.swaync = lib.mkIf (hostTypes.isLinuxDesktop hostname) {
|
||||
enable = true;
|
||||
|
||||
@@ -80,6 +80,7 @@
|
||||
"imhex"
|
||||
"jellyfin-media-player"
|
||||
"jordanbaird-ice"
|
||||
#"lm-studio"
|
||||
"localsend"
|
||||
"melonds"
|
||||
"moonlight"
|
||||
|
||||
Reference in New Issue
Block a user