theme stuff

This commit is contained in:
mjallen18
2025-12-01 16:21:12 -06:00
parent 47e2b0caf8
commit a0870e42ca
30 changed files with 313 additions and 1088 deletions

View File

@@ -1,9 +1,11 @@
{
lib,
pkgs,
namespace,
...
}:
let
inherit (lib.${namespace}) enabled disabled;
shellAliases = {
update-switch = "darwin-rebuild switch --flake ~/nix-config";
update-flake = "nix flake update ~/nix-config";
@@ -135,9 +137,9 @@ in
};
dock = {
animateOpeningApplications = true;
automaticallyHideAndShowTheDock.enabled = false;
automaticallyHideAndShowTheDock = enabled;
doubleClickAWindowsTitleBarTo = "Minimize";
magnification.enabled = false;
magnification = disabled;
minimizeWindowsIntoApplicationIcon = true;
minimizeWindowsUsing = "Genie Effect";
positionOnScreen = "Bottom";
@@ -254,11 +256,11 @@ in
};
# Manage bug in compilations - who uses manpages in 2024 anyways? :P
manual.manpages.enable = false;
manual.manpages = enabled;
# Override defaults that arent supported
programs = {
mangohud.enable = lib.mkForce false;
mangohud = lib.mkForce disabled;
nh = {
flake = lib.mkForce "/Users/mattjallen/nix-config";
@@ -266,8 +268,8 @@ in
};
services = {
pass-secret-service.enable = lib.mkForce false;
nextcloud-client.enable = lib.mkForce false;
pass-secret-service = lib.mkForce disabled;
nextcloud-client = lib.mkForce disabled;
kdeconnect = {
enable = false;
indicator = false;

View File

@@ -1,11 +1,11 @@
{
lib,
pkgs,
namespace,
config,
...
}:
let
theme = config.mjallen.theme.palette;
inherit (lib.${namespace}) enabled disabled;
shellAliases = {
update-boot = "sudo nixos-rebuild boot --max-jobs 10 --build-host admin@10.0.1.3";
update-switch = "sudo nixos-rebuild switch --max-jobs 10 --build-host admin@10.0.1.3";
@@ -75,15 +75,15 @@ in
};
};
programs = {
btop.enable = true;
btop = enabled;
kitty = {
enable = true;
};
mako = {
enable = true;
};
nwg-dock.enable = true;
nwg-drawer.enable = true;
nwg-dock = enabled;
nwg-drawer = enabled;
nwg-panel = {
enable = true;
defaultApps = {
@@ -96,8 +96,8 @@ in
layer = "bottom";
temperature = {
cpu.enable = true;
gpu.enable = true;
cpu = enabled;
gpu = enabled;
};
extraModules = {
@@ -113,21 +113,20 @@ in
extraModulesStyle = ''
#custom-lights {
color: ${theme.frost.nord8};
background-color: ${theme.polarNight.nord0};
${theme.defaultOpacity}
${theme.borderLeft}
color: @base0C;
opacity: 0.85;
background-color: @base00;
}
#custom-lights:hover {
background: ${theme.polarNight.nord3};
background: @base03;
}
'';
windowOffset = 75;
};
wlogout.enable = true;
wofi.enable = true;
wlogout = enabled;
wofi = enabled;
};
};
@@ -142,7 +141,7 @@ in
];
programs = {
password-store.enable = true;
password-store = enabled;
zsh.shellAliases = shellAliases;
};

View File

@@ -1,4 +1,7 @@
{ lib, namespace, ... }:
let
inherit (lib.${namespace}) enabled disabled;
in
{
home.username = "matt";
@@ -53,11 +56,11 @@
};
programs = {
mangohud.enable = lib.mkForce true;
mangohud = lib.mkForce enabled;
};
services = {
nextcloud-client.enable = lib.mkForce false;
nextcloud-client = lib.mkForce disabled;
kdeconnect = {
enable = false;
indicator = false;

View File

@@ -1,8 +1,11 @@
{
config,
lib,
namespace,
...
}:
let
inherit (lib.${namespace}) enabled disabled;
shellAliases = {
update-boot = "sudo nixos-rebuild boot --max-jobs 10 --build-host admin@10.0.1.3";
update-switch = "sudo nixos-rebuild switch --max-jobs 10 --build-host admin@10.0.1.3";
@@ -59,7 +62,7 @@ in
};
services = {
nextcloud-client.enable = false;
nextcloud-client = lib.mkForce disabled;
kdeconnect = {
enable = false;
indicator = false;

View File

@@ -1,5 +1,6 @@
{ pkgs, namespace, ... }:
{ lib, pkgs, namespace, ... }:
let
inherit (lib.${namespace}) enabled disabled;
shellAliases = {
update-boot = "sudo nixos-rebuild boot --max-jobs 10 --build-host admin@10.0.1.3";
update-switch = "sudo nixos-rebuild switch --max-jobs 10";
@@ -10,7 +11,7 @@ in
{
home.username = "deck";
${namespace}.desktop.gnome.enable = true;
${namespace}.desktop.gnome = enabled;
sops = {
age.keyFile = "/home/deck/.config/sops/age/keys.txt";
@@ -40,7 +41,7 @@ in
};
emulators = {
ryujinx.enable = true;
ryujinx = enabled;
dolphin-gamecube = {
enable = true;
@@ -58,8 +59,8 @@ in
extraArgs = "-b -e \"\${filePath}\"";
};
pcsx2.enable = true;
mgba.enable = true;
pcsx2 = enabled;
mgba = enabled;
"Non-SRM Shortcuts" = {
enable = true;

View File

@@ -104,12 +104,8 @@ in
};
};
btop = enabled;
kitty = {
enable = true;
};
mako = {
enable = true;
};
kitty = enabled;
mako = enabled;
nwg-dock = enabled;
nwg-drawer = enabled;
nwg-panel = {
@@ -125,8 +121,8 @@ in
network.interface = "wlp9s0";
temperature = {
cpu.enable = true;
gpu.enable = true;
cpu = enabled;
gpu = enabled;
};
extraModules = {
@@ -142,14 +138,14 @@ in
extraModulesStyle = ''
#custom-lights {
color: ${theme.frost.nord8};
background-color: ${theme.polarNight.nord0};
${theme.defaultOpacity}
border-left: 5px solid ${theme.frost.nord8};
color: @base0C;
background-color: @base00;
opacity: 0.85;
border-left: 5px solid @base0C;
}
#custom-lights:hover {
background: ${theme.polarNight.nord3};
background: @base03;
}
'';
};