Compare commits

..

3 Commits

Author SHA1 Message Date
Nathan McCarty 526cb2c209
Nix build settings on mac 2023-03-27 20:08:06 -04:00
Nathan McCarty dbaf21d658
Add virtualization utilities 2023-03-27 20:05:12 -04:00
Nathan McCarty ffe4a6c26b
Enable idris2 on mac 2023-03-27 19:50:58 -04:00
4 changed files with 14 additions and 2 deletions

View File

@ -83,7 +83,7 @@ with nLib; {
(mkIf devel.idris2 {
home.packages = with pkgs; [
inputs.idris2.packages."${pkgs.system}".idris2
chez
# chez
gmp
rlwrap
];

View File

@ -5,4 +5,9 @@
nathan = { config = { isDesktop = true; }; };
# Setup home manager
home-manager.users.nathan = import ./home.nix;
# Configure nix build
nix.settings = {
cores = 8;
max-jobs = 2;
};
}

View File

@ -5,7 +5,7 @@
programs = {
util = { git = { gpgSign = false; }; };
devel = {
idris2 = false;
idris2 = true;
haskell = false;
js = false;
raku = false;

View File

@ -28,6 +28,9 @@ in {
enable = mkDefaultOption "Communication applications"
config.nathan.config.isDesktop;
};
# Virtualization
virtualization =
mkDefaultOption "Virtualization" config.nathan.config.isDesktop;
};
};
};
@ -68,6 +71,10 @@ in {
};
casks = lib.mkMerge [
(lib.mkIf config.nathan.programs.firefox [{ name = "firefox"; }])
(lib.mkIf config.nathan.programs.virtualization [
{ name = "crossover"; }
{ name = "utm"; }
])
(lib.mkIf config.nathan.programs.communications.enable [
{ name = "discord"; }
{ name = "betterdiscord-installer"; }