This commit is contained in:
2026-07-01 20:59:13 -05:00
parent 02dc9d6c34
commit bca3b74d1d
14 changed files with 1076 additions and 462 deletions
Generated
+454 -226
View File
File diff suppressed because it is too large Load Diff
+12 -10
View File
@@ -21,6 +21,8 @@
url = "github:AlvaroParker/helium-nix"; url = "github:AlvaroParker/helium-nix";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
comfyui-nix.url = "github:utensils/comfyui-nix";
hermes-agent.url = "github:NousResearch/hermes-agent";
naviterm = { naviterm = {
url = "gitlab:detoxify92/naviterm"; url = "gitlab:detoxify92/naviterm";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
@@ -29,13 +31,12 @@
millennium.url = "github:SteamClientHomebrew/Millennium?dir=packages/nix"; millennium.url = "github:SteamClientHomebrew/Millennium?dir=packages/nix";
master.url = "github:NixOS/nixpkgs/master"; master.url = "github:NixOS/nixpkgs/master";
home-manager.url = "github:nix-community/home-manager"; home-manager.url = "github:nix-community/home-manager";
noctalia = { dms = {
url = "github:noctalia-dev/noctalia-shell"; url = "github:AvengeMedia/DankMaterialShell/stable";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
nixvim = { lazyvim = {
url = "github:nix-community/nixvim"; url = "github:pfassina/lazyvim-nix";
#inputs.nixpkgs.follows = "nixpkgs";
}; };
subtui = { subtui = {
url = "github:MattiaPun/SubTUI"; url = "github:MattiaPun/SubTUI";
@@ -51,7 +52,7 @@
}; };
outputs = { self, stylix, astal, nixpkgs, home-manager, zen-browser, master, nixos-apple-silicon, subtui, nix-cachyos-kernel, nixvim, noctalia,... }@inputs: outputs = { self, stylix, astal, nixpkgs, home-manager, comfyui-nix, zen-browser, master, nixos-apple-silicon, subtui, nix-cachyos-kernel, hermes-agent, lazyvim,... }@inputs:
let let
system = "x86_64-linux"; system = "x86_64-linux";
lib = nixpkgs.lib; lib = nixpkgs.lib;
@@ -63,23 +64,24 @@
nixosConfigurations = { nixosConfigurations = {
nixos = nixpkgs.lib.nixosSystem { nixos = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
specialArgs = {inherit nixvim; inherit pkgs-master;}; specialArgs = {inherit lazyvim; inherit pkgs-master;};
specialArgs.inputs = inputs; specialArgs.inputs = inputs;
modules = [ modules = [
./hosts/desktop/configuration.nix ./hosts/desktop/configuration.nix
hermes-agent.nixosModules.default
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
{ {
home-manager.useUserPackages = true; home-manager.useUserPackages = true;
home-manager.extraSpecialArgs = {inherit inputs;}; home-manager.extraSpecialArgs = {inherit inputs;};
home-manager.users.joshuaelm = { home-manager.users.joshuaelm = {
imports = [ ./hosts/desktop/home.nix nixvim.homeModules.nixvim stylix.homeModules.stylix ]; imports = [ ./hosts/desktop/home.nix stylix.homeModules.stylix ];
}; };
} }
]; ];
}; };
nixos-laptop = nixpkgs.lib.nixosSystem { nixos-laptop = nixpkgs.lib.nixosSystem {
system = "aarch64-linux"; system = "aarch64-linux";
specialArgs = {inherit nixvim;}; specialArgs = {inherit lazyvim;};
specialArgs.inputs = inputs; specialArgs.inputs = inputs;
modules = [ modules = [
{ {
@@ -92,7 +94,7 @@
home-manager.useUserPackages = true; home-manager.useUserPackages = true;
home-manager.extraSpecialArgs = {inherit inputs;}; home-manager.extraSpecialArgs = {inherit inputs;};
home-manager.users.joshuaelm = { home-manager.users.joshuaelm = {
imports = [ ./hosts/mac-laptop/home.nix nixvim.homeModules.nixvim stylix.homeModules.stylix ]; imports = [ ./hosts/mac-laptop/home.nix stylix.homeModules.stylix ];
}; };
} }
]; ];
+47 -20
View File
@@ -5,6 +5,7 @@
imports = imports =
[ # Include the results of the hardware scan. [ # Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
inputs.dms.nixosModules.dank-material-shell
]; ];
# Bootloader. # Bootloader.
@@ -14,7 +15,7 @@
boot.loader.grub.efiSupport = true;*/ boot.loader.grub.efiSupport = true;*/
boot.loader.limine = { boot.loader.limine = {
enable = true; enable = true;
secureBoot.enable = true; resolution = "3840x2160";
}; };
boot.initrd.systemd.enable = true; boot.initrd.systemd.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
@@ -91,6 +92,8 @@ boot = {
}; };
services.udev.packages = [ pkgs.boxflat ];
services.udev.extraRules = '' services.udev.extraRules = ''
# This rule was added by Solaar. # This rule was added by Solaar.
# #
@@ -183,6 +186,10 @@ LABEL="solaar_end"
programs.hyprland = { programs.hyprland = {
enable = true; enable = true;
}; };
services.displayManager.dms-greeter = {
enable = true;
compositor.name = "hyprland"; # Or "hyprland" or "sway"
};
/*services.displayManager = { /*services.displayManager = {
autoLogin.enable = true; autoLogin.enable = true;
autoLogin.user = "joshuaelm"; autoLogin.user = "joshuaelm";
@@ -190,7 +197,7 @@ LABEL="solaar_end"
security.pam.services.hyprlock = {}; security.pam.services.hyprlock = {};
programs.noisetorch.enable = true; programs.noisetorch.enable = true;
services.greetd = { /*services.greetd = {
enable = true; enable = true;
settings = rec { settings = rec {
hyprland_session = { hyprland_session = {
@@ -203,7 +210,8 @@ LABEL="solaar_end"
}; };
default_session = hyprland_session; default_session = hyprland_session;
}; };
}; };*/
# Steam Deck Gamemode # Steam Deck Gamemode
programs.steam.gamescopeSession.enable = true; programs.steam.gamescopeSession.enable = true;
@@ -285,23 +293,20 @@ services.pulseaudio.extraConfig = ''
nix.optimise.automatic = true; nix.optimise.automatic = true;
programs.appimage.enable = true;
programs.appimage.binfmt = true;
programs.appimage.package = pkgs.appimage-run.override { extraPkgs = pkgs: [
pkgs.icu
pkgs.libxcrypt-legacy
pkgs.python312
pkgs.python312Packages.torch
]; };
# Allow unfree packages # Allow unfree packages
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
# Configure drives # Configure drives
fileSystems."/mnt/Games" = {
device = "/dev/disk/by-uuid/732d1907-5225-48a9-834e-e239af475b79";
fsType = "btrfs";
options = [
"users"
"nofail"
"x-gvfs-show"
"exec"
];
};
fileSystems."/mnt/More-Games" = { fileSystems."/mnt/More-Games" = {
device = "/dev/disk/by-uuid/f0f2dd27-f802-40f6-827b-23e0462b55f6"; device = "/dev/disk/by-uuid/f0f2dd27-f802-40f6-827b-23e0462b55f6";
fsType = "btrfs"; fsType = "btrfs";
@@ -339,7 +344,22 @@ services.pulseaudio.extraConfig = ''
alsa-lib atk cairo cups curl dbus expat file fish fontconfig freetype alsa-lib atk cairo cups curl dbus expat file fish fontconfig freetype
fuse glib gtk3 libGL libnotify libxml2 libxslt netcat nspr nss openjdk8 fuse glib gtk3 libGL libnotify libxml2 libxslt netcat nspr nss openjdk8
openssl.dev cava pango appimage-run pkg-config strace udev vulkan-loader watch wget which openssl.dev cava pango appimage-run pkg-config strace udev vulkan-loader watch wget which
libX11 icu libxcb libXcomposite libXcursor libX11 icu libxcb libXcomposite libXcursor libgbm libxkbcommon zstd libxcb-cursor qt6.qtwayland
xorg.xcbutilwm # libxcb-icccm.so.4
xorg.xcbutilkeysyms # libxcb-keysyms.so.1
xorg.xcbutilimage # libxcb-image.so.0
xorg.xcbutilrenderutil # libxcb-render-util.so.0
xorg.xcbutil # libxcb-util.so.1
xorg.xcbutilcursor # libxcb-cursor.so.0 (belt-and-suspenders)
xorg.libX11
xorg.libXcursor
xorg.libXrandr
xorg.libXi
libtiff
libkrb5
wayland
wayland-protocols
fuse2
libXdamage libXext libXfixes libXi libXrandr libXdamage libXext libXfixes libXi libXrandr
libXrender libXScrnSaver openssl libxshmfence libXtst libXrender libXScrnSaver openssl libxshmfence libXtst
xcbutilkeysyms zlib fontconfig.lib SDL2 libGL libuuid libXft xcbutilkeysyms zlib fontconfig.lib SDL2 libGL libuuid libXft
@@ -359,19 +379,19 @@ services.pulseaudio.extraConfig = ''
# cemu broken with latest update # cemu broken with latest update
wget wget
unzip unzip
appimage-run
wayvr wayvr
inputs.comfyui-nix.packages.${pkgs.stdenv.hostPlatform.system}.rocm
winetricks winetricks
cowsay cowsay
pfetch pfetch
ryubing ryubing
inputs.subtui.packages.${pkgs.stdenv.hostPlatform.system}.default
mpv mpv
pkgs-master.gelly llama-cpp-rocm
android-tools android-tools
gomatrix gomatrix
python3 python3
pavucontrol pavucontrol
sbctl
boxflat boxflat
bluebubbles bluebubbles
thunar thunar
@@ -379,7 +399,6 @@ services.pulseaudio.extraConfig = ''
wiremix wiremix
steamtinkerlaunch steamtinkerlaunch
wineWow64Packages.wayland wineWow64Packages.wayland
blueman
lapce lapce
prismlauncher prismlauncher
protonup-qt protonup-qt
@@ -485,6 +504,14 @@ services.pulseaudio.extraConfig = ''
networking.firewall.allowedUDPPorts = [ 7860 8188 9943 9944 3042 47990 3246 11434 7801 4800 48010 ]; networking.firewall.allowedUDPPorts = [ 7860 8188 9943 9944 3042 47990 3246 11434 7801 4800 48010 ];
# Or disable the firewall altogether. # Or disable the firewall altogether.
networking.firewall.enable = false; networking.firewall.enable = false;
services.resolved.enable = true;
boot.kernel.sysctl = {
"net.core.rmem_max" = 268435456;
"net.core.wmem_max" = 268435456;
"net.ipv4.tcp_rmem" = "4096 87380 268435456";
"net.ipv4.tcp_wmem" = "4096 65536 268435456";
};
# This value determines the NixOS release from which the default # This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions # settings for stateful data, like file locations and database versions
+3 -10
View File
@@ -8,31 +8,24 @@
[ (modulesPath + "/installer/scan/not-detected.nix") [ (modulesPath + "/installer/scan/not-detected.nix")
]; ];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ]; boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ]; boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
fileSystems."/" = fileSystems."/" =
{ device = "/dev/disk/by-uuid/6452f60b-602c-42ae-bff6-7b0a35e59bfb"; { device = "/dev/disk/by-uuid/21e74977-d8a1-489f-8215-aef8f9bae35a";
fsType = "ext4"; fsType = "ext4";
}; };
fileSystems."/boot" = fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/9947-B99A"; { device = "/dev/disk/by-uuid/1B0C-E66A";
fsType = "vfat"; fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ]; options = [ "fmask=0077" "dmask=0077" ];
}; };
swapDevices = [ ]; swapDevices = [ ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.enp3s0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
} }
-1
View File
@@ -29,7 +29,6 @@
home.file.".icons/default".source = "${pkgs.bibata-cursors}/share/icons/Bibata-Modern-Classic"; home.file.".icons/default".source = "${pkgs.bibata-cursors}/share/icons/Bibata-Modern-Classic";
services.mpd-mpris.enable = true; services.mpd-mpris.enable = true;
gtk.gtk4.theme = null;
# This value determines the Home Manager release that your # This value determines the Home Manager release that your
# configuration is compatible with. This helps avoid breakage # configuration is compatible with. This helps avoid breakage
+4 -4
View File
@@ -3,14 +3,14 @@
{ {
imports = imports =
[ [
./stylix ./dms
./nvim
./cava ./cava
./hypr ./hypr
./kitty ./kitty
./noctalia
./nushell ./nushell
./nvim
./starship ./starship
# ./stylix
./yazi ./yazi
./zen ./zen
./helium ./helium
+12
View File
@@ -0,0 +1,12 @@
{pkgs, config, inputs, ...}:
{
imports = [
inputs.dms.homeModules.dank-material-shell
];
programs.dank-material-shell = {
enable = true;
settings = import ./settings.nix;
};
}
+496
View File
@@ -0,0 +1,496 @@
{
currentThemeName = "dynamic";
currentThemeCategory = "dynamic";
customThemeFile = "";
registryThemeVariants = {};
matugenScheme = "scheme-tonal-spot";
runUserMatugenTemplates = true;
matugenTargetMonitor = "";
popupTransparency = 1;
dockTransparency = 1;
widgetBackgroundColor = "sch";
widgetColorMode = "default";
controlCenterTileColorMode = "primary";
buttonColorMode = "primary";
cornerRadius = 12;
niriLayoutGapsOverride = -1;
niriLayoutRadiusOverride = -1;
niriLayoutBorderSize = -1;
hyprlandLayoutGapsOverride = -1;
hyprlandLayoutRadiusOverride = -1;
hyprlandLayoutBorderSize = -1;
mangoLayoutGapsOverride = -1;
mangoLayoutRadiusOverride = -1;
mangoLayoutBorderSize = -1;
use24HourClock = true;
showSeconds = false;
padHours12Hour = false;
useFahrenheit = false;
windSpeedUnit = "kmh";
nightModeEnabled = false;
animationSpeed = 1;
customAnimationDuration = 500;
syncComponentAnimationSpeeds = true;
popoutAnimationSpeed = 1;
popoutCustomAnimationDuration = 150;
modalAnimationSpeed = 1;
modalCustomAnimationDuration = 150;
enableRippleEffects = true;
blurEnabled = false;
blurForegroundLayers = true;
blurLayerOutlineOpacity = 0.12;
blurBorderColor = "outline";
blurBorderCustomColor = "#ffffff";
blurBorderOpacity = 0.35;
wallpaperFillMode = "Fill";
blurredWallpaperLayer = false;
blurWallpaperOnOverview = false;
showLauncherButton = true;
showWorkspaceSwitcher = true;
showFocusedWindow = true;
showWeather = true;
showMusic = true;
showClipboard = true;
showCpuUsage = true;
showMemUsage = true;
showCpuTemp = true;
showGpuTemp = true;
selectedGpuIndex = 0;
enabledGpuPciIds = [];
showSystemTray = true;
systemTrayIconTintMode = "none";
systemTrayIconTintSaturation = 50;
systemTrayIconTintStrength = 135;
showClock = true;
showNotificationButton = true;
showBattery = true;
showControlCenterButton = true;
showCapsLockIndicator = true;
controlCenterShowNetworkIcon = true;
controlCenterShowBluetoothIcon = true;
controlCenterShowAudioIcon = true;
controlCenterShowAudioPercent = false;
controlCenterShowVpnIcon = true;
controlCenterShowBrightnessIcon = false;
controlCenterShowBrightnessPercent = false;
controlCenterShowMicIcon = false;
controlCenterShowMicPercent = false;
controlCenterShowBatteryIcon = false;
controlCenterShowPrinterIcon = false;
controlCenterShowScreenSharingIcon = true;
showPrivacyButton = true;
privacyShowMicIcon = false;
privacyShowCameraIcon = false;
privacyShowScreenShareIcon = false;
controlCenterWidgets = [
{ id = "volumeSlider"; enabled = true; width = 50; }
{ id = "brightnessSlider"; enabled = true; width = 50; }
{ id = "wifi"; enabled = true; width = 50; }
{ id = "bluetooth"; enabled = true; width = 50; }
{ id = "audioOutput"; enabled = true; width = 50; }
{ id = "audioInput"; enabled = true; width = 50; }
{ id = "nightMode"; enabled = true; width = 50; }
{ id = "darkMode"; enabled = true; width = 50; }
];
showWorkspaceIndex = false;
showWorkspaceName = false;
showWorkspacePadding = false;
workspaceScrolling = false;
showWorkspaceApps = false;
workspaceDragReorder = true;
maxWorkspaceIcons = 3;
workspaceAppIconSizeOffset = 0;
groupWorkspaceApps = true;
workspaceFollowFocus = false;
showOccupiedWorkspacesOnly = false;
reverseScrolling = false;
dwlShowAllTags = false;
workspaceColorMode = "default";
workspaceOccupiedColorMode = "none";
workspaceUnfocusedColorMode = "default";
workspaceUrgentColorMode = "default";
workspaceFocusedBorderEnabled = false;
workspaceFocusedBorderColor = "primary";
workspaceFocusedBorderThickness = 2;
workspaceNameIcons = {};
waveProgressEnabled = true;
scrollTitleEnabled = true;
audioVisualizerEnabled = true;
audioScrollMode = "volume";
audioWheelScrollAmount = 5;
clockCompactMode = false;
focusedWindowCompactMode = false;
runningAppsCompactMode = true;
barMaxVisibleApps = 0;
barMaxVisibleRunningApps = 0;
barShowOverflowBadge = true;
appsDockHideIndicators = false;
appsDockColorizeActive = false;
appsDockActiveColorMode = "primary";
appsDockEnlargeOnHover = false;
appsDockEnlargePercentage = 125;
appsDockIconSizePercentage = 100;
keyboardLayoutNameCompactMode = false;
runningAppsCurrentWorkspace = true;
runningAppsGroupByApp = false;
runningAppsCurrentMonitor = false;
appIdSubstitutions = [
{ pattern = "Spotify"; replacement = "spotify"; type = "exact"; }
{ pattern = "beepertexts"; replacement = "beeper"; type = "exact"; }
{ pattern = "home assistant desktop"; replacement = "homeassistant-desktop"; type = "exact"; }
{ pattern = "com.transmissionbt.transmission"; replacement = "transmission-gtk"; type = "contains"; }
{ pattern = "^steam_app_(\\d+)$"; replacement = "steam_icon_$1"; type = "regex"; }
];
centeringMode = "index";
clockDateFormat = "";
lockDateFormat = "";
greeterRememberLastSession = true;
greeterRememberLastUser = true;
greeterEnableFprint = false;
greeterEnableU2f = false;
greeterWallpaperPath = "";
mediaSize = 1;
appLauncherViewMode = "list";
spotlightModalViewMode = "list";
browserPickerViewMode = "grid";
browserUsageHistory = {};
appPickerViewMode = "grid";
filePickerUsageHistory = {};
sortAppsAlphabetically = false;
appLauncherGridColumns = 4;
spotlightCloseNiriOverview = true;
spotlightSectionViewModes = {};
appDrawerSectionViewModes = {};
niriOverviewOverlayEnabled = true;
dankLauncherV2Size = "compact";
dankLauncherV2BorderEnabled = false;
dankLauncherV2BorderThickness = 2;
dankLauncherV2BorderColor = "primary";
dankLauncherV2ShowFooter = true;
dankLauncherV2UnloadOnClose = false;
useAutoLocation = false;
weatherEnabled = true;
networkPreference = "auto";
iconTheme = "System Default";
cursorSettings = {
theme = "System Default";
size = 24;
niri = {
hideWhenTyping = false;
hideAfterInactiveMs = 0;
};
hyprland = {
hideOnKeyPress = false;
hideOnTouch = false;
inactiveTimeout = 0;
};
dwl = {
cursorHideTimeout = 0;
};
};
launcherLogoMode = "apps";
launcherLogoCustomPath = "";
launcherLogoColorOverride = "";
launcherLogoColorInvertOnMode = false;
launcherLogoBrightness = 0.5;
launcherLogoContrast = 1;
launcherLogoSizeOffset = 0;
fontFamily = "Inter Variable";
monoFontFamily = "Fira Code";
fontWeight = 400;
fontScale = 1;
notepadUseMonospace = true;
notepadFontFamily = "";
notepadFontSize = 14;
notepadShowLineNumbers = false;
notepadTransparencyOverride = -1;
notepadLastCustomTransparency = 0.7;
soundsEnabled = true;
useSystemSoundTheme = false;
soundNewNotification = true;
soundVolumeChanged = true;
soundPluggedIn = true;
acMonitorTimeout = 0;
acLockTimeout = 0;
acSuspendTimeout = 0;
acSuspendBehavior = 0;
acProfileName = "";
batteryMonitorTimeout = 0;
batteryLockTimeout = 0;
batterySuspendTimeout = 0;
batterySuspendBehavior = 0;
batteryProfileName = "";
batteryChargeLimit = 100;
lockBeforeSuspend = false;
loginctlLockIntegration = true;
fadeToLockEnabled = true;
fadeToLockGracePeriod = 5;
fadeToDpmsEnabled = true;
fadeToDpmsGracePeriod = 5;
launchPrefix = "";
brightnessDevicePins = {};
wifiNetworkPins = {};
bluetoothDevicePins = {};
audioInputDevicePins = {};
audioOutputDevicePins = {};
gtkThemingEnabled = false;
qtThemingEnabled = false;
syncModeWithPortal = true;
terminalsAlwaysDark = false;
muxType = "tmux";
muxUseCustomCommand = false;
muxCustomCommand = "";
muxSessionFilter = "";
runDmsMatugenTemplates = true;
matugenTemplateGtk = true;
matugenTemplateNiri = true;
matugenTemplateHyprland = true;
matugenTemplateMangowc = true;
matugenTemplateQt5ct = true;
matugenTemplateQt6ct = true;
matugenTemplateFirefox = true;
matugenTemplatePywalfox = true;
matugenTemplateZenBrowser = true;
matugenTemplateVesktop = true;
matugenTemplateEquibop = true;
matugenTemplateGhostty = true;
matugenTemplateKitty = true;
matugenTemplateFoot = true;
matugenTemplateAlacritty = true;
matugenTemplateNeovim = true;
matugenTemplateWezterm = true;
matugenTemplateDgop = true;
matugenTemplateKcolorscheme = true;
matugenTemplateVscode = true;
matugenTemplateEmacs = true;
matugenTemplateZed = true;
showDock = false;
dockAutoHide = false;
dockSmartAutoHide = false;
dockGroupByApp = false;
dockOpenOnOverview = false;
dockPosition = 1;
dockSpacing = 4;
dockBottomGap = 0;
dockMargin = 0;
dockIconSize = 40;
dockIndicatorStyle = "circle";
dockBorderEnabled = false;
dockBorderColor = "surfaceText";
dockBorderOpacity = 1;
dockBorderThickness = 1;
dockIsolateDisplays = false;
dockLauncherEnabled = false;
dockLauncherLogoMode = "apps";
dockLauncherLogoCustomPath = "";
dockLauncherLogoColorOverride = "";
dockLauncherLogoSizeOffset = 0;
dockLauncherLogoBrightness = 0.5;
dockLauncherLogoContrast = 1;
dockMaxVisibleApps = 0;
dockMaxVisibleRunningApps = 0;
dockShowOverflowBadge = true;
notificationOverlayEnabled = false;
notificationPopupShadowEnabled = true;
notificationPopupPrivacyMode = false;
modalDarkenBackground = true;
lockScreenShowPowerActions = true;
lockScreenShowSystemIcons = true;
lockScreenShowTime = true;
lockScreenShowDate = true;
lockScreenShowProfileImage = true;
lockScreenShowPasswordField = true;
lockScreenShowMediaPlayer = true;
lockScreenPowerOffMonitorsOnLock = false;
lockAtStartup = false;
enableFprint = false;
maxFprintTries = 15;
enableU2f = false;
u2fMode = "or";
lockScreenActiveMonitor = "all";
lockScreenInactiveColor = "#000000";
lockScreenNotificationMode = 0;
hideBrightnessSlider = false;
notificationTimeoutLow = 5000;
notificationTimeoutNormal = 5000;
notificationTimeoutCritical = 0;
notificationCompactMode = false;
notificationPopupPosition = 0;
notificationAnimationSpeed = 1;
notificationCustomAnimationDuration = 400;
notificationHistoryEnabled = true;
notificationHistoryMaxCount = 50;
notificationHistoryMaxAgeDays = 7;
notificationHistorySaveLow = true;
notificationHistorySaveNormal = true;
notificationHistorySaveCritical = true;
notificationRules = [];
osdAlwaysShowValue = false;
osdPosition = 5;
osdVolumeEnabled = true;
osdMediaVolumeEnabled = true;
osdMediaPlaybackEnabled = false;
osdBrightnessEnabled = true;
osdIdleInhibitorEnabled = true;
osdMicMuteEnabled = true;
osdCapsLockEnabled = true;
osdPowerProfileEnabled = false;
osdAudioOutputEnabled = true;
powerActionConfirm = true;
powerActionHoldDuration = 0.5;
powerMenuActions = [ "reboot" "logout" "poweroff" "lock" "suspend" "restart" ];
powerMenuDefaultAction = "logout";
powerMenuGridLayout = false;
customPowerActionLock = "";
customPowerActionLogout = "";
customPowerActionSuspend = "";
customPowerActionHibernate = "";
customPowerActionReboot = "";
customPowerActionPowerOff = "";
updaterHideWidget = false;
updaterUseCustomCommand = false;
updaterCustomCommand = "";
updaterTerminalAdditionalParams = "";
displayNameMode = "system";
screenPreferences = {
wallpaper = [
"all"
];
};
showOnLastDisplay = {};
niriOutputSettings = {};
hyprlandOutputSettings = {};
displayProfiles = {};
activeDisplayProfile = {};
displayProfileAutoSelect = false;
displayShowDisconnected = false;
displaySnapToEdge = true;
barConfigs = [
{
id = "default";
name = "Main Bar";
enabled = true;
position = 0;
screenPreferences = [ "all" ];
showOnLastDisplay = true;
leftWidgets = [ "launcherButton" "workspaceSwitcher" "focusedWindow" ];
centerWidgets = [ "music" "clock" "weather" ];
rightWidgets = [ "systemTray" "clipboard" "cpuUsage" "memUsage" "notificationButton" "battery" "controlCenterButton" ];
spacing = 4;
innerPadding = 4;
bottomGap = 0;
transparency = 1;
widgetTransparency = 1;
squareCorners = false;
noBackground = false;
maximizeWidgetIcons = false;
maximizeWidgetText = false;
removeWidgetPadding = false;
widgetPadding = 8;
gothCornersEnabled = false;
gothCornerRadiusOverride = false;
gothCornerRadiusValue = 12;
borderEnabled = false;
borderColor = "surfaceText";
borderOpacity = 1;
borderThickness = 1;
widgetOutlineEnabled = false;
widgetOutlineColor = "primary";
widgetOutlineOpacity = 1;
widgetOutlineThickness = 1;
fontScale = 1;
iconScale = 1;
autoHide = true;
autoHideDelay = 250;
showOnWindowsOpen = false;
openOnOverview = false;
visible = true;
popupGapsAuto = true;
popupGapsManual = 4;
maximizeDetection = true;
scrollEnabled = true;
scrollXBehavior = "column";
scrollYBehavior = "workspace";
shadowIntensity = 0;
shadowOpacity = 60;
shadowColorMode = "text";
shadowCustomColor = "#000000";
clickThrough = false;
}
];
desktopClockEnabled = false;
desktopClockStyle = "analog";
desktopClockTransparency = 0.8;
desktopClockColorMode = "primary";
desktopClockCustomColor = {
r = 1;
g = 1;
b = 1;
a = 1;
hsvHue = -1;
hsvSaturation = 0;
hsvValue = 1;
hslHue = -1;
hslSaturation = 0;
hslLightness = 1;
valid = true;
};
desktopClockShowDate = true;
desktopClockShowAnalogNumbers = false;
desktopClockShowAnalogSeconds = true;
desktopClockX = -1;
desktopClockY = -1;
desktopClockWidth = 280;
desktopClockHeight = 180;
desktopClockDisplayPreferences = [ "all" ];
systemMonitorEnabled = false;
systemMonitorShowHeader = true;
systemMonitorTransparency = 0.8;
systemMonitorColorMode = "primary";
systemMonitorCustomColor = {
r = 1;
g = 1;
b = 1;
a = 1;
hsvHue = -1;
hsvSaturation = 0;
hsvValue = 1;
hslHue = -1;
hslSaturation = 0;
hslLightness = 1;
valid = true;
};
systemMonitorShowCpu = true;
systemMonitorShowCpuGraph = true;
systemMonitorShowCpuTemp = true;
systemMonitorShowGpuTemp = false;
systemMonitorGpuPciId = "";
systemMonitorShowMemory = true;
systemMonitorShowMemoryGraph = true;
systemMonitorShowNetwork = true;
systemMonitorShowNetworkGraph = true;
systemMonitorShowDisk = true;
systemMonitorShowTopProcesses = false;
systemMonitorTopProcessCount = 3;
systemMonitorTopProcessSortBy = "cpu";
systemMonitorGraphInterval = 60;
systemMonitorLayoutMode = "auto";
systemMonitorX = -1;
systemMonitorY = -1;
systemMonitorWidth = 320;
systemMonitorHeight = 480;
systemMonitorDisplayPreferences = [ "all" ];
systemMonitorVariants = [];
desktopWidgetPositions = {};
desktopWidgetGridSettings = {};
desktopWidgetInstances = [];
desktopWidgetGroups = [];
builtInPluginSettings = {};
clipboardEnterToPaste = false;
launcherPluginVisibility = {};
launcherPluginOrder = [];
configVersion = 5;
}
+18 -10
View File
@@ -1,9 +1,13 @@
{ pkgs, inputs, lib, ... }: { pkgs, inputs, lib, ... }:
{ {
services.hyprpolkitagent.enable = true; services.hyprpolkitagent.enable = false;
programs.hyprshot.enable = true; programs.hyprshot.enable = true;
programs.hyprlock.enable = true; programs.hyprlock.enable = true;
wayland.windowManager.hyprland.configType = "hyprlang";
wayland.windowManager.hyprland.extraConfig = ''
source = ./dms/colors.conf
'';
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
enable = true; enable = true;
package = null; package = null;
@@ -12,8 +16,6 @@
# Variables # Variables
"$terminal" = "kitty -e nu"; "$terminal" = "kitty -e nu";
"$fileManager" = "kitty -e yazi"; "$fileManager" = "kitty -e yazi";
"$menu" = "noctalia-shell ipc call launcher toggle";
"$bar" = "noctalia-shell";
"$mainMod" = "SUPER"; "$mainMod" = "SUPER";
# Monitors # Monitors
@@ -34,6 +36,9 @@
sdrbrightness = 1; sdrbrightness = 1;
sdrsaturation = 1; sdrsaturation = 1;
sdr_min_luminance = 0.005; sdr_min_luminance = 0.005;
min_luminance = 0;
max_luminance = 1300;
max_avg_luminance = 400;
sdr_max_luminance = 200; sdr_max_luminance = 200;
supports_hdr = 1; supports_hdr = 1;
supports_wide_color = 1; supports_wide_color = 1;
@@ -48,11 +53,9 @@
# Startup applications # Startup applications
exec-once = [ exec-once = [
"noctalia-shell" "dms run"
"hyprlock"
"hyprctl dispatch workspace 1" "hyprctl dispatch workspace 1"
"pw-metadata -n settings 0 clock.force-quantum 2048" "pw-metadata -n settings 0 clock.force-quantum 2048"
"systemctl --user start hyprpolkitagent"
"sunshine" "sunshine"
"" ""
]; ];
@@ -145,16 +148,23 @@
bind = [ bind = [
"$mainMod, Return, exec, $terminal" "$mainMod, Return, exec, $terminal"
"$mainMod, Q, killactive" "$mainMod, Q, killactive"
"$mainMod, M, exec, noctalia-shell ipc call lockScreen lock" "$mainMod, M, exec, dms ipc call lock lock"
"$mainMod, E, exec, $fileManager" "$mainMod, E, exec, $fileManager"
"$mainMod, Y, exec, dms ipc call dankdash wallpaper"
"$mainMod, TAB, exec, dms ipc call hypr toggleOverview"
"$mainMod, C, exec, dms ipc call clipboard toggle"
"$mainMod, comma, exec, dms ipc call settings focusOrToggle"
"$mainMod, V, togglefloating" "$mainMod, V, togglefloating"
"$mainMod, Space, exec, $menu"
"$mainMod, B, exec, zen" "$mainMod, B, exec, zen"
"$mainMod, P, pseudo" "$mainMod, P, pseudo"
"$mainMod, space, exec, dms ipc call spotlight toggle"
# "$mainMod, J, togglesplit" # "$mainMod, J, togglesplit"
"$mainMod, F, fullscreen" "$mainMod, F, fullscreen"
", XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%+" ", XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%+"
", XF86AudioLowerVolume, exec, wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%-" ", XF86AudioLowerVolume, exec, wpctl set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%-"
", XF86AudioMute, exec, dms ipc call audio mute"
", XF86MonBrightnessUp, exec, dms ipc call brightness increment 5"
", XF86MonBrightnessDown, exec, dms ipc call brightness decrement 5"
"$mainMod, left, movefocus, l" "$mainMod, left, movefocus, l"
"$mainMod, right, movefocus, r" "$mainMod, right, movefocus, r"
"$mainMod, up, movefocus, u" "$mainMod, up, movefocus, u"
@@ -183,8 +193,6 @@
"$mainMod SHIFT, S, movetoworkspace, special:magic" "$mainMod SHIFT, S, movetoworkspace, special:magic"
"$mainMod, mouse_down, workspace, e+1" "$mainMod, mouse_down, workspace, e+1"
"$mainMod, mouse_up, workspace, e-1" "$mainMod, mouse_up, workspace, e-1"
", code:76, exec, killall -SIGUSR1 gpu-screen-recorder"
", code:75, exec, killall -SIGINT gpu-screen-recorder"
]; ];
bindm = [ bindm = [
+2
View File
@@ -8,6 +8,8 @@
italic_font auto italic_font auto
bold_italic_font auto bold_italic_font auto
confirm_os_window_close 0 confirm_os_window_close 0
include dank-theme.conf
include dank-tabs.conf
cursor_shape beam cursor_shape beam
cursor_trail 3 cursor_trail 3
''; '';
-136
View File
@@ -1,136 +0,0 @@
{pkgs, inputs, lib,...}:
{
imports = [ inputs.noctalia.homeModules.default ];
programs.noctalia-shell = {
enable = true;
settings = {
general = {
avatarImage = "/home/joshuaelm/NixOS-configs/pfp.jpg";
shadowOffsetX = 3;
shadowOffsetY = 3;
};
bar = lib.mkForce {
position = "top";
monitors = [ ];
density = "default";
showOutline = false;
showCapsule = true;
capsuleOpacity = 1;
backgroundOpacity = 1;
useSeparateOpacity = false;
floating = true;
marginVertical = 5;
marginHorizontal = 5;
outerCorners = false;
exclusive = true;
hideOnOverview = false;
widgets = {
left = [
{
id = "ControlCenter";
}
{
id = "Workspace";
}
];
center = [
{
id = "Clock";
}
{
id = "MediaMini";
}
];
right = [
{
id = "AudioVisualizer";
}
{
id = "Tray";
}
{
id = "plugin:screenshot";
}
{
id = "plugin:screen-recorder";
}
{
id = "Volume";
}
{
id = "Battery";
}
{
id= "Brightness";
}
];
};
};
wallpaper = {
enabled = true;
};
appLauncher = {
terminalCommand = "kitty -e";
position = "top-center";
};
sessionMenu = {
position = "top_left";
};
dock = {
enabled = false;
};
osd = {
location = "right";
};
location = {
monthBeforeDay = true;
name = "Cedar Hill, United States";
weatherEnabled = true;
weatherShowEffects = true;
useFahrenheit = true;
use12hourFormat = false;
showWeekNumberInCalendar = false;
showCalendarEvents = false;
showCalendarWeather = true;
analogClockInCalendar = false;
firstDayOfWeek = -1;
hideWeatherTimezone = false;
hideWeatherCityName = false;
};
};
plugins = {
sources = [
{
enabled = true;
name = "Official Noctalia Plugins";
url = "https://github.com/noctalia-dev/noctalia-plugins";
}
];
states = {
screen-recorder = {
enabled = true;
};
fancy-audiovisualizer = {
enabled = true;
};
screenshot = {
enabled = true;
};
kagi-quick-search = {
enabled = true;
};
};
version = "1";
};
pluginSettings = {
screen-recorder = {
videoCodec = "av1";
};
kagi-quick-search = {
kagiSessionToken = "Ub-qBZk0teotZem9-oDpZsvS8B-6Cof9D0Juqexr_Ow.Oi1cHu5d-9o2UupeBO1ndQ_6CsvoFo2lfEWDnxlnqWc";
};
};
};
}
+3 -28
View File
@@ -1,30 +1,5 @@
{config, pkgs, lib, inputs, ...}: {pkgs, inputs, config, ...}:
{ {
imports = [ ./config.nix ]; imports = [ inputs.lazyvim.homeManagerModules.default ];
programs.nixvim = { programs.lazyvim.enable = true;
enable = true;
defaultEditor = true;
plugins.nvim-tree.enable = true;
plugins.treesitter.enable = true;
plugins.lualine.enable = true;
plugins.lsp.enable = true;
plugins.luasnip.enable = true;
plugins.toggleterm.enable = true;
plugins.cmp.enable = true;
plugins.gitsigns.enable = true;
plugins.web-devicons.enable = true;
plugins.which-key.enable = true;
plugins.cmp-nvim-lsp.enable = true;
plugins.bufferline.enable = true;
plugins.noice.enable = true;
plugins.mini-pairs.enable = true;
plugins.ts-comments.enable = true;
plugins.snacks.enable = true;
plugins.mini-icons.enable = true;
plugins.nui.enable = true;
plugins.telescope.enable = true;
plugins.indent-blankline.enable = true;
};
} }
+1 -2
View File
@@ -1,10 +1,9 @@
{ pkgs, ... }: { pkgs, config, lib, ... }:
{ {
stylix.enable = true; stylix.enable = true;
stylix.autoEnable = true; stylix.autoEnable = true;
#stylix.targets.plymouth.enable = false; #stylix.targets.plymouth.enable = false;
stylix.targets.kitty.enable = true; stylix.targets.kitty.enable = true;
stylix.polarity = "dark";
stylix.targets.zen-browser.profileNames = [ "default" ]; stylix.targets.zen-browser.profileNames = [ "default" ];
stylix.targets.zen-browser.enable = true; stylix.targets.zen-browser.enable = true;
# blue aura house # blue aura house
+24 -15
View File
@@ -1,28 +1,36 @@
{ pkgs, inputs,... }: { pkgs, inputs, lib,... }:
{ {
imports = [ imports = [
inputs.zen-browser.homeModules.beta inputs.zen-browser.homeModules.beta
]; ];
home.activation.linkZenUserChrome = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
$DRY_RUN_CMD mkdir -p "$HOME/.zen/k7ha0h7z.Default Profile/chrome"
$DRY_RUN_CMD ln -sf $HOME/.config/DankMaterialShell/zen.css \
"$HOME/.zen/k7ha0h7z.Default Profile/chrome/userChrome.css"
'';
programs.zen-browser = { programs.zen-browser = {
enable = true; enable = true;
profiles = { profiles = {
default = { default = {
# bookmarks, extensions, search engines... # bookmarks, extensions, search engines...
id = 0; id = 0;
isDefault = true; isDefault = true;
name = "default"; name = "default";
search = { search = {
force = true; force = true;
default = "Kagi"; default = "Kagi";
engines = { engines = {
"Kagi" = { "Kagi" = {
urls = [{ template = "https://kagi.com/search?q={searchTerms}"; }]; urls = [{ template = "https://kagi.com/search?q={searchTerms}"; }];
icon = "https://kagi.com/favicon.ico"; icon = "https://kagi.com/favicon.ico";
updateInterval = 24 * 60 * 60 * 1000; # every day updateInterval = 24 * 60 * 60 * 1000; # every day
definedAliases = [ "@kagi" ]; definedAliases = [ "@kagi" ];
}; };
}; };
}; };
settings = {
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
};
}; };
}; };
policies = let policies = let
@@ -39,6 +47,7 @@
"{7be2ba16-0f1e-4d93-9ebc-5164397477a9}" = "videospeed"; "{7be2ba16-0f1e-4d93-9ebc-5164397477a9}" = "videospeed";
}; };
DisableTelemetry = true; DisableTelemetry = true;
}; };
}; };
} }