fixed dektop

This commit is contained in:
k 2025-07-30 17:50:50 +00:00
parent 6c6af12ef6
commit dd4a2adcfd
3 changed files with 27 additions and 38 deletions

View File

@ -13,16 +13,10 @@
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.kernelPatches = [
{
name = "amdgpu-ignore-ctx-privileges";
patch = pkgs.fetchpatch {
name = "cap_sys_nice_begone.patch";
url = "https://github.com/Frogging-Family/community-patches/raw/master/linux61-tkg/cap_sys_nice_begone.mypatch";
hash = "sha256-Y3a0+x2xvHsfLax/uwycdJf3xLxvVfkfDVqjkxNaYEo=";
};
}
];
hardware.amdgpu.opencl.enable = true;
boot.kernelParams = [ "amdgpu.ppfeaturemask=0xfff7ffff" "amdgpu.gpu_recovery=1" ];
services.openssh = {enable = true;};
networking = {
@ -55,7 +49,7 @@
enable = true;
displayManager.gdm.enable = true;
desktopManager.gnome.enable = true;
}
};
};
stylix = {
@ -107,9 +101,9 @@
};
};
hardware = {
graphics.enable32Bit = true;
};
#hardware = {
# graphics.enable32Bit = true;
#};
programs = {
zsh.enable = true;

View File

@ -1,31 +1,26 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
config,
lib,
pkgs,
modulesPath,
...
}: {
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod"];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
fileSystems."/" = {
device = "/dev/disk/by-uuid/aace1ae9-2a8f-4a90-9e0b-cb21779636d2";
fileSystems."/" =
{ device = "/dev/disk/by-label/nixos";
fsType = "btrfs";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/8D75-F095";
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/BB87-CC45";
fsType = "vfat";
options = ["fmask=0022" "dmask=0022"];
};
swapDevices = [ ];

View File

@ -4,7 +4,7 @@
inputs,
...
}: {
imports = [../home/home_common.nix ../home/gnone.nix];
imports = [../home/home_common.nix];
nixpkgs.config.allowUnfree = true;
home = {
packages = with pkgs; [