mirror of
https://github.com/ivabus/nixos
synced 2024-11-25 09:55:05 +03:00
42 lines
803 B
Nix
42 lines
803 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.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";
|
|
}
|