NixOS system configurations + dotfiles via home-manager
at main 33 lines 921 B view raw
1{ self, inputs, ... }: 2{ 3 flake.darwinConfigurations.jurai = inputs.nix-darwin.lib.darwinSystem { 4 modules = [ self.modules.darwin.default ]; 5 }; 6 7 flake.modules.darwin.default = 8 { pkgs, ... }: 9 { 10 local.user.name = "price"; 11 nix.enable = false; 12 security.pki.installCACerts = false; 13 system.keyboard.enableKeyMapping = true; 14 system.keyboard.remapCapsLockToControl = true; 15 system.startup.chime = false; 16 system.stateVersion = 6; 17 nixpkgs.hostPlatform = "aarch64-darwin"; 18 hjem.extraModules = [ self.modules.hjem.macbook ]; 19 }; 20 21 flake.modules.hjem.macbook = 22 { pkgs, ... }: 23 { 24 directory = "/Users/price"; 25 26 packages = with pkgs; [ 27 uutils-coreutils-noprefix 28 ]; 29 30 xdg.config.files."git/config".value.user.email = "price@hubspot.com"; 31 xdg.config.files."jj/config.toml".value.user.email = "price@hubspot.com"; 32 }; 33}