mirror of
https://github.com/Dichgrem/DCGOS.git
synced 2026-02-05 05:41:57 -05:00
fix:amd-pstate-epp
add:embedded style:misc
This commit is contained in:
2
dotfiles/.config/niri/config.kdl
vendored
2
dotfiles/.config/niri/config.kdl
vendored
@@ -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 "fcitx5" "-d" "-r"
|
||||||
spawn-at-startup "nm-applet"
|
spawn-at-startup "nm-applet"
|
||||||
spawn-at-startup "blueman-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 "swayosd-server"
|
||||||
spawn-at-startup "swww-daemon"
|
spawn-at-startup "swww-daemon"
|
||||||
spawn-at-startup "swww" "img" "$HOME/Git/DCGOS/dotfiles/.local/share/wallpapers/yohoho.jpg"
|
spawn-at-startup "swww" "img" "$HOME/Git/DCGOS/dotfiles/.local/share/wallpapers/yohoho.jpg"
|
||||||
spawn-at-startup "swww" "restore"
|
spawn-at-startup "swww" "restore"
|
||||||
spawn-at-startup "waybar"
|
spawn-at-startup "waybar"
|
||||||
spawn-at-startup "lxqt-policykit-agent"
|
|
||||||
|
|
||||||
window-rule {
|
window-rule {
|
||||||
block-out-from "screen-capture"
|
block-out-from "screen-capture"
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
{pkgs, ...}: {
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
tsukimi
|
|
||||||
];
|
|
||||||
}
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
{pkgs, ...}: {
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
syncthing
|
|
||||||
];
|
|
||||||
}
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
{pkgs, ...}: {
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
lxqt.lxqt-policykit
|
|
||||||
];
|
|
||||||
}
|
|
||||||
21
home/wayland/polkit-agent.nix
Normal file
21
home/wayland/polkit-agent.nix
Normal 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"];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -49,7 +49,6 @@
|
|||||||
# See: https://wiki.hyprland.org/Configuring/Monitors
|
# See: https://wiki.hyprland.org/Configuring/Monitors
|
||||||
MonitorSettings = "
|
MonitorSettings = "
|
||||||
monitor=eDP-1, 2560x1600@165, 0x0, 1.25
|
monitor=eDP-1, 2560x1600@165, 0x0, 1.25
|
||||||
monitor=DP-1, 2560x1440@144, 2560x0, 1.25
|
|
||||||
";
|
";
|
||||||
|
|
||||||
# -------------------- Software --------------------
|
# -------------------- Software --------------------
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ in
|
|||||||
};
|
};
|
||||||
kernelModules = ["v4l2loopback"]; # v4l2loopback is for OBS Virtual Cam Support
|
kernelModules = ["v4l2loopback"]; # v4l2loopback is for OBS Virtual Cam Support
|
||||||
kernelPackages = pkgs.${KernelPackages};
|
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 = {
|
loader = {
|
||||||
grub = mkIf (strings.hasInfix "grub" BootLoader) {
|
grub = mkIf (strings.hasInfix "grub" BootLoader) {
|
||||||
configurationLimit = 50;
|
configurationLimit = 50;
|
||||||
@@ -101,15 +101,13 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
dhcpcd.extraConfig = "nohook resolv.conf";
|
|
||||||
firewall.enable = false;
|
firewall.enable = false;
|
||||||
hostName = hostname;
|
hostName = hostname;
|
||||||
nameservers = ["127.0.0.1" "::1"];
|
nameservers = ["8.8.8.8" "1.1.1.1"];
|
||||||
networkmanager = {
|
networkmanager = {
|
||||||
dns = "none";
|
dns = "none";
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
resolvconf.enable = mkForce false;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
security = {
|
security = {
|
||||||
|
|||||||
@@ -52,10 +52,11 @@ in {
|
|||||||
curl
|
curl
|
||||||
wget
|
wget
|
||||||
aria2
|
aria2
|
||||||
|
syncthing
|
||||||
yt-dlp
|
yt-dlp
|
||||||
openssl
|
openssl
|
||||||
|
|
||||||
#Android
|
# Android
|
||||||
xxd
|
xxd
|
||||||
file
|
file
|
||||||
binwalk
|
binwalk
|
||||||
@@ -63,6 +64,14 @@ in {
|
|||||||
android-tools
|
android-tools
|
||||||
payload-dumper-go
|
payload-dumper-go
|
||||||
|
|
||||||
|
# Embedded
|
||||||
|
scons
|
||||||
|
openocd
|
||||||
|
stlink
|
||||||
|
stlink-tool
|
||||||
|
gcc-arm-embedded
|
||||||
|
tio
|
||||||
|
|
||||||
# Misc
|
# Misc
|
||||||
tree
|
tree
|
||||||
libnotify
|
libnotify
|
||||||
@@ -100,6 +109,10 @@ in {
|
|||||||
# Agent
|
# Agent
|
||||||
opencode
|
opencode
|
||||||
gemini-cli-bin
|
gemini-cli-bin
|
||||||
|
|
||||||
|
# Blog
|
||||||
|
zola
|
||||||
|
pagefind
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user