72 lines
1.4 KiB
Nix
72 lines
1.4 KiB
Nix
|
{
|
||
|
lib,
|
||
|
pkgs,
|
||
|
...
|
||
|
}: let
|
||
|
inherit (lib.marleyos) enabled;
|
||
|
in {
|
||
|
imports = [./hardware-configuration.nix ./autorandr.nix];
|
||
|
|
||
|
boot.loader.systemd-boot.enable = true;
|
||
|
boot.loader.efi.canTouchEfiVariables = true;
|
||
|
|
||
|
networking.hostName = "nyx";
|
||
|
|
||
|
networking.networkmanager.enable = true;
|
||
|
|
||
|
time.timeZone = "America/Los_Angeles";
|
||
|
|
||
|
i18n.defaultLocale = "en_US.UTF-8";
|
||
|
|
||
|
i18n.extraLocaleSettings = {
|
||
|
LC_ADDRESS = "en_US.UTF-8";
|
||
|
LC_IDENTIFICATION = "en_US.UTF-8";
|
||
|
LC_MEASUREMENT = "en_US.UTF-8";
|
||
|
LC_MONETARY = "en_US.UTF-8";
|
||
|
LC_NAME = "en_US.UTF-8";
|
||
|
LC_NUMERIC = "en_US.UTF-8";
|
||
|
LC_PAPER = "en_US.UTF-8";
|
||
|
LC_TELEPHONE = "en_US.UTF-8";
|
||
|
LC_TIME = "en_US.UTF-8";
|
||
|
};
|
||
|
|
||
|
hardware.pulseaudio.enable = false;
|
||
|
security.rtkit.enable = true;
|
||
|
|
||
|
services = {
|
||
|
xserver = {
|
||
|
enable = true;
|
||
|
|
||
|
displayManager.lightdm.enable = true;
|
||
|
desktopManager.deepin.enable = true;
|
||
|
|
||
|
xkb = {
|
||
|
layout = "us";
|
||
|
variant = "";
|
||
|
};
|
||
|
};
|
||
|
|
||
|
printing.enable = true;
|
||
|
|
||
|
pipewire = {
|
||
|
enable = true;
|
||
|
alsa.enable = true;
|
||
|
pulse.enable = true;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
users.users.marley = {
|
||
|
isNormalUser = true;
|
||
|
description = "Marley Rae";
|
||
|
extraGroups = ["networkmanager" "wheel"];
|
||
|
};
|
||
|
|
||
|
programs.firefox.enable = true;
|
||
|
|
||
|
nixpkgs.config.allowUnfree = true;
|
||
|
|
||
|
environment.systemPackages = [pkgs.vim pkgs.git];
|
||
|
|
||
|
system.stateVersion = "24.05";
|
||
|
}
|