Personal Nix setup
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add "fanta" macbook

+83
+6
flake.nix
··· 60 60 hostname = "sprite"; 61 61 }; 62 62 63 + darwinConfigurations."fanta" = mkSystem { 64 + inherit overlays; 65 + system = "aarch64-darwin"; 66 + hostname = "fanta"; 67 + }; 68 + 63 69 nixosConfigurations."pepper" = mkSystem { 64 70 inherit overlays; 65 71 system = "x86_64-linux";
+76
machines/fanta/configuration.nix
··· 1 + { pkgs, ... }: 2 + 3 + { 4 + imports = [ 5 + ../../modules/services/mysql.nix 6 + ]; 7 + 8 + system.stateVersion = 4; 9 + # Disable path verification of $NIX_PATH 10 + system.checks.verifyNixPath = false; 11 + # Auto upgrade nix package and the daemon service. 12 + services.nix-daemon.enable = true; 13 + # Auto-configure build users 14 + nix.configureBuildUsers = true; 15 + # Disable documentation until https://github.com/LnL7/nix-darwin/issues/217 is fixed. 16 + documentation.enable = false; 17 + 18 + # Use built-in TouchID PAM 19 + security.pam.enableSudoTouchIdAuth = true; 20 + 21 + system = { 22 + keyboard = { 23 + enableKeyMapping = true; 24 + remapCapsLockToControl = true; 25 + nonUS.remapTilde = true; 26 + }; 27 + 28 + defaults = { 29 + finder.CreateDesktop = false; 30 + screencapture.location = "~/Screenshots"; 31 + loginwindow = { 32 + GuestEnabled = false; 33 + DisableConsoleAccess = true; 34 + }; 35 + menuExtraClock = { 36 + IsAnalog = true; 37 + ShowAMPM = true; 38 + ShowDayOfWeek = true; 39 + ShowDate = 0; 40 + }; 41 + dock = { 42 + autohide = true; 43 + tilesize = 46; 44 + mru-spaces = false; 45 + }; 46 + NSGlobalDomain = { 47 + AppleShowAllExtensions = true; 48 + InitialKeyRepeat = 10; 49 + KeyRepeat = 2; 50 + AppleInterfaceStyle = "Dark"; 51 + AppleShowScrollBars = "WhenScrolling"; 52 + "com.apple.swipescrolldirection" = false; 53 + }; 54 + spaces.spans-displays = false; 55 + }; 56 + }; 57 + 58 + environment.systemPackages = with pkgs; [ 59 + coreutils 60 + openssl 61 + imagemagick 62 + ffmpeg 63 + pngquant 64 + ripgrep 65 + xh 66 + curl 67 + sd 68 + fd 69 + cloudflared 70 + woff2 71 + temporal 72 + dive 73 + caddy 74 + flyctl 75 + ]; 76 + }
+1
machines/fanta/home.nix
··· 1 + { ... }: {}