mirror of
https://github.com/ivabus/nixos
synced 2024-11-10 10:35:17 +03:00
41 lines
720 B
Nix
41 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";
|
|
}
|
|
|