refactor: den-native config, tunnel quirk, per-module inputs
This commit is contained in:
1 parent
0431bce152
commit
bfbac8b961
100 files changed
+668
-1417
No files matched your search
@@ -1,5 +1,7 @@
|
||||
{
|
||||
den.aspects.firefox = {
|
||||
{ den, ... }: {
|
||||
den.aspects.software.browsers = {
|
||||
includes = [ (den.batteries.unfree [ "firefox-bin" "firefox-bin-unwrapped" ]) ];
|
||||
|
||||
nixos = { pkgs, ... }: {
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
|
||||
@@ -1,11 +1,15 @@
|
||||
{ inputs, lib, ... }: {
|
||||
den.aspects.librewolf = {
|
||||
homeManager = { pkgs, ... }: {
|
||||
{ lib, ... }: {
|
||||
flake-file.inputs.catppuccin-userstyles-nix = {
|
||||
url = "github:4DBug/catppuccin-userstyles-nix";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
den.aspects.software.browsers = {
|
||||
homeManager = { host, ... }: {
|
||||
programs.librewolf = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
"browser.startup.homepage" = "https://search.bug.tools";
|
||||
"browser.startup.homepage" = "https://search.${host.domain}";
|
||||
"browser.startup.page" = 3;
|
||||
|
||||
"datareporting.healthreport.uploadEnabled" = false;
|
||||
@@ -68,20 +72,20 @@
|
||||
search = {
|
||||
force = true;
|
||||
|
||||
default = "search.bug.tools";
|
||||
default = "search.${host.domain}";
|
||||
|
||||
engines = {
|
||||
"search.bug.tools" = {
|
||||
"search.${host.domain}" = {
|
||||
urls = [
|
||||
{
|
||||
template = "https://search.bug.tools/search";
|
||||
template = "https://search.${host.domain}/search";
|
||||
params = [
|
||||
{ name = "q"; value = "{searchTerms}"; }
|
||||
];
|
||||
}
|
||||
];
|
||||
|
||||
icon = "https://search.bug.tools/favicon.ico";
|
||||
icon = "https://search.${host.domain}/favicon.ico";
|
||||
definedAliases = [ "@s" "@sq" ];
|
||||
};
|
||||
|
||||
@@ -184,7 +188,6 @@
|
||||
|
||||
"{1b66b5ad-408f-4300-aac6-55a68b2b24ff}" # catppuccin-mocha-no-borders
|
||||
|
||||
"{1b66b5ad-408f-4300-aac6-55a68b2b24ff}" # catppuccin-mocha-no-borders
|
||||
|
||||
"{7a7a4a92-a2a0-41d1-9fd7-1e92480d612d}" # styl-us
|
||||
|
||||
|
||||
@@ -1,14 +1,6 @@
|
||||
{
|
||||
den.aspects.cad = {
|
||||
nixos = { pkgs, ... }: {
|
||||
users.users.bug.packages = with pkgs; [
|
||||
#blender
|
||||
plasticity
|
||||
#orca-slicer
|
||||
];
|
||||
};
|
||||
|
||||
homeManager = { pkgs , ... }: {
|
||||
den.aspects.software.cad = {
|
||||
homeManager = { pkgs, ... }: {
|
||||
home.packages = let
|
||||
blenderScripts = pkgs.runCommand "blender-user-scripts" { } ''
|
||||
mkdir -p $out/addons
|
||||
@@ -32,7 +24,9 @@
|
||||
--set QUADREMESHER_LAUNCHER ${quadRemesherLauncher}
|
||||
'';
|
||||
};
|
||||
in [ blender-quadremesher ];
|
||||
in [
|
||||
blender-quadremesher
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -1,5 +1,10 @@
|
||||
{
|
||||
den.aspects.opencode = {
|
||||
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) ];
|
||||
|
||||
homeManager = {
|
||||
programs.opencode = {
|
||||
enable = true;
|
||||
@@ -26,9 +31,6 @@
|
||||
"llama.cpp" = {
|
||||
npm = "@ai-sdk/openai-compatible";
|
||||
name = "llama.cpp";
|
||||
options = {
|
||||
baseURL = "https://llama.bug.tools/v1";
|
||||
};
|
||||
models = {
|
||||
"qwen3.6-35b-a3b" = {
|
||||
name = "qwen3.6-35b-a3b";
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
{ ... }: {
|
||||
den.aspects.appimage = {
|
||||
nixos = { pkgs, ... }: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
appimage-run
|
||||
];
|
||||
|
||||
programs.appimage = {
|
||||
enable = true;
|
||||
binfmt = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
{ den, ... }: {
|
||||
den.aspects.compatibility = {
|
||||
includes = with den.aspects; [ wine appimage nix-ld nix-alien ];
|
||||
};
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
{
|
||||
den.aspects.nix-alien = {
|
||||
nixos = {
|
||||
environment.systemPackages = let
|
||||
nix-alien = import (
|
||||
fetchTarball "https://github.com/thiagokokada/nix-alien/tarball/master"
|
||||
){};
|
||||
in [
|
||||
nix-alien.nix-alien
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -1,10 +0,0 @@
|
||||
{ ... }: {
|
||||
den.aspects.wine = {
|
||||
nixos = { pkgs, ... }: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
wine64
|
||||
wineWow64Packages.full
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
{ den, ... }: {
|
||||
den.aspects.development = {
|
||||
includes = with den.aspects; [ editors java ];
|
||||
};
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
{ ... }: {
|
||||
den.aspects.editors = {
|
||||
nixos = { pkgs, ... }: {
|
||||
users.users.bug.packages = with pkgs; [
|
||||
zed-editor
|
||||
#arduino-ide
|
||||
|
||||
# add to languages later
|
||||
python314Packages.pyside6
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
{ ... }: {
|
||||
den.aspects.java = {
|
||||
nixos = { pkgs, ... }: {
|
||||
users.users.bug.packages = with pkgs; [
|
||||
jdk25
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -1,25 +0,0 @@
|
||||
{
|
||||
den.aspects.essentials = {
|
||||
nixos = { pkgs, ... }: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
comma
|
||||
git
|
||||
home-manager
|
||||
inetutils
|
||||
micro
|
||||
nh
|
||||
nil
|
||||
nixd
|
||||
nixfmt
|
||||
nix-index
|
||||
nix-output-monitor
|
||||
nix-prefetch
|
||||
nvd
|
||||
psmisc
|
||||
tree
|
||||
unzip
|
||||
wget
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -1,31 +0,0 @@
|
||||
{
|
||||
den.aspects.fish = {
|
||||
nixos = { pkgs, ...}: {
|
||||
programs.fish = {
|
||||
shellAliases = {
|
||||
box = "ssh box.bug.tools";
|
||||
unbox = "sh -c 'ssh -N -L \"$1\":0.0.0.0:\"$1\" box.bug.tools &' --";
|
||||
rebox = "sh -c 'fuser -k \"$1\"/tcp' --";
|
||||
dock = "sh -c 'ssh -N -D \"$1\" box.bug.tools &' --";
|
||||
|
||||
vpn = "sshuttle --dns --python python3 -r box.bug.tools 0/0";
|
||||
|
||||
pico = "ssh pico.sh";
|
||||
|
||||
ns = "nh os switch ~/nix --impure -H (hostname)";
|
||||
rebuild = "ns";
|
||||
};
|
||||
|
||||
shellInit = ''
|
||||
function tssh
|
||||
ssh (tailscale status | awk -v host=$argv[1] '$2 == host {print $1}')
|
||||
end
|
||||
'';
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs.fishPlugins; [
|
||||
sponge
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -1,9 +1,5 @@
|
||||
{ ... }: {
|
||||
den.aspects.emulators = {
|
||||
nixos = { pkgs, ... }: {
|
||||
users.users.bug.packages = with pkgs; [
|
||||
ppsspp
|
||||
];
|
||||
};
|
||||
{
|
||||
den.aspects.software.gaming.homeManager = { pkgs, ... }: {
|
||||
home.packages = [ pkgs.ppsspp ];
|
||||
};
|
||||
}
|
||||
@@ -1,18 +1,12 @@
|
||||
{ ... }: {
|
||||
den.aspects.game-tools = {
|
||||
nixos = { pkgs, ... }: {
|
||||
users.users.bug.packages = with pkgs; [
|
||||
steamtinkerlaunch
|
||||
scanmem
|
||||
samrewritten
|
||||
lug-helper
|
||||
gamemode
|
||||
steam-run
|
||||
];
|
||||
|
||||
services.flatpak.packages = [
|
||||
"community.pathofbuilding.PathOfBuilding"
|
||||
];
|
||||
};
|
||||
{
|
||||
den.aspects.software.gaming.homeManager = { pkgs, ... }: {
|
||||
home.packages = with pkgs; [
|
||||
steamtinkerlaunch
|
||||
scanmem
|
||||
samrewritten
|
||||
lug-helper
|
||||
gamemode
|
||||
steam-run
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
{ den, ... }:
|
||||
{
|
||||
den.aspects.gaming = {
|
||||
includes = with den.aspects; [
|
||||
steam
|
||||
roblox
|
||||
polytoria
|
||||
game-tools
|
||||
emulators
|
||||
star-citizen
|
||||
minecraft
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -1,7 +1,8 @@
|
||||
{ inputs, ... }: {
|
||||
den.aspects.hytale = {
|
||||
nixos = { pkgs, ... }: {
|
||||
users.users.bug.packages = [
|
||||
flake-file.inputs.hytale-launcher.url = "github:JPyke3/hytale-launcher-nix";
|
||||
den.aspects.software.gaming.hytale = {
|
||||
homeManager = { pkgs, ... }: {
|
||||
home.packages = [
|
||||
inputs.hytale-launcher.packages.${pkgs.system}.default
|
||||
];
|
||||
};
|
||||
|
||||
@@ -1,139 +1,61 @@
|
||||
{ inputs, ... }:
|
||||
{
|
||||
den.aspects.minecraft = {
|
||||
nixos =
|
||||
{ pkgs, ... }:
|
||||
flake-file.inputs = {
|
||||
minecraft = {
|
||||
url = "github:4DBug/minecraft.nix";
|
||||
inputs.metadata.follows = "minecraft-metadata";
|
||||
};
|
||||
minecraft-metadata.url = "github:Ninlives/minecraft.json";
|
||||
};
|
||||
den.aspects.software.gaming = {
|
||||
homeManager =
|
||||
{ pkgs, config, ... }:
|
||||
let
|
||||
inherit (pkgs) fetchurl symlinkJoin makeWrapper;
|
||||
home = config.home.homeDirectory;
|
||||
inherit (pkgs) lib symlinkJoin makeWrapper;
|
||||
|
||||
# ponytail: no hashes, needs --impure; files re-download after tarball-ttl (1h) and may change upstream
|
||||
fetch = map (url: rec {
|
||||
name = lib.strings.sanitizeDerivationName (lib.replaceStrings [ "%20" "%2B" ] [ "-" "+" ] (baseNameOf url));
|
||||
outPath = builtins.fetchurl { inherit url name; };
|
||||
});
|
||||
|
||||
base = (inputs.minecraft.legacyPackages.${pkgs.stdenv.hostPlatform.system}.v1_21_11.fabric.client.withConfig [{
|
||||
jvmArgs = [
|
||||
"-Dorg.lwjgl.opengl.Window.undecorated=true"
|
||||
];
|
||||
|
||||
mods = [
|
||||
(fetchurl {
|
||||
name = "fabric-api.jar";
|
||||
url = "https://cdn.modrinth.com/data/P7dR8mSH/versions/i5tSkVBH/fabric-api-0.141.3+1.21.11.jar";
|
||||
sha256 = "sha256:1xgfpy6zj1nwwfrhr346firm8zw6lw63pl4parvjwrirc6l57i46";
|
||||
})
|
||||
mods = fetch [
|
||||
"https://cdn.modrinth.com/data/P7dR8mSH/versions/i5tSkVBH/fabric-api-0.141.3+1.21.11.jar"
|
||||
# "https://meteorclient.com/api/download"
|
||||
# "https://www.meteorclient.com/api/downloadBaritone"
|
||||
|
||||
/*
|
||||
(fetchurl {
|
||||
name = "meteor-client.jar";
|
||||
url = "https://meteorclient.com/api/download";
|
||||
sha256 = "sha256:190vghnfg3invfy7qpizppxf29qyf5zz1iv5c8bfcq2q5r9mljqq";
|
||||
})
|
||||
|
||||
(fetchurl {
|
||||
name = "baritone.jar";
|
||||
url = "https://www.meteorclient.com/api/downloadBaritone";
|
||||
sha256 = "sha256:0izys47kvqzhnds63kbxiifn8fsd8i9slzkhv91whwxp0183pf80";
|
||||
})
|
||||
*/
|
||||
|
||||
(fetchurl {
|
||||
name = "modmenu.jar";
|
||||
url = "https://cdn.modrinth.com/data/mOgUt4GM/versions/Tyk71iSw/modmenu-17.0.0.jar";
|
||||
sha256 = "sha256:0a2i5hl77bcw33m1h51y1dxrk7bbkj8fv0rp8w6y78d43ibwkwlm";
|
||||
})
|
||||
|
||||
/*
|
||||
(fetchurl {
|
||||
name = "distant-horizons.jar";
|
||||
url = "https://cdn.modrinth.com/data/uCdwusMi/versions/GT3Bm3GN/DistantHorizons-2.4.5-b-1.21.11-fabric-neoforge.jar";
|
||||
sha256 = "sha256:0gxwhvji4k0xnzidwrvlndh81r64n6i24v253grbxxamgshwg53n";
|
||||
})
|
||||
*/
|
||||
|
||||
(fetchurl {
|
||||
name = "voxy.jar";
|
||||
url = "https://cdn.modrinth.com/data/fxxUqruK/versions/H3w2nVdU/voxy-0.2.16-beta%2B1.21.11.jar";
|
||||
sha256 = "sha256:02z1cr7ccdss2ckgha7v89gsq65p2ibrcx8h9q3drxd4ck7jd0kz";
|
||||
})
|
||||
|
||||
/*
|
||||
(fetchurl {
|
||||
name = "nvidium.jar";
|
||||
url = "https://cdn.modrinth.com/data/SfMw2IZN/versions/4x9ci9sF/nvidium-0.4.3-beta13-1.21.11.jar";
|
||||
sha256 = "sha256:0kdhz92lms2ghmcpzn1gj9rblh958bhic641jpvpkgn0rs70w54r";
|
||||
})
|
||||
*/
|
||||
|
||||
(fetchurl {
|
||||
name = "iris.jar";
|
||||
url = "https://cdn.modrinth.com/data/YL57xq9U/versions/fDpuVzVr/iris-fabric-1.10.7+mc1.21.11.jar";
|
||||
sha256 = "sha256:06fb6r22gnsxnv2w0sgvfnsj6fk3a7jcxls7z14imjc9h6hmviaq";
|
||||
})
|
||||
|
||||
(fetchurl {
|
||||
name = "sodium.jar";
|
||||
url = "https://cdn.modrinth.com/data/AANobbMI/versions/UddlN6L4/sodium-fabric-0.8.7+mc1.21.11.jar";
|
||||
sha256 = "sha256:10rrqnyn8mb14b1k3ks84g6033zkkn94fwvyyflaiajhnf3ax3y0";
|
||||
})
|
||||
|
||||
(fetchurl {
|
||||
name = "lithium.jar";
|
||||
url = "https://cdn.modrinth.com/data/gvQqBUqZ/versions/Ow7wA0kG/lithium-fabric-0.21.4+mc1.21.11.jar";
|
||||
sha256 = "sha256:12y704i98rf0xb438f72hi0aqhsi35jxwjs2575vsg5lllfw8dai";
|
||||
})
|
||||
|
||||
(fetchurl {
|
||||
name = "immediatelyfast.jar";
|
||||
url = "https://cdn.modrinth.com/data/5ZwdcRci/versions/QwkfUKSj/ImmediatelyFast-Fabric-1.14.2+1.21.11.jar";
|
||||
sha256 = "sha256:1248yg69f5d232qn138xlcsdmbs2yj3gdjx9zl53v19c1j326pgb";
|
||||
})
|
||||
|
||||
(fetchurl {
|
||||
name = "entity-culling.jar";
|
||||
url = "https://cdn.modrinth.com/data/NNAgCjsB/versions/SK12FGQf/entityculling-fabric-1.10.0-mc1.21.11.jar";
|
||||
sha256 = "sha256:0iws5ql4k542lr4psrcw9hj5z4zz81218ywnpsl77zj8wnwm4l1d";
|
||||
})
|
||||
|
||||
(fetchurl {
|
||||
name = "ferrite-core.jar";
|
||||
url = "https://cdn.modrinth.com/data/uXXizFIs/versions/Ii0gP3D8/ferritecore-8.2.0-fabric.jar";
|
||||
sha256 = "sha256:05f7q9jac16syfnahd6r4kx3aqm4i580y623gk6810plrdhdfszp";
|
||||
})
|
||||
|
||||
(fetchurl {
|
||||
name = "dynamic-fps.jar";
|
||||
url = "https://cdn.modrinth.com/data/LQ3K71Q1/versions/PUe5Asxs/dynamic-fps-3.11.4+minecraft-1.21.11-fabric.jar";
|
||||
sha256 = "sha256:13dh0226f6j70ak752fj8s00hmrx175v9607plf4rhia9plqy3kx";
|
||||
})
|
||||
|
||||
# (fetchurl {
|
||||
# name = "removing-loading-screens.jar";
|
||||
# url = "https://cdn.modrinth.com/data/ZP7xHXtw/versions/TCSbq6jC/rrlsFabric-5.1.15+mc.1.21.11.jar";
|
||||
# sha256 = "sha256:16dkj8baa6xn47n9alzy4104wz6z4zp719dxwv5wm96g2wkp1z57";
|
||||
# })
|
||||
"https://cdn.modrinth.com/data/mOgUt4GM/versions/Tyk71iSw/modmenu-17.0.0.jar"
|
||||
# "https://cdn.modrinth.com/data/uCdwusMi/versions/GT3Bm3GN/DistantHorizons-2.4.5-b-1.21.11-fabric-neoforge.jar"
|
||||
"https://cdn.modrinth.com/data/fxxUqruK/versions/H3w2nVdU/voxy-0.2.16-beta%2B1.21.11.jar"
|
||||
# "https://cdn.modrinth.com/data/SfMw2IZN/versions/4x9ci9sF/nvidium-0.4.3-beta13-1.21.11.jar"
|
||||
"https://cdn.modrinth.com/data/YL57xq9U/versions/fDpuVzVr/iris-fabric-1.10.7+mc1.21.11.jar"
|
||||
"https://cdn.modrinth.com/data/AANobbMI/versions/UddlN6L4/sodium-fabric-0.8.7+mc1.21.11.jar"
|
||||
"https://cdn.modrinth.com/data/gvQqBUqZ/versions/Ow7wA0kG/lithium-fabric-0.21.4+mc1.21.11.jar"
|
||||
"https://cdn.modrinth.com/data/5ZwdcRci/versions/QwkfUKSj/ImmediatelyFast-Fabric-1.14.2+1.21.11.jar"
|
||||
"https://cdn.modrinth.com/data/NNAgCjsB/versions/SK12FGQf/entityculling-fabric-1.10.0-mc1.21.11.jar"
|
||||
"https://cdn.modrinth.com/data/uXXizFIs/versions/Ii0gP3D8/ferritecore-8.2.0-fabric.jar"
|
||||
"https://cdn.modrinth.com/data/LQ3K71Q1/versions/PUe5Asxs/dynamic-fps-3.11.4+minecraft-1.21.11-fabric.jar"
|
||||
# "https://cdn.modrinth.com/data/ZP7xHXtw/versions/TCSbq6jC/rrlsFabric-5.1.15+mc.1.21.11.jar"
|
||||
];
|
||||
|
||||
resourcePacks = [
|
||||
(fetchurl {
|
||||
name = "unique-dark.zip";
|
||||
url = "https://cdn.modrinth.com/data/BaY1UdGV/versions/UjQJb5zE/Unique%20Dark%20-%20Lite%20-%201.20.2-26.x.zip";
|
||||
sha256 = "sha256:19cv5q8pnvxkf96lazg8angbfqwkxag8qsxk31cv487jq99kl621";
|
||||
})
|
||||
|
||||
(fetchurl {
|
||||
name = "catppuccin.zip";
|
||||
url = "https://cdn.modrinth.com/data/S3nUv9ws/versions/znzS3kCV/Catppuccin%20Mocha%20Blue.zip";
|
||||
sha256 = "sha256:0w56gkyavz0gpffxs1gbp9676bwgvl845h56wc1x3qjba1nm8a5n";
|
||||
})
|
||||
resourcePacks = fetch [
|
||||
"https://cdn.modrinth.com/data/BaY1UdGV/versions/UjQJb5zE/Unique%20Dark%20-%20Lite%20-%201.20.2-26.x.zip"
|
||||
"https://cdn.modrinth.com/data/S3nUv9ws/versions/znzS3kCV/Catppuccin%20Mocha%20Blue.zip"
|
||||
];
|
||||
|
||||
shaderPacks = [
|
||||
(fetchurl {
|
||||
name = "complementary-shaders.zip";
|
||||
url = "https://cdn.modrinth.com/data/HVnmMxH1/versions/836bPNGo/ComplementaryReimagined_r5.7.1.zip";
|
||||
sha256 = "sha256:1w33kyknwc0qsi6l0saww906iwi9d3hkn0nm7hnl4bc3lws0d8i4";
|
||||
})
|
||||
shaderPacks = fetch [
|
||||
"https://cdn.modrinth.com/data/HVnmMxH1/versions/836bPNGo/ComplementaryReimagined_r5.7.1.zip"
|
||||
];
|
||||
|
||||
appArgs = [
|
||||
"--gameDir"
|
||||
"/home/bug/.local/share/minecraft"
|
||||
"${home}/.local/share/minecraft"
|
||||
];
|
||||
}]);
|
||||
|
||||
@@ -143,12 +65,12 @@
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
postBuild = ''
|
||||
wrapProgram $out/bin/minecraft \
|
||||
--set XDG_DATA_HOME "/home/bug/.local/share/minecraft"
|
||||
--set XDG_DATA_HOME "${home}/.local/share/minecraft"
|
||||
'';
|
||||
};
|
||||
in
|
||||
{
|
||||
users.users.bug.packages = [ minecraft ];
|
||||
home.packages = [ minecraft ];
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -1,16 +1,14 @@
|
||||
{ ... }: {
|
||||
den.aspects.polytoria = {
|
||||
nixos = { pkgs, ... }: {
|
||||
services.flatpak.packages = [
|
||||
{
|
||||
appId = "com.polytoria.launcher";
|
||||
{
|
||||
den.aspects.software.gaming.nixos = { pkgs, ... }: {
|
||||
services.flatpak.packages = [
|
||||
{
|
||||
appId = "com.polytoria.launcher";
|
||||
sha256 = "sha256-VjhNiJfSdCtlH2SuP3Mn8jjOrx5xcOqhtDKaWYIwxYg=";
|
||||
bundle = "${pkgs.fetchurl {
|
||||
url = "https://github.com/4DBug/poly/releases/download/poly/poly.flatpak";
|
||||
sha256 = "sha256-VjhNiJfSdCtlH2SuP3Mn8jjOrx5xcOqhtDKaWYIwxYg=";
|
||||
bundle = "${pkgs.fetchurl {
|
||||
url = "https://github.com/4DBug/poly/releases/download/poly/poly.flatpak";
|
||||
sha256 = "sha256-VjhNiJfSdCtlH2SuP3Mn8jjOrx5xcOqhtDKaWYIwxYg=";
|
||||
}}";
|
||||
}
|
||||
];
|
||||
};
|
||||
}}";
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -1,10 +0,0 @@
|
||||
{ ... }: {
|
||||
den.aspects.roblox = {
|
||||
nixos = {
|
||||
services.flatpak.packages = [
|
||||
"org.vinegarhq.Sober"
|
||||
# "org.vinegarhq.Vinegar"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -1,5 +1,12 @@
|
||||
{ inputs, ... }: {
|
||||
den.aspects.star-citizen = {
|
||||
flake-file.inputs = {
|
||||
nix-gaming.url = "github:fufexan/nix-gaming";
|
||||
nix-citizen = {
|
||||
url = "github:LovingMelody/nix-citizen";
|
||||
inputs.nix-gaming.follows = "nix-gaming";
|
||||
};
|
||||
};
|
||||
den.aspects.software.gaming = {
|
||||
nixos = { pkgs, ... }: {
|
||||
imports = [ inputs.nix-citizen.nixosModules.default ];
|
||||
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
{ inputs, ... }: {
|
||||
den.aspects.steam = {
|
||||
{ den, inputs, ... }: {
|
||||
flake-file.inputs.millennium.url = "github:SteamClientHomebrew/Millennium?dir=packages/nix";
|
||||
den.aspects.software.gaming = {
|
||||
includes = [ (den.batteries.unfree [ "steam" "steam-unwrapped" ]) ];
|
||||
|
||||
nixos = { pkgs, ... }: {
|
||||
nixpkgs.overlays = [ inputs.millennium.overlays.default ];
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
den.aspects.beets = {
|
||||
homeManager = { pkgs, ... }: {
|
||||
den.aspects.software.music = {
|
||||
homeManager = { pkgs, config, ... }: {
|
||||
home = {
|
||||
packages = with pkgs; [
|
||||
beets
|
||||
@@ -32,7 +32,7 @@
|
||||
format: opus
|
||||
formats:
|
||||
opus: ffmpeg -i $source -y -vn -c:a libopus -b:a 160k $dest
|
||||
dest: /home/bug/Music
|
||||
dest: ${config.home.homeDirectory}/Music
|
||||
|
||||
fetchart:
|
||||
auto: yes
|
||||
|
||||
@@ -1,12 +1,17 @@
|
||||
{ ... }: {
|
||||
den.aspects.player = {
|
||||
nixos = { pkgs, ... }: {
|
||||
users.users.bug.packages = with pkgs; [
|
||||
{ den, ... }: {
|
||||
den.aspects.software.music = {
|
||||
includes = [ den.aspects.services.mpd ];
|
||||
|
||||
homeManager = { pkgs, ... }: {
|
||||
home.packages = with pkgs; [
|
||||
euphonica
|
||||
rhythmbox
|
||||
kew
|
||||
nicotine-plus
|
||||
];
|
||||
};
|
||||
|
||||
nixos = {
|
||||
services.flatpak.packages = [
|
||||
"org.pipewire.Helvum"
|
||||
];
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
{ den, ... }: {
|
||||
den.aspects.music = {
|
||||
includes = with den.aspects; [ beets player nicotine mpd ];
|
||||
};
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
{
|
||||
den.aspects.nicotine = {
|
||||
nixos = { pkgs, ... }: {
|
||||
users.users.bug.packages = with pkgs; [
|
||||
nicotine-plus
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -1,10 +1,14 @@
|
||||
{ ... }: {
|
||||
den.aspects.sshuttle = {
|
||||
{
|
||||
den.aspects.software.net = {
|
||||
nixos = { pkgs, ... }: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
python3
|
||||
sshuttle
|
||||
];
|
||||
};
|
||||
|
||||
homeManager = { pkgs, ... }: {
|
||||
home.packages = [ pkgs.fragments ];
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -1,6 +1,7 @@
|
||||
{ inputs, ... }: {
|
||||
den.aspects.fetch = {
|
||||
homeManager = { ... }: {
|
||||
flake-file.inputs.fetch.url = "github:areofyl/fetch";
|
||||
den.aspects.software.shell = {
|
||||
homeManager = {
|
||||
imports = [ inputs.fetch.homeManagerModules.default ];
|
||||
|
||||
programs.fetch = {
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
{ ... }: {
|
||||
den.aspects.mail = {
|
||||
nixos = { pkgs, ... }: {
|
||||
users.users.bug.packages = with pkgs; [
|
||||
geary
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
{ ... }: {
|
||||
den.aspects.matrix-client = {
|
||||
nixos = { pkgs, ... }: {
|
||||
users.users.bug.packages = with pkgs; [
|
||||
fractal
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -1,11 +1,12 @@
|
||||
{ inputs, ... }: {
|
||||
den.aspects.nixcord = {
|
||||
nixos = {
|
||||
flake-file.inputs.nixcord.url = "github:FlameFlag/nixcord";
|
||||
den.aspects.software.social = {
|
||||
nixos = { user, ... }: {
|
||||
imports = [ inputs.nixcord.nixosModules.nixcord ];
|
||||
|
||||
programs.nixcord = {
|
||||
enable = true;
|
||||
user = "bug";
|
||||
user = user.userName;
|
||||
|
||||
discord.enable = false;
|
||||
vesktop.enable = true;
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
{ den, ... }: {
|
||||
den.aspects.social = {
|
||||
includes = with den.aspects; [ nixcord matrix-client mail ];
|
||||
};
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
{ ... }: {
|
||||
den.aspects.desktop-utils = {
|
||||
nixos = { pkgs, ... }: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
file-roller
|
||||
wl-screenrec
|
||||
];
|
||||
|
||||
users.users.bug.packages = with pkgs; [
|
||||
obsidian
|
||||
impression
|
||||
kooha
|
||||
loupe
|
||||
authenticator
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
{ inputs, ... }: {
|
||||
den.aspects.ghostty = {
|
||||
homeManager = { ... }: {
|
||||
programs.ghostty = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
window-decoration = "none";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -1,22 +0,0 @@
|
||||
{ ... }: {
|
||||
den.aspects.system-utils = {
|
||||
nixos = { pkgs, ... }: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
gnome-boxes
|
||||
pulseaudioFull
|
||||
firmware-updater
|
||||
];
|
||||
|
||||
users.users.bug.packages = with pkgs; [
|
||||
mission-center
|
||||
baobab
|
||||
];
|
||||
|
||||
programs = {
|
||||
ydotool.enable = true;
|
||||
|
||||
virt-manager.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
{
|
||||
den.aspects.torrent = {
|
||||
nixos = { pkgs, ... }: {
|
||||
users.users.bug.packages = with pkgs; [
|
||||
fragments
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
{ den, ... }: {
|
||||
den.aspects.utilities = {
|
||||
includes = with den.aspects; [ system-utils desktop-utils fonts sshuttle torrent cad ghostty ];
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user