nixos/machines/stella/default.nix

43 lines
803 B
Nix
Raw Normal View History

{ config, pkgs, lib, ... }:
let
my = import ../..;
in {
imports = [
./hardware.nix
my.modules
];
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "stella";
my.laptop.enable = true;
my.git.enable = true;
my.roles = {
design.enable = true;
devel.enable = true;
gaming.enable = true;
graphical.enable = true;
latex.enable = false;
media-client.enable = true;
torrent.enable = true;
virtualisation.enable = true;
yggdrasil-client.enable = true;
};
services.xserver.videoDrivers=["amdgpu"];
boot.initrd.kernelModules=["amdgpu"];
powerManagement = {
enable = true;
cpuFreqGovernor = "ondemand";
};
networking.useDHCP = true;
system.stateVersion = "23.05";
}