marleyos/systems/x86_64-linux/nyx/default.nix

55 lines
1,012 B
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;
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";
}