separate into machine and user specific profiles

This commit is contained in:
atagen 2022-08-18 20:38:00 +10:00
parent 7d9fe63a4a
commit 3849967624
6 changed files with 95 additions and 49 deletions

21
system/adrift.nix Normal file
View file

@ -0,0 +1,21 @@
{ config, pkgs, ... }:
{
networking.hostName = "adrift"; # Define your hostname.
services.xserver.videoDrivers = [ "i915" ];
users.users.plank = {
isNormalUser = true;
extraGroups = [ "wheel" ];
};
fileSystems."/" = {
device = "/dev/mapper/nix-os";
fsType = "ext4";
};
fileSystems."/home" = {
device = "/dev/mapper/nix-home";
fsType = "ext4";
};
}