feat: redesign, with onedark theme

This commit is contained in:
Zhongheng Liu 2025-02-26 13:53:41 +02:00
commit 19e72eedb7
Signed by: steven
GPG key ID: 805A28B071DAD84B
12 changed files with 71 additions and 50 deletions

View file

@ -8,6 +8,8 @@ let
"www"
"blog"
"files"
"code"
"chat"
];
in
{

View file

@ -1,19 +1,18 @@
{ config
, lib
, pkgs
, ...
}: {
specialisation = {
powersave.configuration = {
hardware.nvidia.prime = {
offload = {
enable = lib.mkForce true;
enableOffloadCmd = lib.mkForce true;
};
sync.enable = lib.mkForce false;
};
};
};
#specialisation = {
# powersave.configuration = {
# hardware.nvidia.prime = {
# offload = {
# enable = lib.mkForce true;
# enableOffloadCmd = lib.mkForce true;
# };
# sync.enable = lib.mkForce false;
# };
# };
#};
boot.kernelModules = [ "nvidia_uvm" ];
hardware.graphics = {
enable = true;

View file

@ -8,7 +8,7 @@
./printing.service.nix
./tailscale.service.nix
./power_management.service.nix
./seatd.service.nix
#./seatd.service.nix
./logind.service.nix
#./mpd.service.nix
];

View file

@ -1,7 +1,7 @@
{ ... }: {
specialisation.powersave.configuration = {
services.auto-cpufreq.enable = true;
};
#specialisation.powersave.configuration = {
# services.auto-cpufreq.enable = true;
#};
services = {
upower.enable = true;
udisks2.enable = true;

View file

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }: {
{ pkgs, lib, ... }: {
specialisation = {
wayland = {
configuration = {
@ -16,9 +16,9 @@
services.xserver.displayManager.startx.enable = true;
}
(import ./dwm {
inherit config;
#inherit config;
inherit pkgs;
inherit lib;
#inherit lib;
});
};
};