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