Noctalia shell, Yazi file manager, added and removed Ghostty, general configuration changes desktop side

This commit is contained in:
2026-01-27 11:11:45 -06:00
parent 8bf191eefc
commit 6d66b4aa80
9 changed files with 228 additions and 149 deletions

View File

@@ -11,10 +11,14 @@
];
# Bootloader.
boot.loader.grub.enable = true;
/*boot.loader.grub.enable = true;
boot.loader.grub.devices = ["nodev"];
boot.loader.grub.useOSProber = true;
boot.loader.grub.efiSupport = true;
boot.loader.grub.efiSupport = true;*/
boot.loader.limine = {
enable = true;
secureBoot.enable = true;
};
boot.initrd.systemd.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
services.avahi = {
@@ -77,12 +81,11 @@ boot = {
};
services.udev.extraRules = ''
ACTION=="add", KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="35bd", ATTRS{idProduct}=="0101", TAG+="uaccess", MODE="0660"
'';
boot.extraModulePackages = with config.boot.kernelPackages; [ hid-tmff2 xpadneo ];
services.udev.extraRules = ''
SUBSYSTEM=="tty", KERNEL=="ttyACM*", ATTRS{idVendor}=="346e", ACTION=="add", MODE="0666", TAG+="uaccess"
'';
boot.extraModulePackages = with config.boot.kernelPackages; [ universal-pidff xpadneo ];
networking.hostName = "nixos"; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
@@ -151,7 +154,7 @@ boot = {
enable = true;
settings = rec {
initial_session = {
command = "dbus-launch ${pkgs.hyprland}/bin/Hyprland";
command = "dbus-launch ${pkgs.hyprland}/bin/start-hyprland";
user = "joshuaelm";
};
default_session = initial_session;
@@ -160,6 +163,7 @@ boot = {
# Steam Deck Gamemode
programs.steam.gamescopeSession.enable = true;
programs.gamemode.enable = true;
@@ -168,6 +172,7 @@ boot = {
security.polkit.enable = true;
services.udisks2.enable = true;
services.fwupd.enable = true;
# Configure keymap in X11
services.xserver = {
@@ -180,10 +185,11 @@ boot = {
# Enable Swap
/*swapDevices = [ {
swapDevices = [ {
device = "/var/lib/swapfile";
size = 16*1024;
}];*/
}];
zramSwap.enable = true;
# Enable CUPS to print documents.
services.printing.enable = true;
@@ -203,42 +209,14 @@ boot = {
# 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;
wireplumber.configPackages = [
(pkgs.writeTextDir "share/wireplumber/wireplumber.conf.d/alsa.conf" ''
monitor.alsa.rules = [
{
matches = [
{
device.name = "~alsa_card.*"
}
]
actions = {
update-props = {
# Device settings
api.alsa.use-acp = true
}
}
}
{
matches = [
{
node.name = "~alsa_input.*"
}
{
node.name = "~alsa_output.*"
}
]
actions = {
# Node settings
update-props = {
session.suspend-timeout-seconds = 0
}
}
}
]
'')
];
extraConfig.pipewire."92-low-latency" = {
"context.properties" = {
"default.clock.rate" = 48000;
"default.clock.quantum" = 32;
"default.clock.min-quantum" = 32;
"default.clock.max-quantum" = 32;
};
};
};
services.pulseaudio.configFile = pkgs.runCommand "default.pa" {} ''
sed 's/module-udev-detect$/module-udev-detect tsched=0/' \
@@ -250,24 +228,6 @@ boot = {
'';
};
services.pipewire.extraConfig.pipewire-pulse."92-low-latency" = {
context.modules = [
{
name = "libpipewire-module-protocol-pulse";
args = {
pulse.min.req = "128/48000";
pulse.default.req = "128/48000";
pulse.max.req = "128/48000";
pulse.min.quantum = "128/48000";
pulse.max.quantum = "128/48000";
};
}
];
stream.properties = {
node.latency = "128/48000";
resample.quality = 1;
};
};
services.pulseaudio.extraConfig = ''
.nofail
unload-module module-suspend-on-idle
@@ -279,7 +239,6 @@ services.pulseaudio.extraConfig = ''
# services.xserver.libinput.enable = true;
# Define a user account. Don't forget to set a password with passwd.
programs.adb.enable = true;
users.users.joshuaelm = {
isNormalUser = true;
description = "Joshua Elmasri";
@@ -305,7 +264,7 @@ services.pulseaudio.extraConfig = ''
# Configure drives
fileSystems."/mnt/Games" = {
device = "/dev/nvme0n1p1";
device = "/dev/disk/by-uuid/732d1907-5225-48a9-834e-e239af475b79";
fsType = "btrfs";
options = [
"users"
@@ -316,8 +275,8 @@ services.pulseaudio.extraConfig = ''
};
/*fileSystems."/mnt/More-Games" = {
device = "/dev/sdb1";
fileSystems."/mnt/More-Games" = {
device = "/dev/disk/by-uuid/f0f2dd27-f802-40f6-827b-23e0462b55f6";
fsType = "btrfs";
options = [
"users"
@@ -325,7 +284,7 @@ services.pulseaudio.extraConfig = ''
"x-gvfs-show"
"exec"
];
};*/
};
@@ -369,10 +328,9 @@ services.pulseaudio.extraConfig = ''
ffmpeg
oversteer
# cemu broken with latest update
oterm
wget
wlx-overlay-s
unzip
wayvr
winetricks
cowsay
pfetch
@@ -380,9 +338,10 @@ services.pulseaudio.extraConfig = ''
gomatrix
python3
pavucontrol
sbctl
boxflat
bluebubbles
xfce.thunar
parallel-launcher
thunar
corectrl
wiremix
termsonic
@@ -395,7 +354,6 @@ services.pulseaudio.extraConfig = ''
protonup-qt
heroic
protontricks
gamescope
playerctl
wine
libreoffice
@@ -429,7 +387,7 @@ services.pulseaudio.extraConfig = ''
enable = false;
defaultRuntime = true; # Register as default OpenXR runtime
};
services.wivrn.enable = true;
services.wivrn.enable = false;
services.wivrn.package = pkgs-master.wivrn;
services.wivrn.defaultRuntime = true;
systemd.user.services.monado.environment = {
@@ -462,7 +420,7 @@ services.pulseaudio.extraConfig = ''
programs.gamescope = {
enable = true;
capSysNice = true;
capSysNice = false;
};
programs.nix-ld.enable = true;
@@ -486,7 +444,7 @@ services.pulseaudio.extraConfig = ''
networking.firewall.allowedTCPPorts = [ 7860 3042 3246 9943 9944 7801 11434 47990 48010 5001 8188 ];
networking.firewall.allowedUDPPorts = [ 7860 8188 9943 9944 3042 47990 3246 11434 7801 4800 48010 ];
# Or disable the firewall altogether.
# networking.firewall.enable = false;
networking.firewall.enable = false;
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions

View File

@@ -6,7 +6,7 @@
home.username = "joshuaelm";
home.homeDirectory = "/home/joshuaelm";
imports = [ ../../modules/nvim ../../modules/stylix.nix ../../modules/hypr ../../modules/ashell ../../modules/waybar/waybar.nix ../../modules/zen ../../modules/rofi ../../modules/kitty ../../modules/cava ../../modules/starship ../../modules/fuzzel ../../modules/nushell ];
imports = [ ../../modules/nvim ../../modules/stylix.nix ../../modules/hypr ../../modules/ashell ../../modules/waybar/waybar.nix ../../modules/zen ../../modules/rofi ../../modules/kitty ../../modules/cava ../../modules/starship ../../modules/noctalia ../../modules/yazi ../../modules/fuzzel ../../modules/ghostty ../../modules/nushell ];
home.packages = [