feat: Add config for tetrahedrite
This commit is contained in:
parent
ca50a35521
commit
d0ae2e6a32
|
@ -10,8 +10,13 @@
|
|||
};
|
||||
|
||||
outputs = inputs@{ self, nixpkgs-darwin, nix-darwin }: {
|
||||
darwinConfigurations."sphalerite" = nix-darwin.lib.darwinSystem {
|
||||
modules = [ ./configuration.nix ];
|
||||
darwinConfigurations."tetrahedrite" = nix-darwin.lib.darwinSystem {
|
||||
modules = [
|
||||
./nix-darwin/configuration.nix
|
||||
{
|
||||
nixpkgs.hostPlatform = "x86_64-darwin";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
imports = [ ./homebrew.nix ./yabai-skhd.nix ];
|
||||
# List packages installed in system profile. To search by name, run:
|
||||
# $ nix-env -qaP | grep wget
|
||||
environment.systemPackages = [
|
||||
|
@ -7,13 +8,30 @@
|
|||
];
|
||||
|
||||
# Auto upgrade nix package and the daemon service.
|
||||
services.nix-daemon.enable = true;
|
||||
nix.package = pkgs.nix;
|
||||
services = {
|
||||
nix-daemon.enable = true;
|
||||
karabiner-elements.enable = true;
|
||||
sketchybar = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
nix = {
|
||||
package = pkgs.nix;
|
||||
settings.experimental-features = "nix-command flakes";
|
||||
};
|
||||
|
||||
# Enable alternative shell support in nix-darwin.
|
||||
programs.fish.enable = true;
|
||||
|
||||
# Used for backwards compatibility, please read the changelog before changing.
|
||||
# $ darwin-rebuild changelog
|
||||
system.stateVersion = 5;
|
||||
system = {
|
||||
stateVersion = 5;
|
||||
defaults = {
|
||||
dock = {
|
||||
autohide = true;
|
||||
orientation = "bottom";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
{ ... }:
|
||||
{
|
||||
homebrew = {
|
||||
enable = true;
|
||||
casks = [
|
||||
"karabiner-elements"
|
||||
"vlc"
|
||||
];
|
||||
taps = [
|
||||
"railwaycat/emacsmacport"
|
||||
];
|
||||
};
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
{ ... }:
|
||||
{
|
||||
services = {
|
||||
yabai = {
|
||||
enable = true;
|
||||
extraConfig = builtins.readFile ../yabai/yabairc;
|
||||
};
|
||||
skhd = {
|
||||
enable = true;
|
||||
skhdConfig = builtins.readFile ../skhd/skhdrc;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue