nixos/machines/stella/default.nix
Ivan Bushchik f9d23bbb12
Add DoT, networkd
Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
2023-08-23 10:36:32 +03:00

40 lines
720 B
Nix

{ 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.roles = {
design.enable = true;
devel.enable = true;
gaming.enable = true;
graphical.enable = true;
latex.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";
}