Remove unused configurations and packages from laptop setup

- Removed USBGuard configuration and its associated comments from configuration.nix.
- Cleaned up flake.nix by removing unnecessary overlays.
- Updated home.nix to remove references to Helium and Proton, and added Steam.
- Deleted secrets.default.nix and secrets.secrets.yaml files for security reasons.
- Removed Omen laptop specific configuration from omen.nix.
- Deleted vencord.nix as it is no longer needed.
This commit is contained in:
2026-06-23 22:23:40 +02:00
parent d22689f3b6
commit 4e28ca9b48
21 changed files with 209 additions and 438 deletions
+31 -16
View File
@@ -4,19 +4,13 @@
pkgs-nur-hadi,
...
}: {
home.packages = with pkgs-stable; [
vlc # Video player
home.packages = (with pkgs-stable; [
vlc # Video player
obsidian # Note taking app
textpieces # Manipulate texts
resources # Ressource monitor
gnome-clocks # Clocks app
gnome-text-editor # Basic graphic text editor
ticktick # Todo app
pinta # Image editor
switcheroo # Convert images between different formats
onlyoffice-desktopeditors # Office suite
blanket # Listen to different sounds
signal-desktop # Messaging app
librewolf # Backup browser
# I love TUIs
@@ -27,19 +21,40 @@
tealdeer # Fast tldr client
sttr # Minimalist "cyberchef" like. Cross-platform, cli app to perform various operations on string
wiremix # Simple TUI mixer for PipeWire
slides # A terminal-based presentation tool that allows you to create and deliver presentations directly from the command line
pom # Pomodoro timer in your terminal
pkgs.wifitui # TUI for managing wifi
pkgs-nur-hadi.usbguard-tui # TUI for managing USBGuard rules
pkgs-nur-hadi.sheets # Terminal based spreadsheet tool
# I love CLIs
httpie # Command-line HTTP client, a user-friendly cURL replacement
gh # GitHub
gh-dash # A terminal dashboard for GitHub
figlet # Transform text into ASCII art
pastel # Command-line tool to generate, analyze, convert and manipulate colors
imagemagick # Image manipulation tool
chafa # Image to ANSI/Unicode converter and more.
];
/*
Disabled
resources # Ressource monitor
textpieces # Manipulate texts
gnome-clocks # Clocks app
gnome-text-editor # Basic graphic text editor
pinta # Image editor
switcheroo # Convert images between different formats
signal-desktop # Messaging app
blanket # Listen to different sounds
gh # GitHub
gh-dash # A terminal dashboard for GitHub
figlet # Transform text into ASCII art
pkgs-nur-hadi.sheets # Terminal based spreadsheet tool
slides # A terminal-based presentation tool that allows you to create and deliver presentations directly from the command line
*/
])
++ (with pkgs; [
vencord # Vencord Discord Mod
]);
}
+7 -5
View File
@@ -4,14 +4,16 @@
}:
(with pkgs; [
go
#claude-code
zig
zed-editor #Zed
vscodium # VS Code
])
++ (with pkgs-stable; [
nodejs
air
duckdb
bun
python3
jq
nix-prefetch-github
rsync
rustc
cargo
])
-3
View File
@@ -5,12 +5,9 @@
...
}: {
home.packages = with pkgs-stable; [
tty-solitaire
bastet
peaclock
cbonsai
pipes
cmatrix
fastfetch
];
}
-51
View File
@@ -1,51 +0,0 @@
{ config, pkgs, lib, ... }:
let
librewolfPkg = pkgs.librewolf;
in {
programs.librewolf = {
enable = true;
package = librewolfPkg;
profiles.default = {
isDefault = true;
settings = {
# UI / behavior
"browser.startup.homepage" = "https://duckduckgo.com";
"browser.newtabpage.enabled" = false;
# Privacy baseline (LibreWolf already hardens most of this)
"privacy.resistFingerprinting" = true;
"privacy.trackingprotection.enabled" = true;
# Disable telemetry completely
"toolkit.telemetry.enabled" = false;
"toolkit.telemetry.unified" = false;
# Network / DNS (optional redundancy with policies)
"network.trr.mode" = 3;
"network.trr.uri" = "https://dns.quad9.net/dns-query";
# UI behavior
"browser.tabs.warnOnClose" = false;
"browser.quitShortcut.disabled" = true;
# Security tightening
"dom.event.clipboardevents.enabled" = false;
"geo.enabled" = false;
"media.autoplay.default" = 5;
};
extensions.packages = with pkgs.nur.repos.rycee.firefox-addons; [
ublock-origin
firefox-multi-account-containers
noscript
];
};
};
# Make LibreWolf default browser
home.sessionVariables.BROWSER = "${librewolfPkg}/bin/librewolf";
}
-75
View File
@@ -1,75 +0,0 @@
{ ... }: {
programs.librewolf = {
enable = true;
policies = {
# -----------------------
# Privacy / telemetry
# -----------------------
DisableTelemetry = true;
DisableFirefoxStudies = true;
DisablePocket = true;
# -----------------------
# Accounts / sync
# -----------------------
OfferToSaveLogins = false;
PasswordManagerEnabled = false;
SyncDisabled = true;
# -----------------------
# Security baseline
# -----------------------
DefaultCookiesSetting = 1;
DefaultGeolocationSetting = 2;
DefaultNotificationsSetting = 2;
DefaultPopupsSetting = 2;
# -----------------------
# DNS over HTTPS
# -----------------------
DNSOverHTTPS = {
Enabled = true;
ProviderURL = "https://dns.quad9.net/dns-query";
Locked = true;
};
# -----------------------
# Search engine
# -----------------------
SearchEngines = {
Default = "Startpage";
PreventInstalls = true;
};
# -----------------------
# UI restrictions
# -----------------------
Homepage = {
URL = "https://duckduckgo.com";
StartPage = "homepage";
};
ShowHomeButton = false;
BookmarkBar = false;
# -----------------------
# Extensions (optional enforcement)
# -----------------------
ExtensionSettings = {
"uBlock0@raymondhill.net" = {
installation_mode = "force_installed";
};
"multi-account-containers@mozilla.org" = {
installation_mode = "force_installed";
};
"{73a6fe31-595d-460b-a920-fcc0f8843232}" = {
installation_mode = "force_installed"; # NoScript
};
};
};
};
}
+5 -5
View File
@@ -53,12 +53,12 @@ in {
{
key = "c";
desc = "Proton Calendar";
cmd = "${config.programs.helium.package}/bin/helium 'https://calendar.proton.me/'";
cmd = "${config.programs.librewolf.package}/bin/helium 'https://calendar.proton.me/'";
}
{
key = "m";
desc = "Proton Mail";
cmd = "${config.programs.helium.package}/bin/helium 'https://mail.proton.me/'";
cmd = "${config.programs.librewolf.package}/bin/helium 'https://mail.proton.me/'";
}
{
key = "o";
@@ -78,17 +78,17 @@ in {
{
key = "b";
desc = "Helium";
cmd = "${config.programs.helium.package}/bin/helium";
cmd = "${config.programs.librewolf.package}/bin/helium";
}
{
key = "i";
desc = "Helium (Incognito)";
cmd = "${config.programs.helium.package}/bin/helium --incognito";
cmd = "${config.programs.librewolf.package}/bin/helium --incognito";
}
])
)
"$mod,B, exec, uwsm app -- ${config.programs.helium.package}/bin/helium" # Browser
"$mod,B, exec, uwsm app -- ${config.programs.librewolf.package}/bin/helium" # Browser
# Power
"$mod, X, global, caelestia:session" # Powermenu