nixos-configs/hosts/nixos-desktop/configuration.nix
2021-03-19 00:10:32 +01:00

60 lines
1.3 KiB
Nix

{ config, lib, pkgs, ... }:
{
imports = [
<home-manager/nixos>
./hardware-configuration.nix
../../configs/system.nix
../../configs/network.nix
../../configs/virtualisation.nix
../../configs/games.nix
];
home-manager.users.froidmpa = {pkgs, config, ...}: {
imports = [
../../configs/home/full.nix
];
programs.git = {
enable = true;
userName = "Paul-Henri Froidmont";
userEmail = "git.contact-57n2p@froidmont.org";
};
};
hardware.opengl.extraPackages = with pkgs; [
rocm-opencl-icd
rocm-opencl-runtime
];
environment.systemPackages = with pkgs; [
eid-mw
];
fileSystems."/home/froidmpa/Nextcloud" = {
device = "/dev/disk/by-uuid/a4ba8b21-ea33-4487-b6f6-9bb7470a0acb";
fsType = "ext4";
};
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "nixos-desktop";
networking.interfaces.enp31s0.useDHCP = true;
console = {
font = "Lat2-Terminus16";
keyMap = "fr";
};
i18n = {
defaultLocale = "en_US.UTF-8";
};
time.timeZone = "Europe/Amsterdam";
services.xserver.videoDrivers = ["amdgpu"];
services.sshd.enable = true;
services.pcscd.enable = true;
system.stateVersion = "19.09";
}