host mac
This commit is contained in:
11
hosts/mac/home.nix
Normal file
11
hosts/mac/home.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
home = {
|
||||
username = "cdreyes";
|
||||
homeDirectory = "/Users/cdreyes";
|
||||
};
|
||||
my = import ./toggles.nix { inherit inputs; };
|
||||
}
|
||||
17
hosts/mac/toggles.nix
Normal file
17
hosts/mac/toggles.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{ inputs }:
|
||||
let
|
||||
inherit (inputs.self.lib) mkEnabled enableList;
|
||||
in
|
||||
{
|
||||
emacs.enable = true;
|
||||
dev = enableList mkEnabled [
|
||||
"nix"
|
||||
"python"
|
||||
"sh"
|
||||
];
|
||||
shell = enableList mkEnabled [
|
||||
"exercism"
|
||||
"multimedia"
|
||||
"tools"
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user