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

@ -1,6 +1,7 @@
{ config, lib, pkgs, ... }:
with pkgs;
with lib;
let
@ -42,13 +43,16 @@ let
chmod +x $out/bin/dwarf-fortress
'';
in {
imports = [
./obs.nix
];
in mkMerge [
{
home.packages = [
crawl
];
}
(mkIf stdenv.isLinux {
home.packages = [
df
];
})
]
home.packages = [
crawl
df
];
}