add lact overclocking, temp. remove plasmasettings

This commit is contained in:
Mohamed Chrayed 2024-08-01 14:55:57 +02:00
parent 8a9e81bd41
commit 2b051967e1
5 changed files with 20 additions and 8 deletions

View File

@ -81,11 +81,11 @@
},
"nixpkgs-stable": {
"locked": {
"lastModified": 1722506975,
"narHash": "sha256-098BpiPgO7EJHKL5SvD6c2Vc9W+5U80IyT9BeFCdCgQ=",
"lastModified": 1722516473,
"narHash": "sha256-5b/lZtNQxzmIxAamwpbzd8tnHBbuW6IOhrsvRd3CiUQ=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "ea78fb1b6ddff324c86e70438e8d9808d6c17f29",
"rev": "4e07e481263f7205dcbac13b3a51bf18876c7fd4",
"type": "github"
},
"original": {

View File

@ -3,7 +3,7 @@
{
imports = [
./user/userpkgs.nix
./user/plasma.nix
#./user/plasma.nix
];
home.username = "mo";
home.homeDirectory = "/home/mo";

View File

@ -1,4 +1,4 @@
{ config, pkgs, pkgs-stable, ... }:
{ config, lib, pkgs, pkgs-stable, ... }:
{
services.fwupd.enable = true;
services.printing.enable = true;
@ -17,4 +17,18 @@
device = "/var/lib/swapfile";
size = 16*1024;
} ];
# GPU Overcloking
environment.systemPackages = with pkgs; [
lact
];
systemd.services.lact = {
description = "AMDGPU Control Daemon";
after = ["multi-user.target"];
wantedBy = ["multi-user.target"];
serviceConfig = {
ExecStart = "${pkgs.lact}/bin/lact daemon";
};
enable = true;
};
}

View File

@ -7,8 +7,6 @@
environment.systemPackages =
(with pkgs; [
mangohud
lact
gpu-screen-recorder
])
++