lots of stuff

Signed-off-by: gwg313 <gwg313@pm.me>
This commit is contained in:
gwg313 2025-06-30 18:13:14 -04:00
parent cf1df09a9e
commit 58f06d6729
Signed by: gwg313
GPG key ID: 60FF63B4826B7400
55 changed files with 2154 additions and 584 deletions

View file

@ -20,10 +20,21 @@
# use the example session manager (no others are packaged yet so this is enabled by default,
# no need to redefine it in your config for now)
#media-session.enable = true;
extraConfig.pipewire.adjust-sample-rate = {
"context.properties" = {
"default.clock.rate" = 192000;
#"defautlt.allowed-rates" = [ 192000 48000 44100 ];
"defautlt.allowed-rates" = [ 192000 ];
#"default.clock.quantum" = 32;
#"default.clock.min-quantum" = 32;
#"default.clock.max-quantum" = 32;
};
};
};
environment.systemPackages = with pkgs; [
pipewire
wireplumber
easyeffects
];
}

18
common/gui/retroarch.nix Normal file
View file

@ -0,0 +1,18 @@
{ pkgs, ... }:
let
retroarchWithCores = (
pkgs.retroarch.withCores (
cores: with cores; [
bsnes
mgba
quicknes
genesis-plus-gx
]
)
);
in
{
environment.systemPackages = [
retroarchWithCores
];
}

View file

@ -3,7 +3,8 @@
lib,
pkgs,
...
}: {
}:
{
options = {
steam.enable = lib.mkEnableOption "Enables steam";
};
@ -13,8 +14,8 @@
nixpkgs.config.packageOverrides = pkgs: {
steam = pkgs.steam.override {
extraPkgs = pkgs:
with pkgs; [
extraPkgs =
pkgs: with pkgs; [
xorg.libXcursor
xorg.libXi
xorg.libXinerama
@ -46,6 +47,9 @@
WINE_FULLSCREEN_FSR = "1";
};
environment.systemPackages = with pkgs; [protonup];
environment.systemPackages = with pkgs; [
protonup
scanmem
];
};
}

View file

@ -0,0 +1,26 @@
_: {
networking.extraHosts = ''
10.147.17.246 audiobooks.zerotier.gwg313.xyz
10.147.17.246 music.zerotier.gwg313.xyz
10.147.17.246 recipes.zerotier.gwg313.xyz
10.147.17.246 scholarsome.zerotier.gwg313.xyz
10.147.17.246 bookmarks.zerotier.gwg313.xyz
10.147.17.246 pastebin.zerotier.gwg313.xyz
10.147.17.246 snippets.zerotier.gwg313.xyz
10.147.17.246 git.zerotier.gwg313.xyz
10.147.17.246 s3.zerotier.gwg313.xyz
10.147.17.246 s3-console.zerotier.gwg313.xyz
10.147.17.246 registry.zerotier.gwg313.xyz
10.147.17.246 ci.zerotier.gwg313.xyz
10.1.10.50 music.gwg313.xyz
10.1.10.50 git.gwg313.xyz
10.1.10.50 ci.gwg313.xyz
10.1.10.50 registry.gwg313.xyz
10.1.10.50 s3.gwg313.xyz
10.1.10.50 s3-console.gwg313.xyz
10.1.10.50 pastebin.gwg313.xyz
'';
}

View file

@ -1,4 +1,4 @@
{ lib, ... }:
{ lib, pkgs, ... }:
{
imports = [
./common.nix
@ -12,4 +12,13 @@
laptop.enable = lib.mkDefault false;
nfs.enable = lib.mkDefault false;
restic.enable = lib.mkDefault true;
services.flatpak.enable = true;
systemd.services.flatpak-repo = {
wantedBy = [ "multi-user.target" ];
path = [ pkgs.flatpak ];
script = ''
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
'';
};
# flatpak override --user --socket=wayland md.obsidian.Obsidian (Must run this for obsidian to launch)
}

View file

@ -35,6 +35,6 @@
# inputs.superfile.packages.${system}.default
];
environment.sessionVariables = {
FLAKE = "/home/${user}/repos/nixos-config";
NH_FLAKE = "/home/${user}/repos/nixos-config";
};
}

View file

@ -25,6 +25,7 @@
"/home/${user}/Documents"
"/home/${user}/.local/share/password-store"
];
# extraBackupArgs = [ "--exclude-file=/home/gwg313/Documents/Celsus" ];
timerConfig = {
OnCalendar = "23:00";
};

View file

@ -1,7 +1,8 @@
{pkgs, ...}: {
{ pkgs, ... }:
{
stylix = {
# base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-macchiato.yaml";
base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-latte.yaml";
# base16Scheme = "${pkgs.base16-schemes}/share/themes/atelier-sulphurpool-light.yaml";
# image = ./wallpaper.jpg;
image = ../../wallpapers/nixos-wallpaper-catppuccin-latte.png;
#polarity = "dark";
@ -9,22 +10,22 @@
enable = true;
opacity.terminal = 1.0;
fonts.sizes.terminal = 15;
fonts.sizes.terminal = 18;
fonts = {
serif = {
package = pkgs.meslo-lgs-nf;
name = "MesloLGS NF";
package = pkgs.lmodern;
name = "Latin Modern Roman";
};
sansSerif = {
package = pkgs.meslo-lgs-nf;
name = "MesloLGS NF";
package = pkgs.inter;
name = "Inter";
};
monospace = {
package = pkgs.ibm-plex;
name = "IBM Plex Mono";
package = pkgs.fira-code;
name = "Fire Code";
};
emoji = {

View file

@ -1,10 +1,10 @@
{
rounding = 15;
gaps-in = 10;
gaps-out = 10 * 2;
rounding = 0;
gaps-in = 5;
gaps-out = 10;
active-opacity = 1;
inactive-opacity = 0.89;
blur = true;
inactive-opacity = 1;
blur = false;
border-size = 3;
animation-speed = "medium"; # "fast" | "medium" | "slow"
fetch = "fastfetch"; # "nerdfetch" | "neofetch" | "pfetch" | "none"

View file

@ -1,11 +1,11 @@
{
rounding = 25;
gaps-in = 12;
gaps-out = 12 * 2;
rounding = 0;
gaps-in = 5;
gaps-out = 10;
active-opacity = 1;
inactive-opacity = 0.87;
blur = true;
border-size = 3;
inactive-opacity = 1;
blur = false;
border-size = 4;
animation-speed = "slow"; # "fast" | "medium" | "slow"
fetch = "fastfetch"; # "nerdfetch" | "neofetch" | "pfetch" | "none"