flake: split out dev-gui from dev

This commit is contained in:
Sam W 2022-09-26 15:21:44 +01:00
parent 70faca076a
commit 9d51472c88
2 changed files with 8 additions and 3 deletions

View File

@ -52,12 +52,12 @@
homeConfigurations = { homeConfigurations = {
boron = lib.mkHome { boron = lib.mkHome {
system = "aarch64-darwin"; system = "aarch64-darwin";
profiles = with profiles; [default dev sensitive mac docker aws]; profiles = with profiles; [default dev dev-gui sensitive mac docker aws];
username = "samuel.willcocks"; username = "samuel.willcocks";
}; };
zinc = lib.mkHome { zinc = lib.mkHome {
system = "aarch64-darwin"; system = "aarch64-darwin";
profiles = with profiles; [default dev sensitive mac]; profiles = with profiles; [default dev dev-gui sensitive mac];
}; };
}; };
} }

View File

@ -3,7 +3,12 @@
default = ./default.nix; default = ./default.nix;
# A machine for development # A machine for development
dev = {...}: { dev = {...}: {
imports = [./git.nix ./rust.nix ./vim.nix ./vim-dev ./vscode.nix]; imports = [./git.nix ./rust.nix ./vim.nix ./vim-dev];
};
# A machine for dev with a GUI
# TODO: detect this automatically somehow?
dev-gui = {...}: {
imports = [./vscode.nix];
}; };
# Sensitive stuff # Sensitive stuff
sensitive = {...}: { sensitive = {...}: {