Minor reformatting & refactor

This commit is contained in:
Henrik Lissner 2020-04-12 21:02:37 -04:00
parent ea083b68e7
commit 80c32a859c
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -4,6 +4,7 @@ device: username:
{ pkgs, options, lib, config, ... }: { pkgs, options, lib, config, ... }:
{ {
networking.hostName = lib.mkDefault device; networking.hostName = lib.mkDefault device;
my.username = username;
imports = [ imports = [
./modules ./modules
@ -22,6 +23,7 @@ device: username:
nixpkgs.overlays = import ./packages; nixpkgs.overlays = import ./packages;
nixpkgs.config.allowUnfree = true; # forgive me Stallman senpai nixpkgs.config.allowUnfree = true; # forgive me Stallman senpai
# These are the things I want installed on all my systems
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
# Just the bear necessities~ # Just the bear necessities~
coreutils coreutils
@ -43,8 +45,7 @@ device: username:
dots = "make -C ~/.dotfiles"; dots = "make -C ~/.dotfiles";
}; };
### Primary user account # Default settings for primary user account
my.username = username;
my.user = { my.user = {
isNormalUser = true; isNormalUser = true;
uid = 1000; uid = 1000;