fix:amd-pstate-epp

add:embedded

style:misc
This commit is contained in:
dichgrem
2026-01-21 23:06:05 +08:00
parent a2485dca51
commit 9cf9516382
8 changed files with 37 additions and 23 deletions

View File

@@ -197,13 +197,11 @@ screenshot-path "~/Pictures/Screenshots/SCREENSHOT-%Y-%m-%d-%H:%M:%S.png"
spawn-at-startup "fcitx5" "-d" "-r"
spawn-at-startup "nm-applet"
spawn-at-startup "blueman-applet"
spawn-at-startup "sh" "-c" "dbus-update-activation-environment --systemd --all && systemctl --user stop niri-session.target && systemctl --user start niri-session.target"
spawn-at-startup "swayosd-server"
spawn-at-startup "swww-daemon"
spawn-at-startup "swww" "img" "$HOME/Git/DCGOS/dotfiles/.local/share/wallpapers/yohoho.jpg"
spawn-at-startup "swww" "restore"
spawn-at-startup "waybar"
spawn-at-startup "lxqt-policykit-agent"
window-rule {
block-out-from "screen-capture"

View File

@@ -1,5 +0,0 @@
{pkgs, ...}: {
home.packages = with pkgs; [
tsukimi
];
}

View File

@@ -1,5 +0,0 @@
{pkgs, ...}: {
home.packages = with pkgs; [
syncthing
];
}

View File

@@ -1,5 +0,0 @@
{pkgs, ...}: {
home.packages = with pkgs; [
lxqt.lxqt-policykit
];
}

View File

@@ -0,0 +1,21 @@
{pkgs, ...}: {
home.packages = with pkgs; [
polkit_gnome
];
systemd.user.services.polkit-gnome-authentication-agent = {
Unit = {
Description = "PolicyKit GNOME Authentication Agent";
PartOf = ["graphical-session.target"];
After = ["graphical-session.target"];
};
Service = {
ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
Restart = "on-failure";
Slice = "session.slice";
};
Install = {
WantedBy = ["graphical-session.target"];
};
};
}

View File

@@ -49,7 +49,6 @@
# See: https://wiki.hyprland.org/Configuring/Monitors
MonitorSettings = "
monitor=eDP-1, 2560x1600@165, 0x0, 1.25
monitor=DP-1, 2560x1440@144, 2560x0, 1.25
";
# -------------------- Software --------------------

View File

@@ -45,7 +45,7 @@ in
};
kernelModules = ["v4l2loopback"]; # v4l2loopback is for OBS Virtual Cam Support
kernelPackages = pkgs.${KernelPackages};
kernelParams = ["audit=0" "console=tty1" "erst_disable" "nmi_watchdog=0" "noatime" "nowatchdog"];
kernelParams = ["8250.nr_uarts=0" "8250.skip_txen_test=1" "i8042.nopnp" "amd_pstate=active" "audit=0" "console=tty1" "erst_disable" "nmi_watchdog=0" "noatime" "nowatchdog"];
loader = {
grub = mkIf (strings.hasInfix "grub" BootLoader) {
configurationLimit = 50;
@@ -101,15 +101,13 @@ in
};
networking = {
dhcpcd.extraConfig = "nohook resolv.conf";
firewall.enable = false;
hostName = hostname;
nameservers = ["127.0.0.1" "::1"];
nameservers = ["8.8.8.8" "1.1.1.1"];
networkmanager = {
dns = "none";
enable = true;
};
resolvconf.enable = mkForce false;
};
security = {

View File

@@ -52,6 +52,7 @@ in {
curl
wget
aria2
syncthing
yt-dlp
openssl
@@ -63,6 +64,14 @@ in {
android-tools
payload-dumper-go
# Embedded
scons
openocd
stlink
stlink-tool
gcc-arm-embedded
tio
# Misc
tree
libnotify
@@ -100,6 +109,10 @@ in {
# Agent
opencode
gemini-cli-bin
# Blog
zola
pagefind
];
};