aboutsummaryrefslogtreecommitdiff
path: root/hosts/RyanMac/configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/RyanMac/configuration.nix')
-rw-r--r--hosts/RyanMac/configuration.nix21
1 files changed, 19 insertions, 2 deletions
diff --git a/hosts/RyanMac/configuration.nix b/hosts/RyanMac/configuration.nix
index bb180dd..4383b15 100644
--- a/hosts/RyanMac/configuration.nix
+++ b/hosts/RyanMac/configuration.nix
@@ -77,7 +77,7 @@ in {
77 bottom_padding = "10"; 77 bottom_padding = "10";
78 left_padding = "10"; 78 left_padding = "10";
79 right_padding = "10"; 79 right_padding = "10";
80 window_gap = "5"; 80 window_gap = "10";
81 mouse_modifier = "alt"; 81 mouse_modifier = "alt";
82 mouse_drop_action = "swap"; 82 mouse_drop_action = "swap";
83 mouse_action1 = "move"; 83 mouse_action1 = "move";
@@ -124,11 +124,28 @@ in {
124 ../../files/CACerts/RyanCA.crt 124 ../../files/CACerts/RyanCA.crt
125 ]; 125 ];
126 126
127 # Virby linux builder
128 services.virby = {
129 enable = true;
130 cores = 4;
131 diskSize = "50GiB";
132 onDemand = {
133 enable = true;
134 ttl = 30;
135 };
136 rosetta = true;
137 };
138
127 nix = { 139 nix = {
128 enable = true; 140 enable = true;
129 settings = { 141 settings = {
130 flake-registry = "/etc/nix/flake-registry.json"; 142 flake-registry = "/etc/nix/flake-registry.json";
131 trusted-users = [ "@admin" ]; 143 extra-substituters = [
144 "https://virby-nix-darwin.cachix.org"
145 ];
146 extra-trusted-public-keys = [
147 "virby-nix-darwin.cachix.org-1:z9GiEZeBU5bEeoDQjyfHPMGPBaIQJOOvYOOjGMKIlLo="
148 ];
132 "extra-experimental-features" = [ "nix-command" "flakes" ]; 149 "extra-experimental-features" = [ "nix-command" "flakes" ];
133 }; 150 };
134 }; 151 };