firefox config

This commit is contained in:
itamar 2026-04-11 08:37:04 +03:00
parent 4bbdb92401
commit 6a4bf43560
No known key found for this signature in database
GPG key ID: D8277CDCD4F544E9
8 changed files with 468 additions and 59 deletions

View file

@ -1,18 +1,13 @@
{ config, pkgs, ... }:
{ config, pkgs, firefox-addons, ... }:
{
imports = [
./hardware-configuration.nix
];
# Bootloader
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
programs.dconf.enable = true;
# Hostname
networking.hostName = "navi";
networking.networkmanager.enable = true;
# Timezone & locale
time.timeZone = "Asia/Jerusalem";
i18n.defaultLocale = "en_IL";
i18n.extraLocaleSettings = {
@ -26,8 +21,6 @@
LC_TELEPHONE = "he_IL.UTF-8";
LC_TIME = "he_IL.UTF-8";
};
# X11 + i3 (no GNOME)
services.xserver = {
enable = true;
windowManager.i3.enable = true;
@ -37,8 +30,6 @@
variant = "";
};
};
# Sound
security.rtkit.enable = true;
services.pulseaudio.enable = false;
services.pipewire = {
@ -47,26 +38,19 @@
alsa.support32Bit = true;
pulse.enable = true;
};
services.printing.enable = true;
# User
users.users.laniakea = {
isNormalUser = true;
description = "laniakea";
extraGroups = [ "networkmanager" "wheel" ];
};
# home-manager as NixOS module
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = { inherit firefox-addons; };
users.laniakea = import ./navi/default.nix;
};
programs.firefox.enable = true;
nixpkgs.config.allowUnfree = true;
environment.systemPackages = with pkgs; [ git ];
}