Compare commits

..

6 commits

Author SHA1 Message Date
8f5942938e Update ghcr.io/koush/scrypted Docker tag to v0.138.6 2025-03-05 03:31:53 +00:00
68bccb1c90
Flake lock update -- all
Some checks failed
Build / nix-build (native-x86_64, gandalf) (push) Failing after 1m16s
Build / nix-build (native-x86_64, telperion) (push) Successful in 4m59s
Build / nix-build (native-x86_64, shadowfax) (push) Failing after 38m1s
2025-03-04 17:32:42 -06:00
3025ed02f6
install themes from nixpkgs 2025-03-04 17:12:59 -06:00
20b1998378
not needed 2025-03-03 18:58:11 -06:00
079b0858d9
hyprland and myPkg/overlay migrations 2025-03-03 17:08:24 -06:00
12dee64ccd
format 2025-03-03 17:07:42 -06:00
12 changed files with 109 additions and 112 deletions

View file

@ -1,5 +1,4 @@
{ ... }: {...}: {
{
imports = [ imports = [
./gnome ./gnome
]; ];

83
flake.lock generated
View file

@ -162,22 +162,6 @@
"type": "github" "type": "github"
} }
}, },
"flake-compat_4": {
"flake": false,
"locked": {
"lastModified": 1696426674,
"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"flake-parts": { "flake-parts": {
"inputs": { "inputs": {
"nixpkgs-lib": [ "nixpkgs-lib": [
@ -276,11 +260,11 @@
"systems": "systems_6" "systems": "systems_6"
}, },
"locked": { "locked": {
"lastModified": 1710146030, "lastModified": 1731533236,
"narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide", "owner": "numtide",
"repo": "flake-utils", "repo": "flake-utils",
"rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -488,11 +472,11 @@
"xdph": "xdph" "xdph": "xdph"
}, },
"locked": { "locked": {
"lastModified": 1740614171, "lastModified": 1741035361,
"narHash": "sha256-M4V9mn/XlGaz0ghcAICZZ5ErU7gB/J4dRGZ5eC9axng=", "narHash": "sha256-WSfqkzWUY8FMFnaGm0n9QcoO0cgqJbYcv3ccfkFv7Qw=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "Hyprland", "repo": "Hyprland",
"rev": "d5920bc5da75b8eaf3476bc814bd46d225709788", "rev": "d7e7a292613a4f20218074ff8299dff099a80098",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -957,11 +941,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1740620959, "lastModified": 1741053056,
"narHash": "sha256-2yp4ipvKG1cZf4OJYelOiDMtZ4qxGn4PPFXlpiVMcuo=", "narHash": "sha256-ygah91MEXq8f82EbqGMk8VTnV2Ur2zFBUnj/0E3yfug=",
"owner": "Infinidoge", "owner": "Infinidoge",
"repo": "nix-minecraft", "repo": "nix-minecraft",
"rev": "91ee2f20fe2500359ba04f6ca86d39e950345d1f", "rev": "df6064e16c85263e587f0490aa804f67fbc224ff",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -972,18 +956,17 @@
}, },
"nix-vscode-extensions": { "nix-vscode-extensions": {
"inputs": { "inputs": {
"flake-compat": "flake-compat_4",
"flake-utils": "flake-utils_3", "flake-utils": "flake-utils_3",
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
] ]
}, },
"locked": { "locked": {
"lastModified": 1740655383, "lastModified": 1741126766,
"narHash": "sha256-HHb6wtlHWy/CW3oCtOyOQrNnzgtsvwvwM6wAlDvfTec=", "narHash": "sha256-Irgm6XQBenXE+qqE7VfQmmZCACm5DfEaQamshHiIRZY=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nix-vscode-extensions", "repo": "nix-vscode-extensions",
"rev": "bcf7577daac02aa1a7dfaddc79324b7c6ca4af81", "rev": "7524932bd3093e551e87103bb72f096a2352500e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1066,11 +1049,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1740560979, "lastModified": 1741010256,
"narHash": "sha256-Vr3Qi346M+8CjedtbyUevIGDZW8LcA1fTG0ugPY/Hic=", "narHash": "sha256-WZNlK/KX7Sni0RyqLSqLPbK8k08Kq7H7RijPJbq9KHM=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "5135c59491985879812717f4c9fea69604e7f26f", "rev": "ba487dbc9d04e0634c64e3b1f0d25839a0a68246",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1082,11 +1065,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1740463929, "lastModified": 1740932899,
"narHash": "sha256-4Xhu/3aUdCKeLfdteEHMegx5ooKQvwPHNkOgNCXQrvc=", "narHash": "sha256-F0qDu2egq18M3edJwEOAE+D+VQ+yESK6YWPRQBfOqq8=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "5d7db4668d7a0c6cc5fc8cf6ef33b008b2b1ed8b", "rev": "1546c45c538633ae40b93e2d14e0bb6fd8f13347",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1098,11 +1081,11 @@
}, },
"nixpkgs_3": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1740560979, "lastModified": 1741010256,
"narHash": "sha256-Vr3Qi346M+8CjedtbyUevIGDZW8LcA1fTG0ugPY/Hic=", "narHash": "sha256-WZNlK/KX7Sni0RyqLSqLPbK8k08Kq7H7RijPJbq9KHM=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "5135c59491985879812717f4c9fea69604e7f26f", "rev": "ba487dbc9d04e0634c64e3b1f0d25839a0a68246",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1187,11 +1170,11 @@
"treefmt-nix": "treefmt-nix" "treefmt-nix": "treefmt-nix"
}, },
"locked": { "locked": {
"lastModified": 1740661727, "lastModified": 1741128337,
"narHash": "sha256-FayYwfyYLL+EtaRcN2H3YV8Z0XJhjYRvhOYPpq7k9NA=", "narHash": "sha256-tnzgx8XmDr/jetKbELktR7kCrWyHWs99yOL6PDZV8fM=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NUR", "repo": "NUR",
"rev": "32eb8668e5b3de02c6d5891ee1736c2ab35148f8", "rev": "862010e51dce8bc528188b0ad116fa07141da92b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1211,11 +1194,11 @@
"systems": "systems_8" "systems": "systems_8"
}, },
"locked": { "locked": {
"lastModified": 1740659022, "lastModified": 1741120430,
"narHash": "sha256-eUbuxeOQFKZln1ctHDgJDyRzvEK8XkjG6pMVkONQEBA=", "narHash": "sha256-n+Qeb9qU+olGrGcAPcpTccb0zUQscH69o58ncHg2Ufg=",
"owner": "notashelf", "owner": "notashelf",
"repo": "nvf", "repo": "nvf",
"rev": "7e53fc47243448fdd01adf2a5b780831853c5dca", "rev": "27978c7186b26e78c7765de4c093a816617f9f39",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1430,11 +1413,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1739262228, "lastModified": 1741043164,
"narHash": "sha256-7JAGezJ0Dn5qIyA2+T4Dt/xQgAbhCglh6lzCekTVMeU=", "narHash": "sha256-9lfmSZLz6eq9Ygr6cCmvQiiBEaPb54pUBcjvbEMPORc=",
"owner": "Mic92", "owner": "Mic92",
"repo": "sops-nix", "repo": "sops-nix",
"rev": "07af005bb7d60c7f118d9d9f5530485da5d1e975", "rev": "3f2412536eeece783f0d0ad3861417f347219f4d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1586,11 +1569,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1740628241, "lastModified": 1741057234,
"narHash": "sha256-7yzmrdbrw7PzTAeWwEr+r5lmevbSuife4cOJl96Kv7w=", "narHash": "sha256-1UEFyD9WxJUSECyEzKwM4AQ6BRFVVkrBjfGAUySV80Q=",
"owner": "budimanjojo", "owner": "budimanjojo",
"repo": "talhelper", "repo": "talhelper",
"rev": "e23e0e77e3c7c9fb08e0d783a11fa1d92227a70d", "rev": "4e593a7d938b5ca18a31d4aa808bb000627ee7f5",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -54,6 +54,7 @@
direnv direnv
git git
python3 python3
pipx
fzf fzf
ripgrep ripgrep
lsd lsd

View file

@ -12,12 +12,25 @@ in {
imports = [inputs.ags.homeManagerModules.default]; imports = [inputs.ags.homeManagerModules.default];
config = mkIf cfg.enable { config = mkIf cfg.enable {
# Downloads the Theme Resources
home.packages = with pkgs; [
andromeda-gtk-theme
flat-remix-icon-theme
bibata-cursors
];
# 'Installs' (sym-links) the Theme Resources
home.file = {
".themes/Andromeda".source = "${pkgs.andromeda-gtk-theme}/share/themes/Andromeda";
".icons/Flat-Remix-Blue-Dark".source = "${pkgs.flat-remix-icon-theme}/share/icons/Flat-Remix-Blue-Dark";
".icons/Bibata-Modern-Ice".source = "${pkgs.bibata-cursors}/share/icons/Bibata-Modern-Ice";
};
# Theme settings
gtk = { gtk = {
enable = true; enable = true;
# Some apps just need the good ol' ini files.
gtk3.extraConfig = { gtk3.extraConfig = {
gtk-application-prefer-dark-theme = 1; gtk-application-prefer-dark-theme = 1;
gtk-theme-name = "Andromeda-dark"; gtk-theme-name = "Andromeda";
gtk-icon-theme-name = "Flat-Remix-Blue-Dark"; gtk-icon-theme-name = "Flat-Remix-Blue-Dark";
gtk-font-name = "Fira Code Semi-Bold 14"; gtk-font-name = "Fira Code Semi-Bold 14";
gtk-cursor-theme-name = "Bibata-Modern-Ice"; gtk-cursor-theme-name = "Bibata-Modern-Ice";
@ -35,7 +48,7 @@ in {
}; };
gtk4.extraConfig = { gtk4.extraConfig = {
gtk-application-prefer-dark-theme = "1"; gtk-application-prefer-dark-theme = "1";
gtk-theme-name = "Andromeda-dark"; gtk-theme-name = "Andromeda";
gtk-icon-theme-name = "Flat-Remix-Blue-Dark"; gtk-icon-theme-name = "Flat-Remix-Blue-Dark";
gtk-font-name = "Fira Code Semi-Bold 14"; gtk-font-name = "Fira Code Semi-Bold 14";
gtk-cursor-theme-name = "Bibata-Modern-Ice"; gtk-cursor-theme-name = "Bibata-Modern-Ice";
@ -52,9 +65,18 @@ in {
gtk-xft-rgba = "rgb"; gtk-xft-rgba = "rgb";
}; };
}; };
# Wayland and apps pull from dconf since we're using the gtk portal.
dconf.settings = {
"org/gnome/desktop/interface" = {
color-scheme = "prefer-dark";
cursor-size = 24;
cursor-theme = "Bibata-Modern-Ice";
gtk-theme = "Andromeda";
icon-theme = "Flat-Remix-Blue-Dark";
};
};
programs.ags = { programs.ags = {
enable = true; enable = true;
# I don't want Home Manager to manage these config files. # I don't want Home Manager to manage these config files.
# Just setup the programs. # Just setup the programs.
configDir = null; configDir = null;

View file

@ -1,53 +1,25 @@
{ {pkgs, ...}: {
config,
pkgs,
myPkgs,
inputs,
...
}: let
hypr-pkgs = inputs.hyprland.inputs.nixpkgs.legacyPackages.${pkgs.stdenv.hostPlatform.system};
in {
imports = []; imports = [];
swapDevices = []; swapDevices = [];
virtualisation.docker.enable = true; virtualisation.docker.enable = true;
# System packages # System packages
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
uv # myPkgs.modrinth-app-unwrapped
dconf-editor
fastfetch fastfetch
gtk3 gtk3
dconf-editor
# myPkgs.modrinth-app-unwrapped
zulu # Java OpenJDK
nodejs_22 nodejs_22
vesktop pavucontrol # Pulseaudio volume control
vesktop # Discord custom client
zulu # Java OpenJDK
]; ];
hardware.graphics = {
package = hypr-pkgs.mesa.drivers;
};
environment.sessionVariables = { environment.sessionVariables = {
# Wayland and Chromium/Electron apps. # Wayland and Chromium/Electron apps.
NIXOS_OZONE_WL = "1"; NIXOS_OZONE_WL = "1";
}; };
# sops
# sops.secrets = {
# "syncthing/publicCert" = {
# sopsFile = ./secrets.sops.yaml;
# owner = "jahanson";
# mode = "400";
# restartUnits = ["syncthing.service"];
# };
# "syncthing/privateKey" = {
# sopsFile = ./secrets.sops.yaml;
# owner = "jahanson";
# mode = "400";
# restartUnits = ["syncthing.service"];
# };
#};
services = { services = {
# Tailscale # Tailscale
tailscale = { tailscale = {
@ -58,8 +30,19 @@ in {
pipewire = { pipewire = {
enable = true; enable = true;
alsa.enable = true; alsa.enable = true;
jack.enable = true;
pulse.enable = true; pulse.enable = true;
extraConfig.pipewire = {
"10-clock-rate" = {
"context.properties" = {
"default.clock.rate" = 48000;
};
};
"10-clock-quantum" = {
"context.properties" = {
"default.clock.quantum" = 1024;
};
};
};
}; };
blueman.enable = true; blueman.enable = true;
}; };

View file

@ -12,6 +12,7 @@ with lib; rec {
# Create custom package set # Create custom package set
mkMyPkgs = pkgs: { mkMyPkgs = pkgs: {
borgmatic = pkgs.callPackage ../../nixos/packages/borgmatic {}; borgmatic = pkgs.callPackage ../../nixos/packages/borgmatic {};
mods = pkgs.callPackage ../../nixos/packages/charm-mods {};
# modrinth-app-unwrapped = pkgs.callPackage ../../nixos/packages/modrinth {}; # modrinth-app-unwrapped = pkgs.callPackage ../../nixos/packages/modrinth {};
}; };

View file

@ -7,7 +7,7 @@
with lib; let with lib; let
app = "scrypted"; app = "scrypted";
# renovate: depName=ghcr.io/koush/scrypted datasource=docker versioning=docker # renovate: depName=ghcr.io/koush/scrypted datasource=docker versioning=docker
version = "v0.138.5-noble-nvidia"; version = "v0.138.6-noble-nvidia";
image = "ghcr.io/koush/scrypted:${version}"; image = "ghcr.io/koush/scrypted:${version}";
cfg = config.mySystem.containers.${app}; cfg = config.mySystem.containers.${app};
in { in {

View file

@ -6,6 +6,7 @@
... ...
}: let }: let
cfg = config.mySystem.de.hyprland; cfg = config.mySystem.de.hyprland;
hypr-pkgs = inputs.hyprland.inputs.nixpkgs.legacyPackages.${pkgs.stdenv.hostPlatform.system};
in { in {
options = { options = {
mySystem.de.hyprland = { mySystem.de.hyprland = {
@ -17,6 +18,12 @@ in {
}; };
}; };
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
# We need all hyprland packages to follow the same MESA version
hardware = {
graphics = {
package = hypr-pkgs.mesa.drivers;
};
};
# Hyprland nixpkgs system packages # Hyprland nixpkgs system packages
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
# Hyprland # Hyprland

View file

@ -1,17 +1,15 @@
{ inputs, ... }: {inputs, ...}: let
let
# smartmontoolsOverlay = import ./smartmontools { }; # smartmontoolsOverlay = import ./smartmontools { };
# vivaldiOverlay = self: super: { vivaldi = super.callPackage ./vivaldi { }; }; # vivaldiOverlay = self: super: { vivaldi = super.callPackage ./vivaldi { }; };
coderOverlay = self: super: { coder = super.callPackage ./coder { }; }; coderOverlay = self: super: {coder = super.callPackage ./coder {};};
modsOverlay = self: super: { mods = super.callPackage ./charm-mods { }; }; # modsOverlay = self: super: { mods = super.callPackage ./charm-mods { }; };
termiusOverlay = self: super: { termius = super.callPackage ./termius { }; }; termiusOverlay = self: super: {termius = super.callPackage ./termius {};};
in in {
{
# smartmontools = smartmontoolsOverlay; # smartmontools = smartmontoolsOverlay;
# vivaldi = vivaldiOverlay; # vivaldi = vivaldiOverlay;
coder = coderOverlay; coder = coderOverlay;
comm-packages = inputs.nix-vscode-extensions.overlays.default; comm-packages = inputs.nix-vscode-extensions.overlays.default;
mods = modsOverlay; # mods = modsOverlay;
nix-minecraft = inputs.nix-minecraft.overlay; nix-minecraft = inputs.nix-minecraft.overlay;
nur = inputs.nur.overlays.default; nur = inputs.nur.overlays.default;
termius = termiusOverlay; termius = termiusOverlay;
@ -27,17 +25,18 @@ in
// { // {
# Add talosctl to the unstable set # Add talosctl to the unstable set
talosctl = final.unstable.callPackage ./talosctl { talosctl = final.unstable.callPackage ./talosctl {
inherit (final.unstable) inherit
(final.unstable)
lib lib
buildGoModule buildGoModule
fetchFromGitHub fetchFromGitHub
installShellFiles installShellFiles
; ;
}; };
xpipe = final.unstable.callPackage ./xpipe/ptb.nix { }; xpipe = final.unstable.callPackage ./xpipe/ptb.nix {};
prowlarr = final.unstable.callPackage ./arr/prowlarr.nix { }; prowlarr = final.unstable.callPackage ./arr/prowlarr.nix {};
radarr = final.unstable.callPackage ./arr/radarr.nix { }; radarr = final.unstable.callPackage ./arr/radarr.nix {};
sonarr = final.unstable.callPackage ./arr/sonarr.nix { }; sonarr = final.unstable.callPackage ./arr/sonarr.nix {};
}; };
}; };
} }

View file

@ -7,20 +7,19 @@
testers, testers,
mods, mods,
}: }:
buildGoModule rec { buildGoModule rec {
pname = "mods"; pname = "mods";
version = "1.6.0"; version = "1.7.0";
commitHash = "2a7f9d4dc11b6c828bf35a0b3d0be709f3ed79b9"; commitHash = "bf8337f9f4c586aaa267f8019ac2d0daa3b30129";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "charmbracelet"; owner = "charmbracelet";
repo = "mods"; repo = "mods";
rev = commitHash; rev = commitHash;
hash = "sha256-23gtb8BOx/0c643/paRt7VFHEyMyF4Q4a5b5+a4+kNU="; hash = "sha256-EoDia+7ObtpnTDjJMzOk9djyCrW0m9pIToNHEDZ8Ch8=";
}; };
vendorHash = "sha256-RV/Nr60BpCLcUL2Yy1Dd2ScwoI0BhGhTb/igCEcJPjI="; vendorHash = "sha256-dnKvT3VcvidfDcgJ9FerjtReIOwvRZtJZiBwNx2BEQ8=";
nativeBuildInputs = [ nativeBuildInputs = [
installShellFiles installShellFiles
@ -33,7 +32,7 @@ buildGoModule rec {
]; ];
# These tests require internet access. # These tests require internet access.
checkFlags = [ "-skip=^TestLoad/http_url$|^TestLoad/https_url$" ]; checkFlags = ["-skip=^TestLoad/http_url$|^TestLoad/https_url$"];
passthru = { passthru = {
updateScript = gitUpdater { updateScript = gitUpdater {

View file

@ -1,6 +1,7 @@
{ {
lib, lib,
config, config,
pkgs,
... ...
}: { }: {
imports = []; imports = [];

View file

@ -1,5 +1,6 @@
{ {
pkgs, pkgs,
myPkgs,
inputs, inputs,
... ...
}: }:
@ -28,6 +29,7 @@
alejandra alejandra
# dev # dev
uv # python package manager
bash-language-server bash-language-server
fd fd
gh gh
@ -57,8 +59,8 @@
inputs.talhelper.packages.${pkgs.system}.default inputs.talhelper.packages.${pkgs.system}.default
# charmbracelet tools # charmbracelet tools
myPkgs.mods
gum gum
mods
skate skate
soft-serve soft-serve
unstable.glow unstable.glow