70 lines
1.5 KiB
Nix
70 lines
1.5 KiB
Nix
{ config, lib, pkgs, ... }:
|
|
{
|
|
imports = [
|
|
./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";
|
|
signing = {
|
|
key = "3AC6F170F01133CE393BCD94BE948AFD7E7873BE";
|
|
signByDefault = true;
|
|
};
|
|
};
|
|
};
|
|
|
|
hardware.opengl = {
|
|
driSupport = true;
|
|
driSupport32Bit = true;
|
|
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;
|
|
|
|
# Allow to externally control MPD
|
|
networking.firewall.allowedTCPPorts = [ 6600 ];
|
|
|
|
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";
|
|
}
|