Beginnings of config for Darwin machines

Split out a platforms/ directory with a linux.nix and darwin.nix, and
starting splitting things out between the two
This commit is contained in:
Griffin Smith 2020-05-26 10:43:19 -04:00
parent 86b5f58ca5
commit 9036dc7c32
10 changed files with 300 additions and 183 deletions

View file

@ -2,6 +2,13 @@
let
laptopKeyboardId = "25";
in {
imports = [
../platforms/linux.nix
../modules/common.nix
../modules/games.nix
];
system.machine = {
wirelessInterface = "wlp59s0";
i3FontSize = 9;

View file

@ -0,0 +1,17 @@
{ config, lib, pkgs, ... }:
{
imports = [
../platforms/darwin.nix
../modules/common.nix
../modules/games.nix
];
home.packages = with pkgs; [
coreutils
gnupg
nix-prefetch-github
pass
pinentry_mac
];
}