Refactors configurations across home for cleaner user/host-specific configs

- Removes global development utilities file and shifts related tools to core
- Updates gaming and vscode modules with refined commands and file renames
- Wraps GNOME dconf settings in mkDefault/mkForce for consistency across users
- Adds host-specific configurations (dconf, monitors, and VM settings)
- Organizes user theme files by relocating global assets to user directories
This commit is contained in:
Chris Toph 2025-05-28 17:04:49 -04:00
parent e7c2814588
commit 9e443fa4f1
19 changed files with 815 additions and 313 deletions

View file

@ -1,42 +0,0 @@
# Development utilities I want across all systems
{
lib,
pkgs,
...
}:
{
imports = lib.custom.scanPaths ./.;
home.packages = lib.flatten [
(builtins.attrValues {
inherit (pkgs)
# Development
direnv
delta # diffing
gh # github cli
mcaselector
# nix
nixpkgs-review
nixfmt-rfc-style
# networking
nmap
# Diffing
difftastic
# serial debugging
screen
# Standard man pages for linux API
man-pages
man-pages-posix
;
inherit (pkgs.jetbrains)
idea-ultimate
;
})
];
}

View file

@ -4,63 +4,17 @@
lib, lib,
... ...
}: }:
#INFO: Gamescope is REALLY broken rn, this wont work
# let
# monitor = lib.head (lib.filter (m: m.primary) config.monitors);
# steam-session =
# let
# gamescope = lib.concatStringsSep " " [
# (lib.getExe pkgs.gamescope)
# "--rt"
# "--output-width ${toString monitor.width}"
# "--output-height ${toString monitor.height}"
# "--framerate-limit ${toString monitor.refreshRate}"
# "--prefer-output ${monitor.name}"
# "--adaptive-sync"
# "--expose-wayland"
# "--backend wayland"
# "--force-grab-cursor"
# "--steam"
# # "--hdr-enabled"
# ];
# steam = lib.concatStringsSep " " [
# "steam"
# #"steam://open/bigpicture"
# "-forcedesktopscaling ${toString monitor.scale}"
# "-nofriendsui"
# "-noschatui"
# ];
# in
# pkgs.writeTextDir "share/applications/steam-session.desktop" ''
# [Desktop Entry]
# Name=Steam Session
# Comment=Steam with Gamescope
# Exec=${gamescope} -- ${steam}
# Icon=steam
# Type=Application
# Categories=Network;FileTransfer;Game;
# MimeType=x-scheme-handler/steam;x-scheme-handler/steamlink;
# PrefersNonDefaultGPU = true;
# '';
# in
{ {
imports = lib.custom.scanPaths ./.; imports = lib.custom.scanPaths ./.;
home.packages = with pkgs; [ home.packages = with pkgs; [
prismlauncher prismlauncher
# steam-session
# modrinth-app # modrinth-app
(lutris.override {
extraLibraries = pkgs: [
# List library dependencies here
];
extraPkgs = pkgs: [
# List package dependencies here
];
})
]; ];
} }
# INFO: Example working command for running gamescope # INFO: Example working commands for running gamescope
# gamescope --adaptive-sync --backend sdl --expose-wayland --force-grab-cursor --framerate-limit 120 --immediate-flips --output-height 2160 --output-width 3840 --prefer-output DP-3 --rt -- gamemoderun %command% # gamescope --adaptive-sync --backend sdl --expose-wayland --force-grab-cursor --framerate-limit 120 --immediate-flips --output-height 2160 --output-width 3840 --prefer-output DP-3 --rt -- gamemoderun %command%
# AMD_VULKAN_ICD=RADV RADV_PERFTEST=aco PROTON_USE_D9VK=1 CAP_SYS_NICE=eip gamescope --expose-wayland --backend sdl --framerate-limit 120 --output-height 2160 --output-width 3840 --prefer-vk-device 7550:C0 --rt -F fsr -f --sharpness 4 -- gamemoderun %command%

View file

@ -5,52 +5,11 @@ with lib.hm.gvariant;
{ {
dconf.settings = { dconf.settings = {
"org/gnome/TextEditor" = { "org/gnome/TextEditor" = lib.mkDefault {
style-scheme = "stylix"; style-scheme = "stylix";
}; };
"org/gnome/desktop/app-folders" = { "org/gnome/desktop/input-sources" = lib.mkDefault {
folder-children = [
"System"
"Utilities"
"Useless Launchers"
];
};
"org/gnome/desktop/app-folders/folders/System" = {
apps = [
"org.gnome.baobab.desktop"
"org.gnome.DiskUtility.desktop"
"org.gnome.Logs.desktop"
"org.gnome.SystemMonitor.desktop"
"org.gnome.tweaks.desktop"
];
name = "X-GNOME-Shell-System.directory";
translate = true;
};
"org/gnome/desktop/app-folders/folders/Utilities" = {
apps = [
"org.gnome.Connections.desktop"
"org.gnome.FileRoller.desktop"
"org.gnome.font-viewer.desktop"
"org.gnome.Loupe.desktop"
"org.gnome.seahorse.Application.desktop"
];
name = "X-GNOME-Shell-Utilities.directory";
translate = true;
};
"org/gnome/desktop/app-folders/folders/Useless" = {
apps = [
"fish.desktop"
"ranger.desktop"
];
name = "Useless Launchers";
translate = false;
};
"org/gnome/desktop/input-sources" = {
sources = [ sources = [
(mkTuple [ (mkTuple [
"xkb" "xkb"
@ -64,7 +23,7 @@ with lib.hm.gvariant;
]; ];
}; };
"org/gnome/desktop/wm/keybindings" = { "org/gnome/desktop/wm/keybindings" = lib.mkDefault {
maximize = [ ]; maximize = [ ];
move-to-monitor-down = [ ]; move-to-monitor-down = [ ];
move-to-monitor-left = [ ]; move-to-monitor-left = [ ];
@ -104,28 +63,15 @@ with lib.hm.gvariant;
unmaximize = [ ]; unmaximize = [ ];
}; };
"org/gnome/desktop/wm/preferences" = { "org/gnome/desktop/wm/preferences" = lib.mkForce {
num-workspaces = 3; num-workspaces = 3;
}; };
"org/gnome/mutter" = { "org/gnome/mutter" = {
experimental-features = [ "scale-monitor-framebuffer" ]; experimental-features = lib.mkDefault [ "scale-monitor-framebuffer" ];
}; };
"org/gnome/nautilus/preferences" = { "org/gnome/settings-daemon/plugins/media-keys" = lib.mkDefault {
default-folder-viewer = "icon-view";
migrated-gtk-settings = true;
search-filter-time-type = "last_modified";
};
"org/gnome/settings-daemon/plugins/color" = {
night-light-enabled = true;
night-light-schedule-automatic = false;
night-light-schedule-from = 19.0;
night-light-temperature = mkUint32 3892;
};
"org/gnome/settings-daemon/plugins/media-keys" = {
custom-keybindings = [ custom-keybindings = [
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/" "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/"
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/" "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/"
@ -143,27 +89,27 @@ with lib.hm.gvariant;
www = [ "<Super>w" ]; www = [ "<Super>w" ];
}; };
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0" = { "org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0" = lib.mkDefault {
binding = "<Super>t"; binding = "<Super>t";
command = "ghostty"; command = "ghostty";
name = "Terminal"; name = "Terminal";
}; };
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1" = { "org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1" = lib.mkDefault {
binding = "<Super>f"; binding = "<Super>f";
command = "nautilus"; command = "nautilus";
name = "Files"; name = "Files";
}; };
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom2" = { "org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom2" = lib.mkDefault {
binding = "<Super>e"; binding = "<Super>e";
command = "code"; command = "code";
name = "Code"; name = "Code";
}; };
"org/gnome/shell" = { "org/gnome/shell" = {
disable-user-extensions = false; disable-user-extensions = lib.mkForce false;
enabled-extensions = [ enabled-extensions = lib.mkDefault [
"user-theme@gnome-shell-extensions.gcampax.github.com" "user-theme@gnome-shell-extensions.gcampax.github.com"
"dash-in-panel@fthx" "dash-in-panel@fthx"
"AlphabeticalAppGrid@stuarthayhurst" "AlphabeticalAppGrid@stuarthayhurst"
@ -179,28 +125,20 @@ with lib.hm.gvariant;
"quicksettings-audio-devices-hider@marcinjahn.com" "quicksettings-audio-devices-hider@marcinjahn.com"
"undecorate@sun.wxg@gmail.com" "undecorate@sun.wxg@gmail.com"
]; ];
favorite-apps = [ favorite-apps = lib.mkDefault [
"com.mitchellh.ghostty.desktop" "com.mitchellh.ghostty.desktop"
"org.gnome.Nautilus.desktop" "org.gnome.Nautilus.desktop"
"win11.desktop"
"zen.desktop" "zen.desktop"
"code.desktop" "code.desktop"
"spotify.desktop"
"discord.desktop"
"org.telegram.desktop.desktop"
"appeditor-local-application-1.desktop"
"Ryujinx.desktop"
"Marvel Rivals.desktop"
]; ];
last-selected-power-profile = "performance"; last-selected-power-profile = lib.mkDefault "performance";
welcome-dialog-last-shown-version = "48.1";
}; };
"org/gnome/shell/extensions/alphabetical-app-grid" = { "org/gnome/shell/extensions/alphabetical-app-grid" = {
folder-order-position = "start"; folder-order-position = lib.mkDefault "start";
}; };
"org/gnome/shell/extensions/appindicator" = { "org/gnome/shell/extensions/appindicator" = lib.mkDefault {
icon-brightness = 0.0; icon-brightness = 0.0;
icon-contrast = 0.0; icon-contrast = 0.0;
icon-opacity = 240; icon-opacity = 240;
@ -210,23 +148,23 @@ with lib.hm.gvariant;
tray-pos = "right"; tray-pos = "right";
}; };
"org/gnome/shell/extensions/blur-my-shell" = { "org/gnome/shell/extensions/blur-my-shell" = lib.mkDefault {
hacks-level = 1; hacks-level = 1;
settings-version = 2; settings-version = 2;
}; };
"org/gnome/shell/extensions/blur-my-shell/appfolder" = { "org/gnome/shell/extensions/blur-my-shell/appfolder" = lib.mkDefault {
brightness = 1.0; brightness = 1.0;
sigma = 85; sigma = 85;
}; };
"org/gnome/shell/extensions/blur-my-shell/applications" = { "org/gnome/shell/extensions/blur-my-shell/applications" = lib.mkDefault {
blacklist = [ blacklist = [
"Plank" "Plank"
"com.desktop.ding" "com.desktop.ding"
"Conky" "Conky"
".gamescope-wrapped" ".gamescope-wrapped"
"steam_app_2993780" "steam_app_*"
]; ];
blur = true; blur = true;
dynamic-opacity = false; dynamic-opacity = false;
@ -235,11 +173,11 @@ with lib.hm.gvariant;
sigma = 85; sigma = 85;
}; };
"org/gnome/shell/extensions/blur-my-shell/coverflow-alt-tab" = { "org/gnome/shell/extensions/blur-my-shell/coverflow-alt-tab" = lib.mkDefault {
pipeline = "pipeline_default"; pipeline = "pipeline_default";
}; };
"org/gnome/shell/extensions/blur-my-shell/dash-to-dock" = { "org/gnome/shell/extensions/blur-my-shell/dash-to-dock" = lib.mkDefault {
blur = false; blur = false;
brightness = 1.0; brightness = 1.0;
override-background = true; override-background = true;
@ -250,23 +188,23 @@ with lib.hm.gvariant;
unblur-in-overview = true; unblur-in-overview = true;
}; };
"org/gnome/shell/extensions/blur-my-shell/dash-to-panel" = { "org/gnome/shell/extensions/blur-my-shell/dash-to-panel" = lib.mkDefault {
blur-original-panel = false; blur-original-panel = false;
}; };
"org/gnome/shell/extensions/blur-my-shell/hidetopbar" = { "org/gnome/shell/extensions/blur-my-shell/hidetopbar" = lib.mkDefault {
compatibility = false; compatibility = false;
}; };
"org/gnome/shell/extensions/blur-my-shell/lockscreen" = { "org/gnome/shell/extensions/blur-my-shell/lockscreen" = lib.mkDefault {
pipeline = "pipeline_default"; pipeline = "pipeline_default";
}; };
"org/gnome/shell/extensions/blur-my-shell/overview" = { "org/gnome/shell/extensions/blur-my-shell/overview" = lib.mkDefault {
pipeline = "pipeline_default"; pipeline = "pipeline_default";
}; };
"org/gnome/shell/extensions/blur-my-shell/panel" = { "org/gnome/shell/extensions/blur-my-shell/panel" = lib.mkDefault {
brightness = 1.0; brightness = 1.0;
override-background = true; override-background = true;
pipeline = "pipeline_default"; pipeline = "pipeline_default";
@ -274,11 +212,11 @@ with lib.hm.gvariant;
static-blur = false; static-blur = false;
}; };
"org/gnome/shell/extensions/blur-my-shell/screenshot" = { "org/gnome/shell/extensions/blur-my-shell/screenshot" = lib.mkDefault {
pipeline = "pipeline_default"; pipeline = "pipeline_default";
}; };
"org/gnome/shell/extensions/dash-in-panel" = { "org/gnome/shell/extensions/dash-in-panel" = lib.mkDefault {
button-margin = 6; button-margin = 6;
center-dash = true; center-dash = true;
colored-dot = true; colored-dot = true;
@ -290,7 +228,7 @@ with lib.hm.gvariant;
show-label = true; show-label = true;
}; };
"org/gnome/shell/extensions/just-perfection" = { "org/gnome/shell/extensions/just-perfection" = lib.mkDefault {
accessibility-menu = true; accessibility-menu = true;
activities-button = false; activities-button = false;
clock-menu = true; clock-menu = true;
@ -314,7 +252,7 @@ with lib.hm.gvariant;
workspaces-in-app-grid = true; workspaces-in-app-grid = true;
}; };
"org/gnome/shell/extensions/pano" = { "org/gnome/shell/extensions/pano" = lib.mkDefault {
global-shortcut = [ "<Super>v" ]; global-shortcut = [ "<Super>v" ];
history-length = 500; history-length = 500;
incognito-shortcut = [ "<Shift><Super>v" ]; incognito-shortcut = [ "<Shift><Super>v" ];
@ -322,7 +260,7 @@ with lib.hm.gvariant;
window-position = mkUint32 2; window-position = mkUint32 2;
}; };
"org/gnome/shell/extensions/paperwm" = { "org/gnome/shell/extensions/paperwm" = lib.mkDefault {
cycle-height-steps = [ cycle-height-steps = [
0.25 0.25
0.3 0.3
@ -375,7 +313,7 @@ with lib.hm.gvariant;
]; ];
}; };
"org/gnome/shell/extensions/paperwm/keybindings" = { "org/gnome/shell/extensions/paperwm/keybindings" = lib.mkDefault {
center = [ "<Super>c" ]; center = [ "<Super>c" ];
center-horizontally = [ "" ]; center-horizontally = [ "" ];
center-vertically = [ "" ]; center-vertically = [ "" ];
@ -429,114 +367,11 @@ with lib.hm.gvariant;
toggle-top-and-position-bar = [ "" ]; toggle-top-and-position-bar = [ "" ];
}; };
"org/gnome/shell/extensions/paperwm/workspaces" = { "org/gnome/shell/extensions/user-theme" = lib.mkDefault {
list = [
"d3fe7ebc-4b28-4738-98b8-d4cd3e31cf7f"
"5291a627-8b95-48f4-bfd4-1f9e56b5234b"
"77949e36-39cc-4831-ad12-48054589a02a"
"407eab83-d3cd-4974-8d32-8fe0de05579c"
"0617efdf-c223-434c-9fd2-8bf9bedf9700"
];
};
"org/gnome/shell/extensions/paperwm/workspaces/0617efdf-c223-434c-9fd2-8bf9bedf9700" = {
index = 4;
};
"org/gnome/shell/extensions/paperwm/workspaces/407eab83-d3cd-4974-8d32-8fe0de05579c" = {
index = 3;
};
"org/gnome/shell/extensions/paperwm/workspaces/5291a627-8b95-48f4-bfd4-1f9e56b5234b" = {
index = 1;
show-top-bar = true;
};
"org/gnome/shell/extensions/paperwm/workspaces/77949e36-39cc-4831-ad12-48054589a02a" = {
index = 2;
};
"org/gnome/shell/extensions/paperwm/workspaces/d3fe7ebc-4b28-4738-98b8-d4cd3e31cf7f" = {
index = 0;
show-top-bar = true;
};
"org/gnome/shell/extensions/quicksettings-audio-devices-hider" = {
available-input-names = [
"Digital Input (S/PDIF) \8211 USB Live camera"
"Microphone \8211 HyperX Cloud Alpha S"
"Microphone \8211 USB Live camera"
];
available-output-names = [
"Analog Output \8211 HyperX Cloud Alpha S"
"Digital Output (S/PDIF) \8211 HyperX Cloud Alpha S"
"HDMI / DisplayPort \8211 Rembrandt Radeon High Definition Audio Controller"
"HDMI / DisplayPort 3 \8211 HD-Audio Generic"
];
excluded-input-names = [
"Digital Input (S/PDIF) USB Live camera"
"Digital Input (S/PDIF) \8211 USB Live camera"
"Digital Input (S/PDIF) 8211 USB Live camera"
"Digital Input (S/PDIF) 8211 USB Live camera"
"Microphone USB Live camera"
"Microphone \8211 USB Live camera"
"Microphone 8211 USB Live camera"
"Microphone 8211 USB Live camera"
];
excluded-output-names = [
"Analog Output HyperX Cloud Alpha S"
"Analog Output \8211 HyperX Cloud Alpha S"
"Analog Output 8211 HyperX Cloud Alpha S"
"Analog Output 8211 HyperX Cloud Alpha S"
"HDMI / DisplayPort Rembrandt Radeon High Definition Audio Controller"
"HDMI / DisplayPort \8211 Rembrandt Radeon High Definition Audio Controller"
"HDMI / DisplayPort 8211 Rembrandt Radeon High Definition Audio Controller"
"HDMI / DisplayPort 8211 Rembrandt Radeon High Definition Audio Controller"
];
};
"org/gnome/shell/extensions/quicksettings-audio-devices-renamer" = {
input-names-map = [
(lib.hm.gvariant.mkDictionaryEntry [
"Microphone USB Live camera"
"NO"
])
(lib.hm.gvariant.mkDictionaryEntry [
"Digital Input (S/PDIF) USB Live camera"
"NO"
])
(lib.hm.gvariant.mkDictionaryEntry [
"Microphone HyperX Cloud Alpha S"
"Cloud S"
])
];
output-names-map = [
(lib.hm.gvariant.mkDictionaryEntry [
"HDMI / DisplayPort 3 HD-Audio Generic"
"ROG"
])
(lib.hm.gvariant.mkDictionaryEntry [
"HDMI / DisplayPort Rembrandt Radeon High Definition Audio Controller"
"NO"
])
(lib.hm.gvariant.mkDictionaryEntry [
"Analog Output HyperX Cloud Alpha S"
"NO"
])
(lib.hm.gvariant.mkDictionaryEntry [
"Digital Output (S/PDIF) HyperX Cloud Alpha S"
"Cloud S"
])
];
# input-names-map = ''{'Microphone USB Live camera': 'NO', 'Digital Input (S/PDIF) USB Live camera': 'NO', 'Microphone HyperX Cloud Alpha S': 'Cloud S'}'';
# output-names-map = ''{'HDMI / DisplayPort 3 HD-Audio Generic': 'ROG', 'HDMI / DisplayPort Rembrandt Radeon High Definition Audio Controller': 'NO', 'Analog Output HyperX Cloud Alpha S': 'NO', 'Digital Output (S/PDIF) HyperX Cloud Alpha S': 'Cloud S'}'';
};
"org/gnome/shell/extensions/user-theme" = {
name = "Stylix"; name = "Stylix";
}; };
"org/gnome/shell/extensions/vitals" = { "org/gnome/shell/extensions/vitals" = lib.mkDefault {
alphabetize = true; alphabetize = true;
fixed-widths = true; fixed-widths = true;
hide-icons = false; hide-icons = false;
@ -558,7 +393,7 @@ with lib.hm.gvariant;
use-higher-precision = false; use-higher-precision = false;
}; };
"org/gnome/shell/keybindings" = { "org/gnome/shell/keybindings" = lib.mkDefault {
focus-active-notification = [ ]; focus-active-notification = [ ];
screenshot = [ "Print" ]; screenshot = [ "Print" ];
screenshot-window = [ ]; screenshot-window = [ ];
@ -571,11 +406,7 @@ with lib.hm.gvariant;
toggle-quick-settings = [ "<Super>a" ]; toggle-quick-settings = [ "<Super>a" ];
}; };
"org/gnome/shell/world-clocks" = { "org/virt-manager/virt-manager/connections" = lib.mkDefault {
locations = [ ];
};
"org/virt-manager/virt-manager/connections" = {
autoconnect = [ "qemu:///system" ]; autoconnect = [ "qemu:///system" ];
uris = [ "qemu:///system" ]; uris = [ "qemu:///system" ];
}; };

View file

@ -59,9 +59,18 @@ in
inherit (pkgs) inherit (pkgs)
btop # resource monitor btop # resource monitor
coreutils # basic gnu utils coreutils # basic gnu utils
delta # diffing
difftastic # diffing
direnv # environment per directory
dust # disk usage dust # disk usage
eza # ls replacement eza # ls replacement
gh # github cli
jq # json parser jq # json parser
man-pages
man-pages-posix
nixfmt-rfc-style # nix formatter
nixpkgs-review # nix review tool
nmap # network scanner
pre-commit # git hooks pre-commit # git hooks
trashy # trash cli trashy # trash cli
unrar # rar extraction unrar # rar extraction

View file

@ -0,0 +1,583 @@
# Generated via dconf2nix: https://github.com/gvolpe/dconf2nix
{ lib, ... }:
with lib.hm.gvariant;
{
dconf.settings = {
"org/gnome/TextEditor" = {
style-scheme = "stylix";
};
"org/gnome/desktop/app-folders" = {
folder-children = [
"System"
"Utilities"
"Useless Launchers"
];
};
"org/gnome/desktop/app-folders/folders/System" = {
apps = [
"org.gnome.baobab.desktop"
"org.gnome.DiskUtility.desktop"
"org.gnome.Logs.desktop"
"org.gnome.SystemMonitor.desktop"
"org.gnome.tweaks.desktop"
];
name = "X-GNOME-Shell-System.directory";
translate = true;
};
"org/gnome/desktop/app-folders/folders/Utilities" = {
apps = [
"org.gnome.Connections.desktop"
"org.gnome.FileRoller.desktop"
"org.gnome.font-viewer.desktop"
"org.gnome.Loupe.desktop"
"org.gnome.seahorse.Application.desktop"
];
name = "X-GNOME-Shell-Utilities.directory";
translate = true;
};
"org/gnome/desktop/app-folders/folders/Useless" = {
apps = [
"fish.desktop"
"ranger.desktop"
];
name = "Useless Launchers";
translate = false;
};
"org/gnome/desktop/input-sources" = {
sources = [
(mkTuple [
"xkb"
"us"
])
];
xkb-options = [
"terminate:ctrl_alt_bksp"
"lv3:ralt_switch"
"compose:menu"
];
};
"org/gnome/desktop/wm/keybindings" = {
maximize = [ ];
move-to-monitor-down = [ ];
move-to-monitor-left = [ ];
move-to-monitor-right = [ ];
move-to-monitor-up = [ ];
move-to-workspace-down = [ "<Control><Shift><Alt>Down" ];
move-to-workspace-left = [ ];
move-to-workspace-right = [ ];
move-to-workspace-up = [ "<Control><Shift><Alt>Up" ];
shift-overview-down = [ "" ];
shift-overview-up = [ "" ];
switch-applications = [ ];
switch-applications-backward = [
"<Shift><Super>Tab"
"<Shift><Alt>Tab"
];
switch-group = [
"<Super>Above_Tab"
"<Alt>Above_Tab"
];
switch-group-backward = [
"<Shift><Super>Above_Tab"
"<Shift><Alt>Above_Tab"
];
switch-input-source = [ ];
switch-input-source-backward = [ ];
switch-panels = [ "<Control><Alt>Tab" ];
switch-panels-backward = [ "<Shift><Control><Alt>Tab" ];
switch-to-workspace-1 = [ ];
switch-to-workspace-down = [ "" ];
switch-to-workspace-last = [ ];
switch-to-workspace-left = [ ];
switch-to-workspace-right = [ ];
switch-to-workspace-up = [ "" ];
toggle-application-view = [ "" ];
toggle-message-tray = [ "" ];
unmaximize = [ ];
};
"org/gnome/desktop/wm/preferences" = {
num-workspaces = 3;
};
"org/gnome/mutter" = {
experimental-features = [ "scale-monitor-framebuffer" ];
};
"org/gnome/nautilus/preferences" = {
default-folder-viewer = "icon-view";
migrated-gtk-settings = true;
search-filter-time-type = "last_modified";
};
"org/gnome/settings-daemon/plugins/color" = {
night-light-enabled = true;
night-light-schedule-automatic = false;
night-light-schedule-from = 19.0;
night-light-temperature = mkUint32 3892;
};
"org/gnome/settings-daemon/plugins/media-keys" = {
custom-keybindings = [
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/"
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/"
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom2/"
];
next = [ "AudioNext" ];
play = [ "AudioPlay" ];
previous = [ "AudioPrev" ];
reboot = [ "<Super>r" ];
rotate-video-lock-static = [ ];
shutdown = [ "<Super>x" ];
volume-down = [ "AudioLowerVolume" ];
volume-mute = [ "AudioMute" ];
volume-up = [ "AudioRaiseVolume" ];
www = [ "<Super>w" ];
};
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0" = {
binding = "<Super>t";
command = "ghostty";
name = "Terminal";
};
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1" = {
binding = "<Super>f";
command = "nautilus";
name = "Files";
};
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom2" = {
binding = "<Super>e";
command = "code";
name = "Code";
};
"org/gnome/shell" = {
disable-user-extensions = false;
enabled-extensions = [
"user-theme@gnome-shell-extensions.gcampax.github.com"
"dash-in-panel@fthx"
"AlphabeticalAppGrid@stuarthayhurst"
"color-picker@tuberry"
"monitor-brightness-volume@ailin.nemui"
"quicksettings-audio-devices-renamer@marcinjahn.com"
"Vitals@CoreCoding.com"
"appindicatorsupport@rgcjonas.gmail.com"
"paperwm@paperwm.github.com"
"just-perfection-desktop@just-perfection"
"pano@elhan.io"
"blur-my-shell@aunetx"
"quicksettings-audio-devices-hider@marcinjahn.com"
"undecorate@sun.wxg@gmail.com"
];
favorite-apps = [
"com.mitchellh.ghostty.desktop"
"org.gnome.Nautilus.desktop"
"win11.desktop"
"zen.desktop"
"code.desktop"
"spotify.desktop"
"discord.desktop"
"org.telegram.desktop.desktop"
"appeditor-local-application-1.desktop"
"Ryujinx.desktop"
"Marvel Rivals.desktop"
];
last-selected-power-profile = "performance";
welcome-dialog-last-shown-version = "48.1";
};
"org/gnome/shell/extensions/alphabetical-app-grid" = {
folder-order-position = "start";
};
"org/gnome/shell/extensions/appindicator" = {
icon-brightness = 0.0;
icon-contrast = 0.0;
icon-opacity = 240;
icon-saturation = 0.0;
icon-size = 0;
legacy-tray-enabled = true;
tray-pos = "right";
};
"org/gnome/shell/extensions/blur-my-shell" = {
hacks-level = 1;
settings-version = 2;
};
"org/gnome/shell/extensions/blur-my-shell/appfolder" = {
brightness = 1.0;
sigma = 85;
};
"org/gnome/shell/extensions/blur-my-shell/applications" = {
blacklist = [
"Plank"
"com.desktop.ding"
"Conky"
".gamescope-wrapped"
"steam_app_2993780"
];
blur = true;
dynamic-opacity = false;
enable-all = true;
opacity = 230;
sigma = 85;
};
"org/gnome/shell/extensions/blur-my-shell/coverflow-alt-tab" = {
pipeline = "pipeline_default";
};
"org/gnome/shell/extensions/blur-my-shell/dash-to-dock" = {
blur = false;
brightness = 1.0;
override-background = true;
pipeline = "pipeline_default_rounded";
sigma = 85;
static-blur = false;
style-dash-to-dock = 0;
unblur-in-overview = true;
};
"org/gnome/shell/extensions/blur-my-shell/dash-to-panel" = {
blur-original-panel = false;
};
"org/gnome/shell/extensions/blur-my-shell/hidetopbar" = {
compatibility = false;
};
"org/gnome/shell/extensions/blur-my-shell/lockscreen" = {
pipeline = "pipeline_default";
};
"org/gnome/shell/extensions/blur-my-shell/overview" = {
pipeline = "pipeline_default";
};
"org/gnome/shell/extensions/blur-my-shell/panel" = {
brightness = 1.0;
override-background = true;
pipeline = "pipeline_default";
sigma = 85;
static-blur = false;
};
"org/gnome/shell/extensions/blur-my-shell/screenshot" = {
pipeline = "pipeline_default";
};
"org/gnome/shell/extensions/dash-in-panel" = {
button-margin = 6;
center-dash = true;
colored-dot = true;
icon-size = 32;
move-date = true;
panel-height = 46;
show-apps = false;
show-dash = false;
show-label = true;
};
"org/gnome/shell/extensions/just-perfection" = {
accessibility-menu = true;
activities-button = false;
clock-menu = true;
clock-menu-position = 1;
dash = true;
dash-app-running = true;
dash-separator = false;
keyboard-layout = true;
max-displayed-search-results = 0;
panel-in-overview = true;
quick-settings = true;
quick-settings-dark-mode = true;
ripple-box = true;
show-apps-button = false;
support-notifier-showed-version = 34;
support-notifier-type = 0;
top-panel-position = 0;
window-preview-close-button = true;
workspace = false;
workspace-switcher-size = 0;
workspaces-in-app-grid = true;
};
"org/gnome/shell/extensions/pano" = {
global-shortcut = [ "<Super>v" ];
history-length = 500;
incognito-shortcut = [ "<Shift><Super>v" ];
is-in-incognito = false;
window-position = mkUint32 2;
};
"org/gnome/shell/extensions/paperwm" = {
cycle-height-steps = [
0.25
0.3
0.5
0.7
0.95
];
cycle-width-steps = [
0.25
0.3
0.5
0.7
0.95
];
default-focus-mode = 1;
disable-topbar-styling = true;
edge-preview-enable = true;
edge-preview-timeout-enable = false;
gesture-enabled = false;
gesture-horizontal-fingers = 0;
horizontal-margin = 8;
last-used-display-server = "Wayland";
restore-attach-modal-dialogs = "true";
restore-edge-tiling = "true";
restore-workspaces-only-on-primary = "true";
selection-border-size = 4;
show-focus-mode-icon = false;
show-open-position-icon = false;
show-window-position-bar = false;
show-workspace-indicator = false;
vertical-margin = 8;
vertical-margin-bottom = 8;
window-gap = 8;
winprops = [
''
{"wm_class":"com.mitchellh.ghostty","scratch_layer":true}
''
''
{"wm_class":"code","preferredWidth":"70%"}
''
''
{"wm_class":"discord","preferredWidth":"100%","spaceIndex":1}
''
''
{"wm_class":"org.gnome.Nautilus","scratch_layer":true}
''
''
{"wm_class":"gnome-control-center","scratch_layer":true}
''
];
};
"org/gnome/shell/extensions/paperwm/keybindings" = {
center = [ "<Super>c" ];
center-horizontally = [ "" ];
center-vertically = [ "" ];
close-window = [ "<Super>q" ];
cycle-height = [ "<Alt><Super>Up" ];
cycle-height-backwards = [ "<Alt><Super>Down" ];
cycle-width = [ "<Alt><Super>Right" ];
cycle-width-backwards = [ "<Alt><Super>Left" ];
live-alt-tab = [ "<Alt>Tab" ];
live-alt-tab-backward = [ "" ];
live-alt-tab-scratch = [ "" ];
live-alt-tab-scratch-backward = [ "" ];
move-down = [ "<Shift><Super>Down" ];
move-down-workspace = [ "<Control><Super>Down" ];
move-left = [ "<Shift><Super>Left" ];
move-monitor-above = [ "" ];
move-monitor-below = [ "" ];
move-monitor-left = [ "<Control><Super>Left" ];
move-monitor-right = [ "<Control><Super>Right" ];
move-previous-workspace = [ "" ];
move-previous-workspace-backward = [ "" ];
move-right = [ "<Shift><Super>Right" ];
move-space-monitor-above = [ "" ];
move-space-monitor-below = [ "" ];
move-space-monitor-left = [ "" ];
move-space-monitor-right = [ "" ];
move-up = [ "<Shift><Super>Up" ];
move-up-workspace = [ "<Control><Super>Up" ];
new-window = [ "<Super>n" ];
previous-workspace = [ "" ];
previous-workspace-backward = [ "" ];
swap-monitor-above = [ "" ];
swap-monitor-below = [ "" ];
swap-monitor-left = [ "" ];
swap-monitor-right = [ "" ];
switch-down-workspace = [ "<Super>Page_Down" ];
switch-focus-mode = [ "<Alt><Super>a" ];
switch-monitor-above = [ "" ];
switch-monitor-below = [ "" ];
switch-monitor-left = [ "" ];
switch-monitor-right = [ "" ];
switch-next = [ "" ];
switch-open-window-position = [ "" ];
switch-previous = [ "" ];
switch-up-workspace = [ "<Super>Page_Up" ];
take-window = [ "" ];
toggle-maximize-width = [ "" ];
toggle-scratch = [ "<Super>BackSpace" ];
toggle-scratch-layer = [ "<Control><Super>BackSpace" ];
toggle-scratch-window = [ "" ];
toggle-top-and-position-bar = [ "" ];
};
"org/gnome/shell/extensions/paperwm/workspaces" = {
list = [
"d3fe7ebc-4b28-4738-98b8-d4cd3e31cf7f"
"5291a627-8b95-48f4-bfd4-1f9e56b5234b"
"77949e36-39cc-4831-ad12-48054589a02a"
"407eab83-d3cd-4974-8d32-8fe0de05579c"
"0617efdf-c223-434c-9fd2-8bf9bedf9700"
];
};
"org/gnome/shell/extensions/paperwm/workspaces/0617efdf-c223-434c-9fd2-8bf9bedf9700" = {
index = 4;
};
"org/gnome/shell/extensions/paperwm/workspaces/407eab83-d3cd-4974-8d32-8fe0de05579c" = {
index = 3;
};
"org/gnome/shell/extensions/paperwm/workspaces/5291a627-8b95-48f4-bfd4-1f9e56b5234b" = {
index = 1;
show-top-bar = true;
};
"org/gnome/shell/extensions/paperwm/workspaces/77949e36-39cc-4831-ad12-48054589a02a" = {
index = 2;
};
"org/gnome/shell/extensions/paperwm/workspaces/d3fe7ebc-4b28-4738-98b8-d4cd3e31cf7f" = {
index = 0;
show-top-bar = true;
};
"org/gnome/shell/extensions/quicksettings-audio-devices-hider" = {
available-input-names = [
"Digital Input (S/PDIF) \8211 USB Live camera"
"Microphone \8211 HyperX Cloud Alpha S"
"Microphone \8211 USB Live camera"
];
available-output-names = [
"Analog Output \8211 HyperX Cloud Alpha S"
"Digital Output (S/PDIF) \8211 HyperX Cloud Alpha S"
"HDMI / DisplayPort \8211 Rembrandt Radeon High Definition Audio Controller"
"HDMI / DisplayPort 3 \8211 HD-Audio Generic"
];
excluded-input-names = [
"Digital Input (S/PDIF) USB Live camera"
"Digital Input (S/PDIF) \8211 USB Live camera"
"Digital Input (S/PDIF) 8211 USB Live camera"
"Digital Input (S/PDIF) 8211 USB Live camera"
"Microphone USB Live camera"
"Microphone \8211 USB Live camera"
"Microphone 8211 USB Live camera"
"Microphone 8211 USB Live camera"
];
excluded-output-names = [
"Analog Output HyperX Cloud Alpha S"
"Analog Output \8211 HyperX Cloud Alpha S"
"Analog Output 8211 HyperX Cloud Alpha S"
"Analog Output 8211 HyperX Cloud Alpha S"
"HDMI / DisplayPort Rembrandt Radeon High Definition Audio Controller"
"HDMI / DisplayPort \8211 Rembrandt Radeon High Definition Audio Controller"
"HDMI / DisplayPort 8211 Rembrandt Radeon High Definition Audio Controller"
"HDMI / DisplayPort 8211 Rembrandt Radeon High Definition Audio Controller"
];
};
"org/gnome/shell/extensions/quicksettings-audio-devices-renamer" = {
input-names-map = [
(lib.hm.gvariant.mkDictionaryEntry [
"Microphone USB Live camera"
"NO"
])
(lib.hm.gvariant.mkDictionaryEntry [
"Digital Input (S/PDIF) USB Live camera"
"NO"
])
(lib.hm.gvariant.mkDictionaryEntry [
"Microphone HyperX Cloud Alpha S"
"Cloud S"
])
];
output-names-map = [
(lib.hm.gvariant.mkDictionaryEntry [
"HDMI / DisplayPort 3 HD-Audio Generic"
"ROG"
])
(lib.hm.gvariant.mkDictionaryEntry [
"HDMI / DisplayPort Rembrandt Radeon High Definition Audio Controller"
"NO"
])
(lib.hm.gvariant.mkDictionaryEntry [
"Analog Output HyperX Cloud Alpha S"
"NO"
])
(lib.hm.gvariant.mkDictionaryEntry [
"Digital Output (S/PDIF) HyperX Cloud Alpha S"
"Cloud S"
])
];
# input-names-map = ''{'Microphone USB Live camera': 'NO', 'Digital Input (S/PDIF) USB Live camera': 'NO', 'Microphone HyperX Cloud Alpha S': 'Cloud S'}'';
# output-names-map = ''{'HDMI / DisplayPort 3 HD-Audio Generic': 'ROG', 'HDMI / DisplayPort Rembrandt Radeon High Definition Audio Controller': 'NO', 'Analog Output HyperX Cloud Alpha S': 'NO', 'Digital Output (S/PDIF) HyperX Cloud Alpha S': 'Cloud S'}'';
};
"org/gnome/shell/extensions/user-theme" = {
name = "Stylix";
};
"org/gnome/shell/extensions/vitals" = {
alphabetize = true;
fixed-widths = true;
hide-icons = false;
hide-zeros = true;
icon-style = 1;
include-static-gpu-info = true;
include-static-info = true;
menu-centered = false;
position-in-panel = 0;
show-fan = false;
show-gpu = true;
show-memory = true;
show-network = true;
show-processor = true;
show-storage = true;
show-system = true;
show-temperature = true;
show-voltage = false;
use-higher-precision = false;
};
"org/gnome/shell/keybindings" = {
focus-active-notification = [ ];
screenshot = [ "Print" ];
screenshot-window = [ ];
shift-overview-down = [ ];
shift-overview-up = [ ];
show-screen-recording-ui = [ ];
show-screenshot-ui = [ "<Shift>Print" ];
toggle-application-view = [ "Home" ];
toggle-message-tray = [ "<Super>s" ];
toggle-quick-settings = [ "<Super>a" ];
};
"org/gnome/shell/world-clocks" = {
locations = [ ];
};
"org/virt-manager/virt-manager/connections" = {
autoconnect = [ "qemu:///system" ];
uris = [ "qemu:///system" ];
};
};
}

View file

@ -10,9 +10,9 @@
## Common Imports ## ## Common Imports ##
(map lib.custom.relativeToRoot [ (map lib.custom.relativeToRoot [
"home/global/common/browsers" "home/global/common/browsers"
"home/global/common/gnome"
"home/global/common/development"
"home/global/common/gaming" "home/global/common/gaming"
"home/global/common/gnome"
"home/global/common/vscode"
"home/global/common/xdg.nix" "home/global/common/xdg.nix"
]) ])
@ -42,6 +42,9 @@
## Productivity ## ## Productivity ##
gimp gimp
inkscape inkscape
## Development ##
idea-ultimate
; ;
}; };
} }

View file

@ -0,0 +1,41 @@
# Generated via dconf2nix: https://github.com/gvolpe/dconf2nix
{ lib, ... }:
with lib.hm.gvariant;
{
dconf.settings = {
"org/gnome/shell" = {
disable-user-extensions = false;
enabled-extensions = [
"user-theme@gnome-shell-extensions.gcampax.github.com"
"dash-in-panel@fthx"
"AlphabeticalAppGrid@stuarthayhurst"
"color-picker@tuberry"
"monitor-brightness-volume@ailin.nemui"
"quicksettings-audio-devices-renamer@marcinjahn.com"
"Vitals@CoreCoding.com"
"appindicatorsupport@rgcjonas.gmail.com"
"paperwm@paperwm.github.com"
"just-perfection-desktop@just-perfection"
"pano@elhan.io"
"blur-my-shell@aunetx"
"quicksettings-audio-devices-hider@marcinjahn.com"
"undecorate@sun.wxg@gmail.com"
];
favorite-apps = [
"com.mitchellh.ghostty.desktop"
"org.gnome.Nautilus.desktop"
"win11.desktop"
"zen.desktop"
"code.desktop"
"spotify.desktop"
"discord.desktop"
"org.telegram.desktop.desktop"
"steam.desktop"
"Ryujinx.desktop"
"Marvel Rivals.desktop"
];
last-selected-power-profile = "performance";
};
}

View file

@ -0,0 +1,8 @@
{
# home.file.".config/monitors_source" = {
# source = ./monitors.xml;
# onChange = ''
# cp $HOME/.config/monitors_source $HOME/.config/monitors.xml
# '';
# };
}

View file

@ -0,0 +1,2 @@
<monitors version="2">
</monitors>

View file

@ -9,31 +9,22 @@
(map lib.custom.relativeToRoot [ (map lib.custom.relativeToRoot [
"home/global/common/browsers" "home/global/common/browsers"
"home/global/common/gnome" "home/global/common/gnome"
"home/global/common/development" "home/global/common/vscode"
"home/global/common/vscode-server.nix"
"home/global/common/xdg.nix" "home/global/common/xdg.nix"
]) ])
## VM Specific ## ## VM Specific ##
# ./config ./config
]; ];
## Packages with no needed configs ## ## Packages with no needed configs ##
home.packages = builtins.attrValues { home.packages = builtins.attrValues {
inherit (pkgs) inherit (pkgs)
## Media ##
cider # Apple Music
## Tools ## ## Tools ##
inspector inspector
foot
; ;
}; };
monitors = [
{
name = "Virtual-1";
width = 2560;
height = 1440;
refreshRate = 60;
primary = true;
}
];
} }

View file

@ -0,0 +1,97 @@
{
pkgs,
inputs,
lib,
...
}:
let
qogir = pkgs.qogir-icon-theme.override {
colorVariants = [
"dark"
"standard"
];
themeVariants = [
"ubuntu"
];
};
in
{
imports = [
inputs.stylix.homeManagerModules.stylix
];
stylix = {
enable = true;
autoEnable = true;
base16Scheme = ./soraka.yaml;
image = ./wallpapers/soraka.jpg;
polarity = "dark";
fonts = {
serif = {
package = pkgs.google-fonts.override { fonts = [ "Laila" ]; };
name = "Laila";
};
sansSerif = {
package = pkgs.lexend;
name = "Lexend";
};
monospace = {
package = pkgs.monocraft-nerd-fonts;
name = "Monocraft";
};
emoji = {
package = pkgs.noto-fonts-emoji;
name = "Noto Color Emoji";
};
sizes = {
applications = 12;
desktop = 11;
popups = 11;
terminal = 12;
};
};
targets = {
gnome = {
enable = true;
useWallpaper = true;
};
vscode = {
enable = true;
# profileNames = [ "Stylix" ];
};
};
};
home.pointerCursor = {
gtk.enable = true;
package = pkgs.bibata-cursors;
name = "Bibata-Modern-Classic";
size = 16;
};
gtk = {
enable = true;
iconTheme = {
# package = qogir;
# name = "Qogir";
package = (
pkgs.papirus-icon-theme.override {
color = "violet";
}
);
name = "Papirus";
};
};
home.file = {
"Pictures/Wallpapers" = {
source = ./wallpapers;
recursive = true;
};
};
}

View file

@ -0,0 +1,25 @@
system: base16
slug: Soraka
name: Soraka
author: tophc7
variant: dark
palette:
base00: "1F2333"
base01: "2A293F"
base02: "352E4A"
base03: "4A3960"
base04: "92BDEA"
base05: "C9D5F5"
base06: "E4E1FA"
base07: "FFECFF"
base08: "D44763" # Red
base09: "F7A94E" # Orange
base0A: "FCEEA1" # Yellow
base0B: "8DE364" # Green
base0C: "A5E4EB" # Cyan
base0D: "313568" # Blue
base0E: "BE68C9" # Purple
base0F: "C2708F" # Magenta
# https://coolors.co/1f2333-2a293f-352e4a-4a3960-92bdea-c9d5f5-e4e1fa-ffecff
# https://coolors.co/d44763-f7a94e-fceea1-8de364-a5e4eb-313568-be68c9-c2708f

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

View file

Before

Width:  |  Height:  |  Size: 6.2 MiB

After

Width:  |  Height:  |  Size: 6.2 MiB

View file

Before

Width:  |  Height:  |  Size: 2.9 MiB

After

Width:  |  Height:  |  Size: 2.9 MiB