mirror of
https://github.com/ivabus/nixos
synced 2024-11-15 04:55:08 +03:00
34 lines
606 B
Nix
34 lines
606 B
Nix
|
|
||
|
{ config, pkgs, ... }:
|
||
|
|
||
|
let
|
||
|
my = import ../..;
|
||
|
in {
|
||
|
imports = [
|
||
|
./hardware.nix
|
||
|
my.modules
|
||
|
];
|
||
|
|
||
|
boot.loader.systemd-boot.enable = true;
|
||
|
boot.loader.efi.canTouchEfiVariables = true;
|
||
|
|
||
|
networking.hostName = "vetus";
|
||
|
|
||
|
my.laptop.enable = false;
|
||
|
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"];
|
||
|
|
||
|
system.stateVersion = "23.05";
|
||
|
}
|
||
|
|