This commit is contained in:
lsoriano-mcm
2025-06-06 07:39:53 -05:00
parent 6b0a342cdd
commit e6103c3153
3 changed files with 29 additions and 7 deletions
Generated
+21
View File
@@ -75,6 +75,26 @@
"type": "github" "type": "github"
} }
}, },
"darwin": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1749194393,
"narHash": "sha256-vt6hM9DNywnXXuW1qPDLzECmbDcmxhh58wpb0EEQjAo=",
"owner": "lnl7",
"repo": "nix-darwin",
"rev": "19346808c445f23b08652971be198b9df6c33edc",
"type": "github"
},
"original": {
"owner": "lnl7",
"repo": "nix-darwin",
"type": "github"
}
},
"devshell": { "devshell": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@@ -903,6 +923,7 @@
"root": { "root": {
"inputs": { "inputs": {
"ags": "ags", "ags": "ags",
"darwin": "darwin",
"home-manager": "home-manager", "home-manager": "home-manager",
"hyprland": "hyprland", "hyprland": "hyprland",
"nix-neovim": "nix-neovim", "nix-neovim": "nix-neovim",
+1 -1
View File
@@ -54,7 +54,7 @@
}; };
}; };
darwinConfigurations = { darwinConfigurations = {
hostname = darwin.lib.darwinSystem { macos = darwin.lib.darwinSystem {
system = "aarch64-darwin"; system = "aarch64-darwin";
modules = [ modules = [
./nixos/macos/darwin.nix ./nixos/macos/darwin.nix
+7 -6
View File
@@ -4,12 +4,13 @@
environment.systemPackages = [pkgs.vim]; environment.systemPackages = [pkgs.vim];
# Auto upgrade nix package and the daemon service. # Auto upgrade nix package and the daemon service.
services.nix-daemon.enable = true; # services.nix-daemon.enable = true;
services.karabiner-elements.enable = true; # services.karabiner-elements.enable = true;
# nix.package = pkgs.nix; # nix.package = pkgs.nix;
# Necessary for using flakes on this system. # Necessary for using flakes on this system.
nix.settings.experimental-features = "nix-command flakes"; nix.settings.experimental-features = "nix-command flakes";
nix.settings.trusted-users = ["@groups" "biscuit"];
# Create /etc/zshrc that loads the nix-darwin environment. # Create /etc/zshrc that loads the nix-darwin environment.
programs.zsh.enable = true; # default shell on catalina programs.zsh.enable = true; # default shell on catalina
@@ -17,13 +18,13 @@
# Used for backwards compatibility, please read the changelog before changing. # Used for backwards compatibility, please read the changelog before changing.
# $ darwin-rebuild changelog # $ darwin-rebuild changelog
system.stateVersion = 4; system.stateVersion = 5;
# The platform the configuration will be used on. # The platform the configuration will be used on.
nixpkgs.hostPlatform = "aarch64-darwin"; nixpkgs.hostPlatform = "aarch64-darwin";
users.users.davish = { users.users.lsoriano = {
name = "davish"; name = "lsoriano";
home = "/Users/davish"; home = "/Users/lsoriano";
}; };
} }