mirror of
https://github.com/ivabus/nixos
synced 2024-11-26 02:05:06 +03:00
Ivan Bushchik
f916ffb2b4
Untested VF2 config, basic "user", option to enable users, option to enable git, basic graphics role, unfinished `router` role, global features Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
38 lines
756 B
Nix
38 lines
756 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.git.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;
|
|
};
|
|
|
|
my.users = {
|
|
ivabus.enable = true;
|
|
user.enable = false;
|
|
};
|
|
|
|
my.features.secrets = true;
|
|
|
|
networking.useDHCP = true;
|
|
|
|
services.xserver.videoDrivers = [ "amdgpu" ];
|
|
boot.initrd.kernelModules = [ "amdgpu" ];
|
|
|
|
system.stateVersion = "23.05";
|
|
}
|
|
|