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:
parent
86b5f58ca5
commit
9036dc7c32
10 changed files with 300 additions and 183 deletions
|
|
@ -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
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue