Split config

This commit is contained in:
Paul-Henri Froidmont 2020-02-21 01:23:10 +01:00
parent 38337e482a
commit 34fbb0f945
14 changed files with 312 additions and 289 deletions

View file

@ -0,0 +1,34 @@
{ config, lib, pkgs, ... }:
{
imports = [
./hardware-configuration.nix
../../configs/system.nix
../../configs/user.nix
];
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"];
environment.systemPackages = with pkgs; [
];
}