my NixOS and nix-darwin config
0
fork

Configure Feed

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

a whole buncha changes

+43 -30
+14 -13
flake.nix
··· 16 16 inputs.nixpkgs.follows = "nixpkgs"; 17 17 }; 18 18 19 - rust-overlay = { 20 - url = "github:oxalica/rust-overlay"; 21 - inputs.nixpkgs.follows = "nixpkgs"; 22 - }; 23 - 24 19 }; 25 20 26 21 # Flake outputs 27 - outputs = { self, darwin, nixpkgs, home-manager, rust-overlay, ... }@inputs: 28 - let overlays = [ rust-overlay.overlays.default ]; 29 - in { 30 - # NixOS configuration entrypoint 31 - # Available through 'nixos-rebuild --flake .#your-hostname' 22 + outputs = 23 + { 24 + self, 25 + darwin, 26 + nixpkgs, 27 + home-manager, 28 + ... 29 + }@inputs: 30 + let 31 + overlays = [ ]; 32 + in 33 + { 32 34 # `sudo nixos-rebuild switch --flake .#Khaos` 33 35 nixosConfigurations = { 34 36 Khaos = nixpkgs.lib.nixosSystem { ··· 38 40 }; 39 41 modules = [ 40 42 ./hosts/Khaos 41 - 43 + home-manager.darwinModules.home-manager 42 44 { nixpkgs.overlays = overlays; } 43 - home-manager.darwinModules.home-manager 44 45 { 45 46 home-manager = { 46 47 useGlobalPkgs = true; ··· 64 65 }; 65 66 modules = [ 66 67 ./hosts/Daedalus 67 - { nixpkgs.overlays = overlays; } 68 68 home-manager.darwinModules.home-manager 69 + { nixpkgs.overlays = overlays; } 69 70 { 70 71 home-manager = { 71 72 useGlobalPkgs = true;
+1 -14
modules/home/term/ghostty/ghostty/config
··· 82 82 keybind = super+right=unbind 83 83 # Ghostty uses super+left for text:\x01, Zellij uses it for MoveFocusOrTab left 84 84 keybind = super+left=unbind 85 - # Ghostty tab navigation conflicts with Zellij GoToTab 86 - # keybind = super+one=unbind 87 - # keybind = super+two=unbind 88 - # keybind = super+three=unbind 89 - # keybind = super+four=unbind 90 - # keybind = super+five=unbind 91 - # keybind = super+six=unbind 92 - # keybind = super+seven=unbind 93 - # keybind = super+eight=unbind 94 - # keybind = super+nine=unbind 95 85 96 86 keybind = super+digit_1=unbind 97 87 keybind = super+digit_2=unbind ··· 112 102 keybind = super+7=unbind 113 103 keybind = super+8=unbind 114 104 keybind = super+9=unbind 115 - # theme = "gruvbox-material" 116 - # theme = GruvboxDarkHard 117 - # theme = Monokai Remastered 118 - # theme = Kanagawa Dragon 105 + keybind = super+f=unbind 119 106 theme = ayu
+27
modules/system/tailscale.nix
··· 1 + { 2 + lib, 3 + config, 4 + ... 5 + }: 6 + with lib; 7 + let 8 + cfg = config.nyx.tailscale; 9 + in 10 + { 11 + 12 + options.nyx.tailscale = { 13 + enable = mkEnableOption "Tailscale"; 14 + }; 15 + 16 + config = mkIf (cfg.enable) { 17 + 18 + services.tailscale.enable = true; 19 + 20 + networking.firewall = { 21 + trustedInterfaces = [ "tailscale0" ]; 22 + allowedUDPPorts = [ config.services.tailscale.port ]; 23 + }; 24 + 25 + }; 26 + 27 + }
-1
users/suri/Daedalus.nix
··· 5 5 nyx.aerospace.enable = true; 6 6 nyx.ghostty.enable = true; 7 7 nyx.helix.enable = true; 8 - nyx.zellij.enable = true; 9 8 nyx.orbstack.enable = true; 10 9 11 10
+1 -2
users/suri/Khaos.nix
··· 1 1 { ... }: 2 2 { 3 - 4 - 3 + imports = [ ./common.nix ]; 5 4 6 5 }