72 lines
1.6 KiB
Nix
72 lines
1.6 KiB
Nix
{ config, pkgs, ... }:
|
|
{
|
|
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 = {
|
|
LC_ADDRESS = "he_IL.UTF-8";
|
|
LC_IDENTIFICATION = "he_IL.UTF-8";
|
|
LC_MEASUREMENT = "he_IL.UTF-8";
|
|
LC_MONETARY = "he_IL.UTF-8";
|
|
LC_NAME = "he_IL.UTF-8";
|
|
LC_NUMERIC = "he_IL.UTF-8";
|
|
LC_PAPER = "he_IL.UTF-8";
|
|
LC_TELEPHONE = "he_IL.UTF-8";
|
|
LC_TIME = "he_IL.UTF-8";
|
|
};
|
|
|
|
# X11 + i3 (no GNOME)
|
|
services.xserver = {
|
|
enable = true;
|
|
windowManager.i3.enable = true;
|
|
displayManager.lightdm.enable = true;
|
|
xkb = {
|
|
layout = "us";
|
|
variant = "";
|
|
};
|
|
};
|
|
|
|
# Sound
|
|
security.rtkit.enable = true;
|
|
services.pulseaudio.enable = false;
|
|
services.pipewire = {
|
|
enable = true;
|
|
alsa.enable = true;
|
|
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;
|
|
users.laniakea = import ./navi/default.nix;
|
|
};
|
|
|
|
programs.firefox.enable = true;
|
|
nixpkgs.config.allowUnfree = true;
|
|
environment.systemPackages = with pkgs; [ git ];
|
|
|
|
|
|
}
|