move macos settings out
This commit is contained in:
parent
395638b4aa
commit
b934bef2c1
4 changed files with 17 additions and 3 deletions
|
|
@ -3,6 +3,7 @@
|
|||
{
|
||||
imports = [
|
||||
./homebrew.nix
|
||||
./macos.nix
|
||||
];
|
||||
environment.systemPackages = with pkgs; [
|
||||
vscodium
|
||||
|
|
@ -15,8 +16,7 @@
|
|||
environment.etc."nix-darwin".source = "/Users/nyxerinys/nix-config";
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
nix.settings.extra-platforms = [ "x86_64-darwin" "aarch64-darwin" ];
|
||||
system.primaryUser = "nyxerinys";
|
||||
|
||||
|
||||
# Necessary for using flakes on this system.
|
||||
nix.settings.experimental-features = "nix-command flakes";
|
||||
# Used for backwards compatibility, please read the changelog before changing.
|
||||
|
|
|
|||
|
|
@ -42,6 +42,7 @@
|
|||
# Use Mac Casks instead of standard Nix packages for GUI apps
|
||||
casks = [
|
||||
"steam" # Native/Rosetta 2 macOS Steam Client
|
||||
"discord"
|
||||
];
|
||||
};
|
||||
}
|
||||
14
hosts/artemis/macos.nix
Normal file
14
hosts/artemis/macos.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{ ... }:
|
||||
{
|
||||
system = {
|
||||
primaryUser = "nyxerinys";
|
||||
defaults = {
|
||||
dock = {
|
||||
autohide = true;
|
||||
};
|
||||
controlcenter = {
|
||||
BatteryShowPercentage = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -11,7 +11,6 @@
|
|||
"/home/nyxerinys"
|
||||
);
|
||||
home.packages = with pkgs; [
|
||||
discord
|
||||
prismlauncher
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue