78 lines
1.4 KiB
Nix
78 lines
1.4 KiB
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
<nixos-hardware/asus/rog-strix/g513im>
|
|
./hardware-configuration.nix
|
|
];
|
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
networking = {
|
|
hostName = "marauder";
|
|
networkmanager.enable = true;
|
|
};
|
|
|
|
time.timeZone = "America/Los_Angeles";
|
|
|
|
i18n.defaultLocale = "en_US.UTF-8";
|
|
|
|
users.users = {
|
|
nettika = {
|
|
isNormalUser = true;
|
|
extraGroups = [ "wheel" "networkmanager" ];
|
|
};
|
|
};
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
nano
|
|
git
|
|
lshw
|
|
firefox
|
|
vscode
|
|
];
|
|
|
|
hardware.opengl = {
|
|
enable = true;
|
|
driSupport32Bit = true;
|
|
};
|
|
|
|
#hardware.nvidia = {
|
|
# modesetting.enable = true;
|
|
# prime = {
|
|
# sync.enable = true;
|
|
# nvidiaBusId = "PCI:01:00:0";
|
|
# amdgpuBusId = "PCI:05:00:0";
|
|
# };
|
|
#};
|
|
|
|
services.xserver = {
|
|
enable = true;
|
|
#videoDrivers = ["nvidia" "amdgpu"];
|
|
desktopManager = {
|
|
cinnamon.enable = true;
|
|
xterm.enable = false;
|
|
};
|
|
};
|
|
|
|
services.displayManager.defaultSession = "cinnamon";
|
|
|
|
programs.steam = {
|
|
enable = true;
|
|
remotePlay.openFirewall = true;
|
|
dedicatedServer.openFirewall = true;
|
|
};
|
|
|
|
programs.nano = {
|
|
nanorc = ''
|
|
set autoindent
|
|
set linenumbers
|
|
'';
|
|
};
|
|
|
|
system.stateVersion = "24.05";
|
|
}
|