push
This commit is contained in:
1 parent
409c2be1d6
commit
ef19a50302
31 files changed
+710
-124
No files matched your search
Generated
+99
-22
@@ -180,6 +180,21 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"crane": {
|
||||
"locked": {
|
||||
"lastModified": 1790899423,
|
||||
"narHash": "sha256-THGtz65UGJU+sonZidRboyCMk+9DclpMF7pwL4uDV4M=",
|
||||
"owner": "ipetkov",
|
||||
"repo": "crane",
|
||||
"rev": "47b6b27ed9a3a9181415e4367d0c30ab2a0e0250",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "ipetkov",
|
||||
"repo": "crane",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"den": {
|
||||
"locked": {
|
||||
"lastModified": 1792099092,
|
||||
@@ -728,26 +743,6 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"neu-nix": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1791854662,
|
||||
"narHash": "sha256-3hzfl7qAWZQDmu7iToq9v6WcC3DUG2e5PdOxRRn9TkY=",
|
||||
"owner": "ricardomaps",
|
||||
"repo": "neu-nix",
|
||||
"rev": "452132651a1d6eeee9f7cea96905276f1275a1ec",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "ricardomaps",
|
||||
"repo": "neu-nix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"niri": {
|
||||
"inputs": {
|
||||
"niri-stable": "niri-stable",
|
||||
@@ -1370,7 +1365,6 @@
|
||||
"millennium": "millennium",
|
||||
"minecraft": "minecraft",
|
||||
"minecraft-metadata": "minecraft-metadata",
|
||||
"neu-nix": "neu-nix",
|
||||
"niri": "niri",
|
||||
"nix-alien": "nix-alien",
|
||||
"nix-cachyos-kernel": "nix-cachyos-kernel",
|
||||
@@ -1384,11 +1378,79 @@
|
||||
"nixpkgs"
|
||||
],
|
||||
"noctalia": "noctalia",
|
||||
"rosemary": "rosemary",
|
||||
"steam-config-nix": "steam-config-nix",
|
||||
"stylix": "stylix",
|
||||
"umbriel": "umbriel",
|
||||
"vscode-server": "vscode-server"
|
||||
}
|
||||
},
|
||||
"rosemary": {
|
||||
"inputs": {
|
||||
"crane": "crane",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
],
|
||||
"rust-overlay": "rust-overlay"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1792296708,
|
||||
"narHash": "sha256-R7MjgTZFMl1dUZqTwDEVpdQKnkU2Sm4py9/S+KZeZhM=",
|
||||
"owner": "microlift",
|
||||
"repo": "rosemary",
|
||||
"rev": "77c38c95a62f4d0c7cfa475d195246638bd40650",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "microlift",
|
||||
"repo": "rosemary",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"rust-overlay": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1790928989,
|
||||
"narHash": "sha256-5r3MN/Rx7N9tLapCBmUq6/zCc3C9J7gNif1HybD1fJQ=",
|
||||
"owner": "oxalica",
|
||||
"repo": "rust-overlay",
|
||||
"rev": "368fee9beaab04ca6fe7af28db63caa9badb22fa",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "oxalica",
|
||||
"repo": "rust-overlay",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"steam-config-nix": {
|
||||
"inputs": {
|
||||
"flake-parts": [
|
||||
"flake-parts"
|
||||
],
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
],
|
||||
"systems": "systems_4"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1792111133,
|
||||
"narHash": "sha256-UGPRL5Lo+QTvQC1s5IPd+NIhDF48Zd6eKuzjbFIcFeI=",
|
||||
"owner": "different-name",
|
||||
"repo": "steam-config-nix",
|
||||
"rev": "ae75eb33cfd73929f519882cc8ec8294bfdc3c0d",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "different-name",
|
||||
"repo": "steam-config-nix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"stylix": {
|
||||
"inputs": {
|
||||
"base16": "base16",
|
||||
@@ -1402,7 +1464,7 @@
|
||||
"nixpkgs"
|
||||
],
|
||||
"nur": "nur",
|
||||
"systems": "systems_4",
|
||||
"systems": "systems_5",
|
||||
"tinted-kitty": "tinted-kitty",
|
||||
"tinted-schemes": "tinted-schemes",
|
||||
"tinted-tmux": "tinted-tmux",
|
||||
@@ -1468,6 +1530,21 @@
|
||||
}
|
||||
},
|
||||
"systems_4": {
|
||||
"locked": {
|
||||
"lastModified": 1680978846,
|
||||
"narHash": "sha256-Gtqg8b/v49BFDpDetjclCYXm8mAnTrUzR0JnE2nv5aw=",
|
||||
"owner": "nix-systems",
|
||||
"repo": "x86_64-linux",
|
||||
"rev": "2ecfcac5e15790ba6ce360ceccddb15ad16d08a8",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-systems",
|
||||
"repo": "x86_64-linux",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"systems_5": {
|
||||
"locked": {
|
||||
"lastModified": 1774449309,
|
||||
"narHash": "sha256-brhZ8DmuGtzkCYHJg4HEd602amKm89Y9ytsFZ5uWD1w=",
|
||||
|
||||
@@ -33,10 +33,6 @@
|
||||
inputs.metadata.follows = "minecraft-metadata";
|
||||
};
|
||||
minecraft-metadata.url = "github:Ninlives/minecraft.json";
|
||||
neu-nix = {
|
||||
url = "github:ricardomaps/neu-nix";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
niri.url = "github:sodiboo/niri-flake";
|
||||
nix-alien = {
|
||||
url = "github:thiagokokada/nix-alien";
|
||||
@@ -57,6 +53,17 @@
|
||||
url = "github:noctalia-dev/noctalia";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
rosemary = {
|
||||
url = "github:microlift/rosemary";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
steam-config-nix = {
|
||||
url = "github:different-name/steam-config-nix";
|
||||
inputs = {
|
||||
flake-parts.follows = "flake-parts";
|
||||
nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
stylix = {
|
||||
url = "github:nix-community/stylix";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
@@ -16,13 +16,12 @@
|
||||
|
||||
software.shell
|
||||
|
||||
# host-only: den.default also reaches standalone homes
|
||||
({ host, ... }: { includes = [ system.theme.catppuccin ]; })
|
||||
];
|
||||
|
||||
nixos = {
|
||||
home-manager = {
|
||||
#useGlobalPkgs = true;
|
||||
# useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
backupFileExtension = "hm-backup";
|
||||
};
|
||||
|
||||
@@ -5,7 +5,10 @@
|
||||
|
||||
den.aspects.nix = {
|
||||
# TODO: copy nix's /etc/nixos/hardware-configuration.nix to ./_hw/nix.nix (impure until then)
|
||||
nixos.imports = [ /etc/nixos/hardware-configuration.nix ];
|
||||
nixos = { pkgs, ... }: {
|
||||
imports = [ /etc/nixos/hardware-configuration.nix ];
|
||||
boot.kernelPackages = pkgs.cachyosKernels.linuxPackages-cachyos-latest-lto-x86_64-v3;
|
||||
};
|
||||
|
||||
includes = with den.aspects; [
|
||||
den.default
|
||||
|
||||
@@ -8,9 +8,6 @@
|
||||
desktop
|
||||
|
||||
system.graphics.amdgpu
|
||||
system.network.cloudflare-warp
|
||||
|
||||
system.desktop.neu
|
||||
|
||||
system.desktop.niri
|
||||
system.desktop.noctalia
|
||||
@@ -19,9 +16,11 @@
|
||||
system.hardware.autocpufreq
|
||||
];
|
||||
|
||||
nixos = {
|
||||
nixos = { pkgs, ... }: {
|
||||
imports = [ ./_hw/styx.nix ];
|
||||
|
||||
boot.kernelPackages = pkgs.cachyosKernels.linuxPackages-cachyos-latest-lto-zen4;
|
||||
|
||||
services.logind.settings.Login = {
|
||||
HandleLidSwitch = "ignore";
|
||||
HandleLidSwitchDocked = "ignore";
|
||||
|
||||
+4
-1
@@ -28,7 +28,10 @@
|
||||
software.terminal
|
||||
];
|
||||
|
||||
nixos.programs.ydotool.enable = true;
|
||||
nixos = {
|
||||
documentation.man.cache.enable = false;
|
||||
systemd.settings.Manager.DefaultTimeoutStopSec = "10s";
|
||||
};
|
||||
};
|
||||
|
||||
den.aspects.server = {
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
# url = "git+https://git.bug.tools/bug/tv.git";
|
||||
# inputs.nixpkgs.follows = "nixpkgs";
|
||||
#};
|
||||
|
||||
den.aspects.services.bugtv = let port = port; in {
|
||||
tunnel = { subdomain = "api-tv"; inherit port; };
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
systemd.services.glances-web = {
|
||||
description = "glances web interface";
|
||||
#after = [ "network-online.target" ];
|
||||
# after = [ "network-online.target" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
|
||||
serviceConfig = {
|
||||
|
||||
@@ -16,6 +16,8 @@
|
||||
nixfmt
|
||||
# editors
|
||||
micro
|
||||
# terminal
|
||||
herdr
|
||||
# net
|
||||
inetutils
|
||||
wget
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
{
|
||||
den.aspects.software.cli = let
|
||||
# llama endpoint lives on the entity's domain (host, or standalone home)
|
||||
llama = e: { homeManager.programs.opencode.settings.provider."llama.cpp".options.baseURL = "https://llama.${e.domain}/v1"; };
|
||||
in {
|
||||
includes = [ ({ host, ... }: llama host) ({ home, ... }: llama home) ];
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
den.aspects.software.dev.homeManager = { pkgs, ... }: {
|
||||
home.packages = with pkgs; [
|
||||
jdk25
|
||||
love
|
||||
python314Packages.pyside6
|
||||
];
|
||||
};
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
den.aspects.software.editors.homeManager = { pkgs, ... }: {
|
||||
home.packages = with pkgs; [
|
||||
zed-editor
|
||||
#arduino-ide
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -4,7 +4,6 @@
|
||||
steamtinkerlaunch
|
||||
scanmem
|
||||
samrewritten
|
||||
lug-helper
|
||||
gamemode
|
||||
steam-run
|
||||
];
|
||||
|
||||
@@ -0,0 +1,65 @@
|
||||
{ inputs, ... }: {
|
||||
flake-file.inputs.rosemary = {
|
||||
url = "github:microlift/rosemary";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
den.aspects.software.gaming.homeManager = { pkgs, ... }:
|
||||
let
|
||||
rosemary = inputs.rosemary.packages.${pkgs.stdenv.hostPlatform.system}.rosemary;
|
||||
|
||||
mkRoblox = { name, kind, channel, zip, app }: pkgs.writeShellApplication {
|
||||
inherit name;
|
||||
runtimeInputs = [ pkgs.curl pkgs.jq pkgs.unzip pkgs.coreutils pkgs.findutils rosemary ];
|
||||
text = ''
|
||||
base="''${XDG_DATA_HOME:-$HOME/.local/share}/roblox-macos/${kind}"
|
||||
mkdir -p "$base"
|
||||
|
||||
if version=$(curl -fsSL https://clientsettingscdn.roblox.com/v2/client-version/${channel} | jq -er .clientVersionUpload); then
|
||||
dir="$base/$version"
|
||||
if [ ! -d "$dir/${app}" ]; then
|
||||
tmp=$(mktemp -d "$base/.dl.XXXXXX")
|
||||
trap 'rm -rf "$tmp"' EXIT
|
||||
curl -fL -o "$tmp/r.zip" "https://setup.rbxcdn.com/mac/$version-${zip}"
|
||||
unzip -q "$tmp/r.zip" -d "$tmp/out"
|
||||
rm -rf "$dir"
|
||||
mv "$tmp/out" "$dir"
|
||||
fi
|
||||
else
|
||||
echo "${name}: version lookup failed, using newest cached build" >&2
|
||||
dir=$(find "$base" -mindepth 1 -maxdepth 1 -name 'version-*' -printf '%T@ %p\n' | sort -rn | head -n1 | cut -d' ' -f2-)
|
||||
[ -n "$dir" ] || { echo "${name}: nothing cached" >&2; exit 1; }
|
||||
fi
|
||||
|
||||
exec rosemary run "$dir/${app}" "$@"
|
||||
'';
|
||||
};
|
||||
in
|
||||
{
|
||||
imports = [ inputs.rosemary.homeManagerModules.default ];
|
||||
|
||||
# programs.rosemary.steam.enable = true; # adds "Rosemary" to Steam compatibilitytools.d; pick it per-game in Steam > Properties > Compatibility
|
||||
|
||||
home.packages = [
|
||||
rosemary
|
||||
(mkRoblox { name = "roblox"; kind = "player"; channel = "MacPlayer"; zip = "RobloxPlayer.zip"; app = "RobloxPlayer.app"; })
|
||||
(mkRoblox { name = "roblox-studio"; kind = "studio"; channel = "MacStudio"; zip = "RobloxStudioApp.zip"; app = "RobloxStudio.app"; })
|
||||
];
|
||||
|
||||
xdg.desktopEntries = {
|
||||
roblox-macos = {
|
||||
name = "Roblox (macOS)";
|
||||
exec = "roblox %u";
|
||||
categories = [ "Game" ];
|
||||
mimeType = [ "x-scheme-handler/roblox-player" "x-scheme-handler/roblox" ];
|
||||
};
|
||||
|
||||
roblox-studio-macos = {
|
||||
name = "Roblox Studio (macOS)";
|
||||
exec = "roblox-studio %u";
|
||||
categories = [ "Development" ];
|
||||
mimeType = [ "x-scheme-handler/roblox-studio" "x-scheme-handler/roblox-studio-auth" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
{ inputs, ... }: {
|
||||
flake-file.inputs.steam-config-nix = {
|
||||
url = "github:different-name/steam-config-nix";
|
||||
inputs = {
|
||||
nixpkgs.follows = "nixpkgs";
|
||||
flake-parts.follows = "flake-parts";
|
||||
};
|
||||
};
|
||||
|
||||
# Declarative Steam config (https://different-name.github.io/steam-config-nix).
|
||||
# The NixOS module needs no user option: it runs steam-config-patcher@<user>
|
||||
# for every normal user. One file per game lives next to this one
|
||||
# (see half-life-2.nix); app keys are Steam App IDs from the store URL.
|
||||
#
|
||||
# WARNING: anything using the wrapper (args/env/wrappers/preHook/dllOverrides/
|
||||
# rawLaunchOptions) OVERWRITES the launch options you set by hand in Steam.
|
||||
# Move hand-written strings into rawLaunchOptions instead.
|
||||
#
|
||||
# programs.steam.config = {
|
||||
# onSteamRunning = "wait"; # default; or "close" (waits for games),
|
||||
# # "force-close" (even mid-game), "skip" (next activation)
|
||||
# defaultCompatTool = "proton_experimental"; # or a package: pkgs.proton-ge-bin
|
||||
# apps."1234560" = {
|
||||
# name = "Some Game";
|
||||
# compatTool = pkgs.proton-ge-bin; # per-game Proton
|
||||
# args = [ "-vulkan" ]; # appended after the game command
|
||||
# env = { MANGOHUD = "1"; DXVK_ASYNC = "1"; TZ = null; }; # null = unset
|
||||
# wrappers = [ "gamemoderun" "mangohud" ]; # outermost first
|
||||
# dllOverrides = { winhttp = "n,b"; }; # -> WINEDLLOVERRIDES
|
||||
# preHook = ''echo "launching $*"''; # runs right before exec
|
||||
# # or the classic Steam string instead of the structured options:
|
||||
# # rawLaunchOptions = "gamemoderun %command%";
|
||||
# };
|
||||
# };
|
||||
|
||||
den.aspects.software.gaming.nixos = {
|
||||
imports = [ inputs.steam-config-nix.nixosModules.default ];
|
||||
|
||||
programs.steam.config.enable = true;
|
||||
};
|
||||
}
|
||||
@@ -23,7 +23,7 @@
|
||||
proton-ge-bin
|
||||
];
|
||||
|
||||
#platformOptimizations.enable = true;
|
||||
# platformOptimizations.enable = true;
|
||||
};
|
||||
|
||||
gamescope = {
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
den.aspects.software.gaming.nixos.programs.steam.config.apps."70" = {
|
||||
name = "Half-Life";
|
||||
args = [ "-novid" ];
|
||||
wrappers = [ "gamemoderun" ];
|
||||
};
|
||||
}
|
||||
@@ -4,10 +4,9 @@
|
||||
|
||||
homeManager = { pkgs, ... }: {
|
||||
home.packages = with pkgs; [
|
||||
euphonica
|
||||
rhythmbox
|
||||
kew
|
||||
audacious
|
||||
nicotine-plus
|
||||
songrec
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
pulse.enable = true;
|
||||
|
||||
#lowLatency.enable = false;
|
||||
# lowLatency.enable = false;
|
||||
|
||||
jack.enable = true;
|
||||
};
|
||||
|
||||
@@ -2,15 +2,16 @@
|
||||
flake-file.inputs.nix-cachyos-kernel.url = "github:xddxdd/nix-cachyos-kernel/release";
|
||||
|
||||
den.aspects.system.kernel = {
|
||||
nixos = { pkgs, ... }: {
|
||||
nixos = { pkgs, lib, ... }: {
|
||||
nixpkgs.overlays = [ inputs.nix-cachyos-kernel.overlays.pinned ];
|
||||
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
boot.kernelPackages = lib.mkDefault pkgs.linuxPackages_latest;
|
||||
|
||||
#boot.kernelPackages = pkgs.cachyosKernels.linuxPackages-cachyos-latest;
|
||||
|
||||
#nix.settings.substituters = [ "https://attic.xuyh0120.win/lantian" ];
|
||||
#nix.settings.trusted-public-keys = [ "lantian:EeAUQ+W+6r7EtwnmYjeVwx5kOGEBpjlBfPlzGlTNvHc=" ];
|
||||
nix.settings.substituters = [ "https://attic.xuyh0120.win/lantian" "https://cache.xinux.uz" ];
|
||||
nix.settings.trusted-public-keys = [
|
||||
"lantian:EeAUQ+W+6r7EtwnmYjeVwx5kOGEBpjlBfPlzGlTNvHc="
|
||||
"cache.xinux.uz:BXCrtqejFjWzWEB9YuGB7X2MV4ttBur1N8BkwQRdH+0="
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -5,11 +5,6 @@
|
||||
"fs.file-max" = 524288;
|
||||
};
|
||||
|
||||
swapDevices = [{
|
||||
device = "/var/lib/swapfile";
|
||||
size = 8 * 1024;
|
||||
}];
|
||||
|
||||
zramSwap = {
|
||||
enable = true;
|
||||
memoryMax = 64 * 1024 * 1024 * 1024;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
den.aspects.system.virtualisation = {
|
||||
nixos = { pkgs, ... }: {
|
||||
nixos = {
|
||||
virtualisation = {
|
||||
libvirtd.enable = true;
|
||||
|
||||
@@ -8,8 +8,6 @@
|
||||
};
|
||||
|
||||
programs.virt-manager.enable = true;
|
||||
|
||||
environment.systemPackages = [ pkgs.gnome-boxes ];
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
{ inputs, ... }: {
|
||||
flake-file.inputs.neu-nix = {
|
||||
url = "github:ricardomaps/neu-nix";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
den.aspects.system.desktop.neu = {
|
||||
nixos = { pkgs, ... }: {
|
||||
nixpkgs.overlays = [ inputs.neu-nix.overlays.default ];
|
||||
|
||||
environment.systemPackages = [ pkgs.shko pkgs.neuswc ];
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -1,26 +0,0 @@
|
||||
{ inputs, ...}: {
|
||||
flake-file.inputs.noctalia = {
|
||||
url = "github:noctalia-dev/noctalia";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
den.aspects.system.desktop.noctalia = {
|
||||
nixos = { pkgs, ... }: {
|
||||
imports = [ inputs.noctalia.nixosModules.default ];
|
||||
|
||||
programs.noctalia.enable = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
slurp
|
||||
grim
|
||||
hyprpicker
|
||||
tesseract
|
||||
imagemagick
|
||||
zbar
|
||||
curl
|
||||
jq
|
||||
ffmpeg
|
||||
mpv
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,364 @@
|
||||
[audio]
|
||||
enable_overdrive = true
|
||||
enable_screenshot_sounds = false
|
||||
|
||||
[bar.default]
|
||||
center = [ "taskbar" ]
|
||||
end = [ "tray", "media", "clock", "clipboard", "volume", "battery", "control-center", "session" ]
|
||||
start = [ "launcher", "status", "nix-monitor", "widget", "bar", "workspaces", "bar_2" ]
|
||||
|
||||
[brightness]
|
||||
sync_all_monitors = true
|
||||
|
||||
[calendar]
|
||||
enabled = true
|
||||
event_time_format = "{:%-I:%M %p}"
|
||||
|
||||
[calendar.account.subscription]
|
||||
name = "schedule"
|
||||
server_url = "https://files.bug.tools/test/schedule.2026FA.ics?k=W32J"
|
||||
type = "ics"
|
||||
|
||||
[control_center.calendar]
|
||||
|
||||
[desktop_widgets]
|
||||
enabled = false
|
||||
schema_version = 2
|
||||
widget_order = [
|
||||
"desktop-widget-0000000000000001",
|
||||
"desktop-widget-0000000000000002",
|
||||
"desktop-widget-0000000000000003",
|
||||
"desktop-widget-0000000000000004",
|
||||
"desktop-widget-0000000000000005",
|
||||
"desktop-widget-0000000000000006",
|
||||
"desktop-widget-0000000000000007",
|
||||
"desktop-widget-0000000000000008"
|
||||
]
|
||||
|
||||
[desktop_widgets.grid]
|
||||
cell_size = 16
|
||||
major_interval = 4
|
||||
visible = true
|
||||
|
||||
[desktop_widgets.widget.desktop-widget-0000000000000001]
|
||||
box_height = 368.0
|
||||
box_width = 512.0
|
||||
cx = 293.5
|
||||
cy = 861.5
|
||||
output = "eDP-2"
|
||||
placement_height = 1067.0
|
||||
placement_width = 1707.0
|
||||
rotation = 0.0
|
||||
type = "calendar"
|
||||
|
||||
[desktop_widgets.widget.desktop-widget-0000000000000002]
|
||||
box_height = 144.0
|
||||
box_width = 240.0
|
||||
cx = 1309.5
|
||||
cy = 653.5
|
||||
output = "eDP-2"
|
||||
placement_height = 1067.0
|
||||
placement_width = 1707.0
|
||||
rotation = 0.0
|
||||
type = "sysmon"
|
||||
|
||||
[desktop_widgets.widget.desktop-widget-0000000000000002.settings]
|
||||
stat = "cpu_usage"
|
||||
stat2 = "cpu_temp"
|
||||
|
||||
[desktop_widgets.widget.desktop-widget-0000000000000003]
|
||||
box_height = 0.0
|
||||
box_width = 0.0
|
||||
cx = 853.5
|
||||
cy = 971.50006103515625
|
||||
output = "eDP-2"
|
||||
placement_height = 1067.0
|
||||
placement_width = 1707.0
|
||||
rotation = 0.0
|
||||
type = "media_player"
|
||||
|
||||
[desktop_widgets.widget.desktop-widget-0000000000000004]
|
||||
box_height = 144.0
|
||||
box_width = 240.0
|
||||
cx = 1309.5
|
||||
cy = 813.5
|
||||
output = "eDP-2"
|
||||
placement_height = 1067.0
|
||||
placement_width = 1707.0
|
||||
rotation = 0.0
|
||||
type = "sysmon"
|
||||
|
||||
[desktop_widgets.widget.desktop-widget-0000000000000004.settings]
|
||||
color = "secondary"
|
||||
display = "graph"
|
||||
stat = "cpu_freq"
|
||||
stat2 = ""
|
||||
|
||||
[desktop_widgets.widget.desktop-widget-0000000000000005]
|
||||
box_height = 144.0
|
||||
box_width = 240.0
|
||||
cx = 1565.5
|
||||
cy = 653.5
|
||||
output = "eDP-2"
|
||||
placement_height = 1067.0
|
||||
placement_width = 1707.0
|
||||
rotation = 0.0
|
||||
type = "sysmon"
|
||||
|
||||
[desktop_widgets.widget.desktop-widget-0000000000000005.settings]
|
||||
stat = "gpu_usage"
|
||||
stat2 = "gpu_temp"
|
||||
|
||||
[desktop_widgets.widget.desktop-widget-0000000000000006]
|
||||
box_height = 144.0
|
||||
box_width = 240.0
|
||||
cx = 1309.5
|
||||
cy = 973.5
|
||||
output = "eDP-2"
|
||||
placement_height = 1067.0
|
||||
placement_width = 1707.0
|
||||
rotation = 0.0
|
||||
type = "sysmon"
|
||||
|
||||
[desktop_widgets.widget.desktop-widget-0000000000000006.settings]
|
||||
stat = "ram_pct"
|
||||
stat2 = "swap_pct"
|
||||
|
||||
[desktop_widgets.widget.desktop-widget-0000000000000007]
|
||||
box_height = 144.0
|
||||
box_width = 240.0
|
||||
cx = 1565.5
|
||||
cy = 813.5
|
||||
output = "eDP-2"
|
||||
placement_height = 1067.0
|
||||
placement_width = 1707.0
|
||||
rotation = 0.0
|
||||
type = "sysmon"
|
||||
|
||||
[desktop_widgets.widget.desktop-widget-0000000000000007.settings]
|
||||
stat = "gpu_vram"
|
||||
stat2 = "gpu_vram_used"
|
||||
|
||||
[desktop_widgets.widget.desktop-widget-0000000000000008]
|
||||
box_height = 144.0
|
||||
box_width = 240.0
|
||||
cx = 1565.5
|
||||
cy = 973.5
|
||||
output = "eDP-2"
|
||||
placement_height = 1067.0
|
||||
placement_width = 1707.0
|
||||
rotation = 0.0
|
||||
type = "sysmon"
|
||||
|
||||
[desktop_widgets.widget.desktop-widget-0000000000000008.settings]
|
||||
color = "primary"
|
||||
color2 = "secondary"
|
||||
network_speed_unit = "auto"
|
||||
stat = "net_rx"
|
||||
stat2 = "net_tx"
|
||||
|
||||
[dock]
|
||||
reserve_space = false
|
||||
|
||||
[location]
|
||||
auto_locate = true
|
||||
|
||||
[lockscreen_widgets]
|
||||
enabled = false
|
||||
schema_version = 2
|
||||
widget_order = [
|
||||
"lockscreen-login-box@WL-1",
|
||||
"lockscreen-login-box@DP-4",
|
||||
"lockscreen-login-box@eDP-2",
|
||||
"lockscreen-login-box@winit"
|
||||
]
|
||||
|
||||
[lockscreen_widgets.grid]
|
||||
cell_size = 16
|
||||
major_interval = 4
|
||||
visible = true
|
||||
|
||||
[lockscreen_widgets.widget."lockscreen-login-box@DP-4"]
|
||||
box_height = 196.0
|
||||
box_width = 810.0
|
||||
cx = 960.0
|
||||
cy = 1018.0
|
||||
output = "DP-4"
|
||||
placement_height = 1200.0
|
||||
placement_width = 1920.0
|
||||
rotation = 0.0
|
||||
type = "login_box"
|
||||
|
||||
[lockscreen_widgets.widget."lockscreen-login-box@DP-4".settings]
|
||||
background_color = "surface_variant"
|
||||
background_opacity = 0.88
|
||||
background_radius = 12.0
|
||||
center_password_text = false
|
||||
input_opacity = 1.0
|
||||
input_radius = 6.0
|
||||
layout = "regular"
|
||||
show_caps_lock = true
|
||||
show_keyboard_layout = true
|
||||
show_login_button = true
|
||||
show_media = true
|
||||
show_session_buttons = true
|
||||
show_unlock_hint = true
|
||||
show_weather = true
|
||||
|
||||
[lockscreen_widgets.widget."lockscreen-login-box@WL-1"]
|
||||
box_height = 196.0
|
||||
box_width = 810.0
|
||||
cx = 844.0
|
||||
cy = 831.0
|
||||
output = "WL-1"
|
||||
placement_height = 1013.0
|
||||
placement_width = 1687.0
|
||||
rotation = 0.0
|
||||
type = "login_box"
|
||||
|
||||
[lockscreen_widgets.widget."lockscreen-login-box@WL-1".settings]
|
||||
background_color = "surface_variant"
|
||||
background_opacity = 0.88
|
||||
background_radius = 12.0
|
||||
center_password_text = false
|
||||
input_opacity = 1.0
|
||||
input_radius = 6.0
|
||||
layout = "regular"
|
||||
show_caps_lock = true
|
||||
show_keyboard_layout = true
|
||||
show_login_button = true
|
||||
show_media = true
|
||||
show_session_buttons = true
|
||||
show_unlock_hint = true
|
||||
show_weather = true
|
||||
|
||||
[lockscreen_widgets.widget."lockscreen-login-box@eDP-2"]
|
||||
box_height = 196.0
|
||||
box_width = 810.0
|
||||
cx = 854.0
|
||||
cy = 885.00006103515625
|
||||
output = "eDP-2"
|
||||
placement_height = 1067.0
|
||||
placement_width = 1707.0
|
||||
rotation = 0.0
|
||||
type = "login_box"
|
||||
|
||||
[lockscreen_widgets.widget."lockscreen-login-box@eDP-2".settings]
|
||||
background_color = "surface_variant"
|
||||
background_opacity = 0.88
|
||||
background_radius = 12.0
|
||||
center_password_text = false
|
||||
input_opacity = 1.0
|
||||
input_radius = 6.0
|
||||
layout = "regular"
|
||||
show_caps_lock = true
|
||||
show_keyboard_layout = true
|
||||
show_login_button = true
|
||||
show_media = true
|
||||
show_session_buttons = true
|
||||
show_unlock_hint = true
|
||||
show_weather = true
|
||||
|
||||
[lockscreen_widgets.widget."lockscreen-login-box@winit"]
|
||||
box_height = 196.0
|
||||
box_width = 810.0
|
||||
cx = 854.0
|
||||
cy = 799.0
|
||||
output = "winit"
|
||||
placement_height = 981.0
|
||||
placement_width = 1707.0
|
||||
rotation = 0.0
|
||||
type = "login_box"
|
||||
|
||||
[lockscreen_widgets.widget."lockscreen-login-box@winit".settings]
|
||||
background_color = "surface_variant"
|
||||
background_opacity = 0.88
|
||||
background_radius = 12.0
|
||||
center_password_text = false
|
||||
input_opacity = 1.0
|
||||
input_radius = 6.0
|
||||
layout = "regular"
|
||||
show_caps_lock = true
|
||||
show_keyboard_layout = true
|
||||
show_login_button = true
|
||||
show_media = true
|
||||
show_session_buttons = true
|
||||
show_unlock_hint = true
|
||||
show_weather = true
|
||||
|
||||
[plugin_settings."alexander/mimir"]
|
||||
api_endpoint = "https://llama.bug.tools/v1"
|
||||
|
||||
[plugins]
|
||||
enabled = [ "avivbintangaringga/nix-monitor", "rylos/tailnet", "alexander/mimir", "alexander/screen-toolkit" ]
|
||||
|
||||
[shell]
|
||||
app_icon_color = "secondary"
|
||||
button_borders = false
|
||||
card_borders = false
|
||||
font_family = "Liberation Mono"
|
||||
input_borders = false
|
||||
popup_borders = false
|
||||
screen_time_enabled = true
|
||||
time_format = "{:%-I:%M %p}"
|
||||
|
||||
[shell.launcher.providers.calculator]
|
||||
prefix = ""
|
||||
|
||||
[shell.launcher.providers.emoji]
|
||||
global = false
|
||||
|
||||
[shell.window_switcher]
|
||||
style = "compact"
|
||||
|
||||
[theme]
|
||||
builtin = "Catppuccin"
|
||||
community_palette = "Catppuccin Mocha Mauve-Lavender"
|
||||
mode = "dark"
|
||||
source = "community"
|
||||
wallpaper_scheme = "m3-fruit-salad"
|
||||
|
||||
[wallpaper.default]
|
||||
path = "/home/bug/Pictures/Wallpapers/nix.png"
|
||||
|
||||
[wallpaper.last]
|
||||
path = "/home/bug/Pictures/Wallpapers/nix.png"
|
||||
|
||||
[wallpaper.monitors.eDP-2]
|
||||
path = "/home/bug/Pictures/Wallpapers/nix.png"
|
||||
|
||||
[wallpaper.monitors.winit]
|
||||
path = "/home/bug/Pictures/Wallpapers/nix.png"
|
||||
|
||||
[weather]
|
||||
unit = "imperial"
|
||||
|
||||
[widget.bar]
|
||||
type = "rylos/tailnet:bar"
|
||||
|
||||
[widget.bar_2]
|
||||
type = "rylos/syncthing:bar"
|
||||
|
||||
[widget.clock]
|
||||
format = "{:%-I:%M %p}"
|
||||
|
||||
[widget.media]
|
||||
album_art_only = true
|
||||
scale = 1.25
|
||||
|
||||
[widget.nix-monitor]
|
||||
colorize_glyph = false
|
||||
show_text = false
|
||||
type = "avivbintangaringga/nix-monitor:nix-monitor"
|
||||
|
||||
[widget.status]
|
||||
type = "alexander/mimir:status"
|
||||
|
||||
[widget.taskbar]
|
||||
icon_scale = 1.5000000000000002
|
||||
|
||||
[widget.tray]
|
||||
drawer = true
|
||||
|
||||
[widget.widget]
|
||||
type = "alexander/screen-toolkit:widget"
|
||||
@@ -0,0 +1,40 @@
|
||||
{ inputs, ...}: {
|
||||
flake-file.inputs.noctalia = {
|
||||
url = "github:noctalia-dev/noctalia";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
den.aspects.system.desktop.noctalia = {
|
||||
nixos = { pkgs, ... }: {
|
||||
imports = [ inputs.noctalia.nixosModules.default ];
|
||||
|
||||
programs.noctalia.enable = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
slurp
|
||||
grim
|
||||
hyprpicker
|
||||
tesseract
|
||||
imagemagick
|
||||
zbar
|
||||
curl
|
||||
jq
|
||||
ffmpeg
|
||||
mpv
|
||||
];
|
||||
};
|
||||
|
||||
# config.toml = `noctalia config export` (re-run to pull in GUI changes; GUI settings.toml still overrides it).
|
||||
homeManager = { config, ... }: {
|
||||
imports = [ inputs.noctalia.homeModules.default ];
|
||||
|
||||
# Keep the hand-made look; stylix's noctalia target would override font/colors.
|
||||
stylix.targets.noctalia.enable = false;
|
||||
|
||||
programs.noctalia = {
|
||||
enable = true;
|
||||
package = null; # installed system-wide by the nixos block
|
||||
settings = builtins.fromTOML (builtins.replaceStrings [ "/home/bug" ] [ config.home.homeDirectory ] (builtins.readFile ./config.toml));
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
};*/
|
||||
|
||||
homeManager = {
|
||||
homeManager = { lib, ... }: {
|
||||
imports = [ inputs.umbriel.homeModules.default ];
|
||||
|
||||
programs.umbriel = {
|
||||
@@ -36,27 +36,67 @@
|
||||
};
|
||||
};
|
||||
|
||||
keybinds = {
|
||||
"Mod+T" = "spawn:cosmic-term";
|
||||
keybinds = let
|
||||
locked = action: { inherit action; allow_when_locked = true; };
|
||||
keys = lib.genList (i: { n = i + 1; k = toString (lib.mod (i + 1) 10); }) 10;
|
||||
perWs = mod: action: builtins.listToAttrs (map (w: lib.nameValuePair "${mod}+${w.k}" "${action}:${toString w.n}") keys);
|
||||
in {
|
||||
"Mod+T" = "spawn:ghostty";
|
||||
"Mod+E" = "spawn:cosmic-files";
|
||||
"Mod+B" = "spawn:librewolf";
|
||||
|
||||
"Mod+Q" = "window-close";
|
||||
"Mod+A" = "spawn:noctalia msg panel-toggle launcher";
|
||||
"Mod+V" = "spawn:noctalia msg panel-toggle clipboard";
|
||||
"Mod+N" = "spawn:noctalia msg panel-toggle control-center";
|
||||
"Mod+C" = "spawn:noctalia msg panel-toggle alexander/mimir:chat";
|
||||
"Mod+W" = "spawn:noctalia msg panel-toggle wallpaper";
|
||||
|
||||
"Mod+Comma" = "spawn:noctalia msg settings-toggle";
|
||||
"Ctrl+Alt+Delete" = "spawn:noctalia msg panel-toggle session";
|
||||
|
||||
"XF86AudioRaiseVolume" = locked "spawn:noctalia msg volume-up";
|
||||
"XF86AudioLowerVolume" = locked "spawn:noctalia msg volume-down";
|
||||
"XF86AudioMute" = locked "spawn:noctalia msg volume-mute";
|
||||
"XF86MonBrightnessUp" = locked "spawn:noctalia msg brightness-up";
|
||||
"XF86MonBrightnessDown" = locked "spawn:noctalia msg brightness-down";
|
||||
|
||||
"XF86AudioPlay" = locked "spawn:playerctl play-pause";
|
||||
"XF86AudioNext" = locked "spawn:playerctl next";
|
||||
"XF86AudioPrev" = locked "spawn:playerctl previous";
|
||||
"XF86AudioStop" = locked "spawn:playerctl stop";
|
||||
|
||||
"Mod+Q" = "window-close";
|
||||
"Mod+Space" = "window-toggle-floating";
|
||||
"Mod+Shift+Space" = "window-focus-switch-floating";
|
||||
"Mod+F" = "window-cycle-primary-extent";
|
||||
"Mod+Shift+F" = "window-toggle-fullscreen";
|
||||
|
||||
"Mod+Left" = "window-focus-left";
|
||||
"Mod+Right" = "window-focus-right";
|
||||
"Mod+Up" = "window-focus-up";
|
||||
"Mod+Down" = "window-focus-down";
|
||||
"Mod+Up" = "window-focus-or-workspace-up";
|
||||
"Mod+Down" = "window-focus-or-workspace-down";
|
||||
|
||||
"Mod+Shift+Left" = "column-move-left";
|
||||
"Mod+Shift+Right" = "column-move-right";
|
||||
"Mod+Shift+Up" = "window-move-up";
|
||||
"Mod+Shift+Down" = "window-move-down";
|
||||
"Mod+Shift+Left" = "window-modify-primary-extent:-0.1";
|
||||
"Mod+Shift+Right" = "window-modify-primary-extent:0.1";
|
||||
"Mod+Shift+Up" = "window-modify-secondary-extent:0.1";
|
||||
"Mod+Shift+Down" = "window-modify-secondary-extent:-0.1";
|
||||
"Mod+Ctrl+H" = "window-consume-or-expel-left";
|
||||
"Mod+Ctrl+L" = "window-consume-or-expel-right";
|
||||
"Mod+Ctrl+K" = "window-move-up";
|
||||
"Mod+Ctrl+J" = "window-move-down";
|
||||
|
||||
"Mod+Comma"= "spawn:noctalia msg settings-toggle";
|
||||
"Mod+Shift+S" = "spawn:noctalia msg screenshot-region";
|
||||
"Alt+Tab" = "spawn:noctalia msg window-switcher";
|
||||
|
||||
};
|
||||
"Mod+WheelUp" = { action = "workspace-previous"; cooldown_ms = 150; };
|
||||
"Mod+WheelDown" = { action = "workspace-next"; cooldown_ms = 150; };
|
||||
"Mod+Shift+WheelDown" = "window-focus-right";
|
||||
"Mod+Shift+WheelUp" = "window-focus-left";
|
||||
"Mod+Ctrl+Shift+WheelDown" = "column-move-right";
|
||||
"Mod+Ctrl+Shift+WheelUp" = "column-move-left";
|
||||
}
|
||||
// perWs "Mod" "workspace-switch"
|
||||
// perWs "Mod+Shift" "window-move-to-workspace";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -11,9 +11,6 @@
|
||||
remotes = lib.mkOptionDefault [{
|
||||
name = "flathub-beta";
|
||||
location = "https://flathub.org/beta-repo/flathub-beta.flatpakrepo";
|
||||
} {
|
||||
name = "RSILauncher";
|
||||
location = "https://mactan-sc.github.io/rsilauncher/RSILauncher.flatpakrepo";
|
||||
}];
|
||||
|
||||
update.auto.enable = true;
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
services.janitor = {
|
||||
enable = true;
|
||||
user = host.owner;
|
||||
interval = "1min";
|
||||
interval = "10min";
|
||||
gracePeriod = 60;
|
||||
watchedDirs = [ "~/Downloads" ];
|
||||
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
{ den, ... }: {
|
||||
den.aspects.system.network.cloudflare-warp = {
|
||||
includes = [ (den.batteries.unfree [ "cloudflare-warp" ]) ];
|
||||
|
||||
nixos = {
|
||||
services.cloudflare-warp = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -12,6 +12,6 @@
|
||||
home.username = lib.mkDefault "bug";
|
||||
};
|
||||
|
||||
user.extraGroups = [ "networkmanager" "wheel" "input" "audio" "video" "libvirtd" "ydotool" "dialout" ];
|
||||
user.extraGroups = [ "networkmanager" "wheel" "input" "audio" "video" "libvirtd" "dialout" ];
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user