Compare commits

...

2 Commits

4 changed files with 52 additions and 17 deletions

View File

@@ -10,12 +10,12 @@
PLATFORM_PROFILE_ON_AC = "performance";
PLATFORM_PROFILE_ON_BAT = "low-power";
CPU_ENERGY_PERF_POLICY_ON_AC = "performance";
CPU_ENERGY_PERF_POLICY_ON_BAT = "power";
CPU_ENERGY_PERF_POLICY_ON_BAT = "balance_power";
CPU_BOOST_ON_AC = 1;
CPU_BOOST_ON_BAT = 0;
};
};
# Enable touchpad support (enabled default in most desktopManager).
# Enable touchpad support (enabled by default in most desktopManagers).
services.libinput.enable = true;
}

View File

@@ -85,11 +85,11 @@
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1760406799,
"narHash": "sha256-vK61Z2DhBMp3Y+FcqRqf1ZYkmcePXOQGJ0NGBzN7ys8=",
"lastModified": 1760493393,
"narHash": "sha256-a8PFspkUKhbnXqoy1XD66PLvHeP0dMkaEFOiSo0OV1U=",
"owner": "nix-community",
"repo": "nix-vscode-extensions",
"rev": "979e203b85cb5f15228c7fe3dfaf1964d6e50b9d",
"rev": "c7cfda7d93fecc526a75cfbd2ca3133d048472e0",
"type": "github"
},
"original": {
@@ -132,11 +132,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1760139962,
"narHash": "sha256-4xggC56Rub3WInz5eD7EZWXuLXpNvJiUPahGtMkwtuc=",
"lastModified": 1760423683,
"narHash": "sha256-Tb+NYuJhWZieDZUxN6PgglB16yuqBYQeMJyYBGCXlt8=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "7e297ddff44a3cc93673bb38d0374df8d0ad73e4",
"rev": "a493e93b4a259cd9fea8073f89a7ed9b1c5a1da2",
"type": "github"
},
"original": {

View File

@@ -34,6 +34,7 @@ in
ms-python.python
ms-python.debugpy
charliermarsh.ruff
# jetbrains.resharper-code won't work with nix lmao
]) ++ (with vscode-marketplace;[
bradlc.vscode-tailwindcss
]);

View File

@@ -1,67 +1,101 @@
{ tablet }:
{ tablet ? false }:
{
settings = {
# data privacy
"browser.discovery.enabled" = false;
"dom.security.https_only_mode" = true;
# no autofill
"extensions.formautofill.addresses.enabled" = false;
"extensions.formautofill.creditCards.enabled" = false;
# stop fonts
"browser.display.use_document_fonts" = 0;
# dont show about:config warning
"browser.aboutConfig.showWarning" = false;
# dont offer to save passwords
"signon.rememberSignons" = false;
# home page
"browser.startup.homepage" = "about:blank";
# blank new tab
"browser.newtabpage.enabled" = false;
# compact density
"browser.uidensity" = if tablet then 2 else 1;
# dont draw tabs in titlebar
"browser.tabs.drawInTitlebar" = false;
# autoscroll middleclick
"general.autoScroll" = true;
# dont paste on middlemouse
"middlemouse.paste" = false;
# userChrome
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
# dont draw tabs in titlebar
"browser.tabs.drawInTitlebar" = false;
# autoscroll middleclick
"general.autoScroll" = true;
# dont paste on middlemouse
"middlemouse.paste" = false;
# menu bar
"ui.key.menuAccessKeyFocuses" = false;
# use desktop file picker
"widget.use-xdg-desktop-portal.file-picker" = 1;
# sidebar at right
"sidebar.position_start" = false;
# new sidebar
"sidebar.revamp" = if tablet then true else false;
"sidebar.verticalTabs" = if tablet then true else false;
"browser.tabs.hoverPreview.enabled" = false;
"browser.tabs.hoverPreview.showThumbnails" = false;
"browser.tabs.groups.hoverPreview.enabled" = false;
# disable pocket
"extensions.pocket.enabled" = false;
# browser links should be new tab
"browser.link.open_newwindow.restriction" = 0;
# allow custom search enginers
"browser.urlbar.update2.engineAliasRefresh" = true;
# force enable hardware accel
"media.hardware-video-decoding.force-enabled" = true;
# vaapi
"media.ffmpeg.vaapi.enabled" = true;
# downloads ask to save or open
# downloads
# ask to save or open
"browser.download.always_ask_before_handling_new_types" = true;
# downloads always ask download location
# always ask download location
"browser.download.useDownloadDir" = false;
# download to tmp dir, NOT Downloads (seriously Mozilla?)
"browser.download.start_downloads_in_tmp_dir" = true;
# widevine
"browser.eme.ui.enabled" = false;
"media.eme.enabled" = false;
# media control keys
"media.hardwaremediakeys.enabled" = false;
# restore tabs on startup
"browser.startup.page" = 3;
# do not trim http
"browser.urlbar.trimURLs" = false;
# open in new tabs
"browser.tabs.loadBookmarksInTabs" = true;
"browser.search.openintab" = true;
"browser.urlbar.openintab" = true;
/* Arkenfox Begin */
/* 0320: disable recommendation pane in about:addons (uses Google Analytics) ***/