mirror of
https://github.com/ivabus/nixos
synced 2024-11-14 04:25:07 +03:00
37 lines
668 B
Nix
37 lines
668 B
Nix
|
|
||
|
{ config, pkgs, ... }:
|
||
|
|
||
|
{
|
||
|
nix = {
|
||
|
package = pkgs.nixUnstable;
|
||
|
extraOptions = ''
|
||
|
experimental-features = nix-command flakes
|
||
|
'';
|
||
|
};
|
||
|
|
||
|
boot.loader.systemd-boot.enable = true;
|
||
|
boot.loader.efi.canTouchEfiVariables = true;
|
||
|
|
||
|
networking.hostName = "stella";
|
||
|
time.timeZone = "Europe/Moscow";
|
||
|
|
||
|
services.xserver.videoDrivers=["amdgpu"];
|
||
|
boot.initrd.kernelModules=["amdgpu"];
|
||
|
|
||
|
services.openssh = {
|
||
|
enable = true;
|
||
|
settings.PasswordAuthentication = false;
|
||
|
};
|
||
|
|
||
|
services.dbus.enable = true;
|
||
|
fonts.fonts = with pkgs; [
|
||
|
noto-fonts
|
||
|
noto-fonts-cjk
|
||
|
noto-fonts-emoji
|
||
|
jetbrains-mono
|
||
|
];
|
||
|
|
||
|
system.stateVersion = "23.05";
|
||
|
}
|
||
|
|