From ec55ac55b27bbb8e2953934cd3d8c72bc83a71b1 Mon Sep 17 00:00:00 2001 From: kenji Date: Mon, 7 Jul 2025 14:42:02 -0500 Subject: [PATCH] mionr fix --- config.nix | 4 ++-- flake.nix | 2 -- home/hakase.nix | 1 + hosts/hakase/configuration.nix | 16 ++++++++-------- packages/firefox/home.nix | 24 ++---------------------- 5 files changed, 13 insertions(+), 34 deletions(-) diff --git a/config.nix b/config.nix index 044ecff..ba129b7 100644 --- a/config.nix +++ b/config.nix @@ -2,7 +2,7 @@ myConfig = { essentials = { # !!! replace it with your own, else system might malfunction. - Username = "lsoriano"; + Username = "kenji"; }; general = { Terminal = { @@ -16,7 +16,7 @@ }; nixos = { - Hostname = "nixos"; + Hostname = "hakase"; Timezone = "America/Chicago"; Boot = { diff --git a/flake.nix b/flake.nix index 9381932..6038fc8 100644 --- a/flake.nix +++ b/flake.nix @@ -51,8 +51,6 @@ }; args = mkArgs system; in { - # This is optional if you want per-system packages or apps - packages.default = pkgs.hello; }) // { nixosConfigurations = { diff --git a/home/hakase.nix b/home/hakase.nix index 96479da..8e873de 100644 --- a/home/hakase.nix +++ b/home/hakase.nix @@ -6,4 +6,5 @@ in { ../modules/home/terminal.nix ]; home.packages = info.myConfig.nixos.Apps.packages pkgs; + home.stateVersion = "25.05"; } diff --git a/hosts/hakase/configuration.nix b/hosts/hakase/configuration.nix index 762a889..a9debf9 100644 --- a/hosts/hakase/configuration.nix +++ b/hosts/hakase/configuration.nix @@ -39,7 +39,7 @@ enable32Bit = true; }; - i18.defaultLocale = "en_US.UTF-8"; + i18n.defaultLocale = "en_US.UTF-8"; time.timeZone = "${myConfig.nixos.Timezone}"; boot.loader = { @@ -84,11 +84,11 @@ alsa.support32Bit = true; pulse.enable = true; - lowLatency = { - enable = true; - quantum = 64; - rate = 48000; - }; + # lowLatency = { + # enable = true; + # quantum = 64; + # rate = 48000; + # }; }; }; # make pipewire realtime-capable @@ -108,9 +108,9 @@ enable = false; allowedTCPPorts = [22 80]; allowedUDPPorts = [53]; - proxy.default = null; - proxy.noProxy = null; }; + proxy.default = null; + proxy.noProxy = null; }; # networking.firewall.allowedTCPPorts = [ ... ]; # networking.firewall.allowedUDPPorts = [ ... ]; diff --git a/packages/firefox/home.nix b/packages/firefox/home.nix index a1946dc..38a9596 100644 --- a/packages/firefox/home.nix +++ b/packages/firefox/home.nix @@ -77,8 +77,7 @@ # Valid strings for installation_mode are "allowed", "blocked", # "force_installed" and "normal_installed". ExtensionSettings = { - "*".installation_mode = "blocked"; # blocks all addons except the ones specified below - # uBlock Origin: + "*".installation_mode = "blocked"; "uBlock0@raymondhill.net" = { install_url = "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi"; installation_mode = "force_installed"; @@ -100,27 +99,8 @@ # "{d634138d-c276-4fc8-924b-40a0ea21d284}" = { # install_url = "https://addons.mozilla.org/firefox/downloads/latest/1password-x-password-manager/latest.xpi"; # installation_mode = "force_installed"; + # }; }; }; - preferences = { - "browser.contentblocking.category" = "strict"; - "extensions.pocket.enabled" = false; - "extensions.screenshots.disabled" = true; - "browser.topsites.contile.enabled" = false; - "browser.formfill.enable" = false; - "browser.search.suggest.enabled" = false; - "browser.search.suggest.enabled.private" = false; - "browser.urlbar.suggest.searches" = false; - "browser.urlbar.showSearchSuggestionsFirst" = false; - "browser.newtabpage.activity-stream.feeds.section.topstories" = false; - "browser.newtabpage.activity-stream.feeds.snippets" = false; - "browser.newtabpage.activity-stream.section.highlights.includePocket" = false; - "browser.newtabpage.activity-stream.section.highlights.includeBookmarks" = false; - "browser.newtabpage.activity-stream.section.highlights.includeDownloads" = false; - "browser.newtabpage.activity-stream.section.highlights.includeVisited" = false; - "browser.newtabpage.activity-stream.showSponsored" = false; - "browser.newtabpage.activity-stream.system.showSponsored" = false; - "browser.newtabpage.activity-stream.showSponsoredTopSites" = false; - }; }; }