add oomd; swap back from tlp to power profiles; update resharper code; remove more mozilla bs

This commit is contained in:
2025-11-17 16:01:31 +00:00
parent 48c40f8124
commit 079ba8a9d5
6 changed files with 37 additions and 41 deletions

View File

@@ -6,6 +6,7 @@
./location-time.nix
./networking.nix
./nix-settings.nix
./oomd.nix
./pipewire.nix
./programs.nix
];

View File

@@ -0,0 +1,10 @@
{ ... }:
{
systemd.oomd = {
enable = true;
enableRootSlice = true;
enableSystemSlice = true;
enableUserSlices = true;
};
}

View File

@@ -1,20 +1,20 @@
{ ... }:
{
services.power-profiles-daemon.enable = false;
services.tlp = {
enable = true;
settings = {
RESTORE_DEVICE_STATE_ON_STARTUP = 1;
USB_AUTOSUSPEND = 0;
PLATFORM_PROFILE_ON_AC = "performance";
PLATFORM_PROFILE_ON_BAT = "low-power";
CPU_ENERGY_PERF_POLICY_ON_AC = "performance";
CPU_ENERGY_PERF_POLICY_ON_BAT = "balance_power";
CPU_BOOST_ON_AC = 1;
CPU_BOOST_ON_BAT = 0;
};
};
services.power-profiles-daemon.enable = true;
# services.tlp = {
# enable = true;
# settings = {
# RESTORE_DEVICE_STATE_ON_STARTUP = 1;
# USB_AUTOSUSPEND = 0;
# PLATFORM_PROFILE_ON_AC = "performance";
# PLATFORM_PROFILE_ON_BAT = "low-power";
# CPU_ENERGY_PERF_POLICY_ON_AC = "performance";
# CPU_ENERGY_PERF_POLICY_ON_BAT = "balance_power";
# CPU_BOOST_ON_AC = 1;
# CPU_BOOST_ON_BAT = 0;
# };
# };
# Enable touchpad support (enabled by default in most desktopManagers).
services.libinput.enable = true;

View File

@@ -66,11 +66,11 @@
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1762912605,
"narHash": "sha256-ekyaqHW6fidE5gAzO8zX+aXNMnb1O/kCsmEZ4n0PnMQ=",
"lastModified": 1763171608,
"narHash": "sha256-W0iHOP2SX8cKgmvLaAKodTa92YN8/6ptcuHd7SU0IZ0=",
"owner": "nix-community",
"repo": "nix-vscode-extensions",
"rev": "6110f762f238177ba231e8726fabcf4706c9c378",
"rev": "0f6a247888aae2de9ab6307471a9d72e7a7043f2",
"type": "github"
},
"original": {
@@ -95,29 +95,13 @@
"type": "github"
}
},
"nixpkgs-master": {
"locked": {
"lastModified": 1762981236,
"narHash": "sha256-+5mtk40MIILLdvoTw5gknZQTz+HQA36yrAeELY7Avxg=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "d3eef293ea180ef8b46c4b977c5b33cda61563ef",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "master",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1762844143,
"narHash": "sha256-SlybxLZ1/e4T2lb1czEtWVzDCVSTvk9WLwGhmxFmBxI=",
"lastModified": 1762977756,
"narHash": "sha256-4PqRErxfe+2toFJFgcRKZ0UI9NSIOJa+7RXVtBhy4KE=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "9da7f1cf7f8a6e2a7cb3001b048546c92a8258b4",
"rev": "c5ae371f1a6a7fd27823bc500d9390b38c05fa55",
"type": "github"
},
"original": {
@@ -129,11 +113,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1762756533,
"narHash": "sha256-HiRDeUOD1VLklHeOmaKDzf+8Hb7vSWPVFcWwaTrpm+U=",
"lastModified": 1763049705,
"narHash": "sha256-A5LS0AJZ1yDPTa2fHxufZN++n8MCmtgrJDtxFxrH4S8=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "c2448301fb856e351aab33e64c33a3fc8bcf637d",
"rev": "3acb677ea67d4c6218f33de0db0955f116b7588c",
"type": "github"
},
"original": {
@@ -150,7 +134,6 @@
"nix-index-database": "nix-index-database",
"nix-vscode-extensions": "nix-vscode-extensions",
"nixpkgs": "nixpkgs_2",
"nixpkgs-master": "nixpkgs-master",
"nixpkgs-unstable": "nixpkgs-unstable"
}
}

View File

@@ -3,7 +3,7 @@
let
openvsx = inputs.nix-vscode-extensions.extensions.x86_64-linux.open-vsx;
vscode-marketplace = inputs.nix-vscode-extensions.extensions.x86_64-linux.vscode-marketplace;
version = "0.0.13";
version = "0.0.14";
resharper-code = (pkgs.vscode-utils.buildVscodeMarketplaceExtension {
mktplcRef = {

View File

@@ -97,6 +97,8 @@
# AI
"browser.ml.chat.page" = false;
# AI tab groups
"browser.tabs.groups.smart.userEnabled" = false;
/* Arkenfox Begin */