desktop-2024-10-02-10-24-49
This commit is contained in:
@ -28,7 +28,7 @@ in
|
||||
../../configs/user.nix
|
||||
];
|
||||
|
||||
chaotic.mesa-git.enable = true;
|
||||
# chaotic.mesa-git.enable = true;
|
||||
|
||||
sops = {
|
||||
defaultSopsFile = ../../secrets.yaml;
|
||||
@ -67,21 +67,19 @@ in
|
||||
};
|
||||
|
||||
kernelPackages = pkgs.linuxPackages_cachyos;
|
||||
extraModulePackages = with pkgs.linuxPackages_cachyos; [ it87 ];
|
||||
# kernelPackages = pkgs.linuxPackages_6_9;
|
||||
# extraModulePackages = with pkgs.linuxPackages_6_9; [ it87 ];
|
||||
kernelModules = [ "it87" ];
|
||||
kernelParams = [ "amdgpu.ppfeaturemask=0xffffffff" ];
|
||||
# extraModulePackages = with pkgs.linuxPackages_cachyos; [ it87 ];
|
||||
kernelModules = [ "nct6775" ];
|
||||
# kernelParams = [ "amdgpu.ppfeaturemask=0xffffffff" ];
|
||||
};
|
||||
|
||||
systemd.services = {
|
||||
monitor = {
|
||||
description = "AMDGPU Control Daemon";
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
after = [ "multi-user.target" ];
|
||||
serviceConfig = { ExecStart = "${pkgs.lact}/bin/lact daemon"; };
|
||||
};
|
||||
};
|
||||
# systemd.services = {
|
||||
# monitor = {
|
||||
# description = "AMDGPU Control Daemon";
|
||||
# wantedBy = [ "multi-user.target" ];
|
||||
# after = [ "multi-user.target" ];
|
||||
# serviceConfig = { ExecStart = "${pkgs.lact}/bin/lact daemon"; };
|
||||
# };
|
||||
# };
|
||||
|
||||
networking = {
|
||||
hostName = "desktop";
|
||||
@ -104,9 +102,9 @@ in
|
||||
|
||||
clinfo
|
||||
|
||||
fan2go
|
||||
# fan2go
|
||||
|
||||
unigine-superposition
|
||||
# unigine-superposition
|
||||
];
|
||||
|
||||
hardware = {
|
||||
@ -140,7 +138,15 @@ in
|
||||
pulseaudio.enable = false;
|
||||
};
|
||||
|
||||
programs.coolercontrol.enable = true;
|
||||
programs = {
|
||||
coolercontrol.enable = true;
|
||||
corectrl = {
|
||||
enable = true;
|
||||
# gpuOverclock.ppfeaturemask
|
||||
gpuOverclock.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
services = {
|
||||
power-profiles-daemon.enable = true;
|
||||
|
@ -1,4 +1,8 @@
|
||||
# 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, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[
|
||||
@ -11,29 +15,26 @@
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/d43faf8e-ec90-4735-a1a4-aff6897604b2";
|
||||
device = "/dev/disk/by-uuid/593a3e75-5479-4ee4-9797-d453c8841f8e";
|
||||
options = [ "discard" ];
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/mnt/data" = {
|
||||
device = "/dev/disk/by-uuid/441a7d92-c3eb-4867-81c7-4e1dc3a1c54d";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
boot.initrd.luks.devices."luks-ba8eb308-e85f-4cee-9993-88c5ba0966ea" = {
|
||||
device = "/dev/disk/by-uuid/ba8eb308-e85f-4cee-9993-88c5ba0966ea";
|
||||
boot.initrd.luks.devices."nixos" = {
|
||||
device = "/dev/disk/by-uuid/56c16ba5-1a5f-4364-a663-6d924810f7e9";
|
||||
allowDiscards = true;
|
||||
};
|
||||
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-uuid/1838-7DA8";
|
||||
device = "/dev/disk/by-uuid/28F0-919C";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0022" "dmask=0022" ];
|
||||
};
|
||||
|
||||
swapDevices = [ ];
|
||||
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
}
|
||||
|
Reference in New Issue
Block a user