stuff
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
inputs.dms.nixosModules.dank-material-shell
|
||||
];
|
||||
|
||||
# Bootloader.
|
||||
@@ -14,7 +15,7 @@
|
||||
boot.loader.grub.efiSupport = true;*/
|
||||
boot.loader.limine = {
|
||||
enable = true;
|
||||
secureBoot.enable = true;
|
||||
resolution = "3840x2160";
|
||||
};
|
||||
boot.initrd.systemd.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
@@ -91,6 +92,8 @@ boot = {
|
||||
|
||||
};
|
||||
|
||||
services.udev.packages = [ pkgs.boxflat ];
|
||||
|
||||
services.udev.extraRules = ''
|
||||
# This rule was added by Solaar.
|
||||
#
|
||||
@@ -183,6 +186,10 @@ LABEL="solaar_end"
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
};
|
||||
services.displayManager.dms-greeter = {
|
||||
enable = true;
|
||||
compositor.name = "hyprland"; # Or "hyprland" or "sway"
|
||||
};
|
||||
/*services.displayManager = {
|
||||
autoLogin.enable = true;
|
||||
autoLogin.user = "joshuaelm";
|
||||
@@ -190,7 +197,7 @@ LABEL="solaar_end"
|
||||
security.pam.services.hyprlock = {};
|
||||
programs.noisetorch.enable = true;
|
||||
|
||||
services.greetd = {
|
||||
/*services.greetd = {
|
||||
enable = true;
|
||||
settings = rec {
|
||||
hyprland_session = {
|
||||
@@ -203,7 +210,8 @@ LABEL="solaar_end"
|
||||
};
|
||||
default_session = hyprland_session;
|
||||
};
|
||||
};
|
||||
};*/
|
||||
|
||||
|
||||
# Steam Deck Gamemode
|
||||
programs.steam.gamescopeSession.enable = true;
|
||||
@@ -285,23 +293,20 @@ services.pulseaudio.extraConfig = ''
|
||||
|
||||
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
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
# 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" = {
|
||||
device = "/dev/disk/by-uuid/f0f2dd27-f802-40f6-827b-23e0462b55f6";
|
||||
fsType = "btrfs";
|
||||
@@ -339,7 +344,22 @@ services.pulseaudio.extraConfig = ''
|
||||
alsa-lib atk cairo cups curl dbus expat file fish fontconfig freetype
|
||||
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
|
||||
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
|
||||
libXrender libXScrnSaver openssl libxshmfence libXtst
|
||||
xcbutilkeysyms zlib fontconfig.lib SDL2 libGL libuuid libXft
|
||||
@@ -359,19 +379,19 @@ services.pulseaudio.extraConfig = ''
|
||||
# cemu broken with latest update
|
||||
wget
|
||||
unzip
|
||||
appimage-run
|
||||
wayvr
|
||||
inputs.comfyui-nix.packages.${pkgs.stdenv.hostPlatform.system}.rocm
|
||||
winetricks
|
||||
cowsay
|
||||
pfetch
|
||||
ryubing
|
||||
inputs.subtui.packages.${pkgs.stdenv.hostPlatform.system}.default
|
||||
mpv
|
||||
pkgs-master.gelly
|
||||
llama-cpp-rocm
|
||||
android-tools
|
||||
gomatrix
|
||||
python3
|
||||
pavucontrol
|
||||
sbctl
|
||||
boxflat
|
||||
bluebubbles
|
||||
thunar
|
||||
@@ -379,7 +399,6 @@ services.pulseaudio.extraConfig = ''
|
||||
wiremix
|
||||
steamtinkerlaunch
|
||||
wineWow64Packages.wayland
|
||||
blueman
|
||||
lapce
|
||||
prismlauncher
|
||||
protonup-qt
|
||||
@@ -485,6 +504,14 @@ services.pulseaudio.extraConfig = ''
|
||||
networking.firewall.allowedUDPPorts = [ 7860 8188 9943 9944 3042 47990 3246 11434 7801 4800 48010 ];
|
||||
# Or disable the firewall altogether.
|
||||
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
|
||||
# settings for stateful data, like file locations and database versions
|
||||
|
||||
@@ -8,31 +8,24 @@
|
||||
[ (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.kernelModules = [ "kvm-amd" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/6452f60b-602c-42ae-bff6-7b0a35e59bfb";
|
||||
{ device = "/dev/disk/by-uuid/21e74977-d8a1-489f-8215-aef8f9bae35a";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/9947-B99A";
|
||||
{ device = "/dev/disk/by-uuid/1B0C-E66A";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0077" "dmask=0077" ];
|
||||
};
|
||||
|
||||
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";
|
||||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
}
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
home.file.".icons/default".source = "${pkgs.bibata-cursors}/share/icons/Bibata-Modern-Classic";
|
||||
|
||||
services.mpd-mpris.enable = true;
|
||||
gtk.gtk4.theme = null;
|
||||
|
||||
# This value determines the Home Manager release that your
|
||||
# configuration is compatible with. This helps avoid breakage
|
||||
|
||||
Reference in New Issue
Block a user