diff --git a/checks/pre-commit-hooks/default.nix b/checks/pre-commit-hooks/default.nix index bf6c378..9daa776 100644 --- a/checks/pre-commit-hooks/default.nix +++ b/checks/pre-commit-hooks/default.nix @@ -5,7 +5,7 @@ ... }: inputs.pre-commit-hooks.lib.${system}.run { - src = ./.; + src = inputs.self; hooks = { actionlint.enable = true; diff --git a/modules/home/programs/graphical/wezterm/wezterm.lua b/modules/home/programs/graphical/wezterm/wezterm.lua index 1dee253..5917925 100644 --- a/modules/home/programs/graphical/wezterm/wezterm.lua +++ b/modules/home/programs/graphical/wezterm/wezterm.lua @@ -6,17 +6,18 @@ if wezterm.config_builder then config = wezterm.config_builder() end -local function scheme_for_appearance(appearance) - if appearance:find("Dark") then - return "Catppuccin Mocha" - else - return "Catppuccin Frappe" - end -end +-- local function scheme_for_appearance(appearance) +-- if appearance:find("Dark") then +-- return "Catppuccin Mocha" +-- else +-- return "Catppuccin Frappe" +-- end +-- end -local appearance = wezterm.gui.get_appearance() +-- local appearance = wezterm.gui.get_appearance() -- config.color_scheme = scheme_for_appearance(appearance) + config.color_scheme = "Catppuccin Mocha" config.font = wezterm.font_with_fallback({ diff --git a/systems/aarch64-darwin/nano/default.nix b/systems/aarch64-darwin/nano/default.nix index 51c4ea2..8b52d1b 100644 --- a/systems/aarch64-darwin/nano/default.nix +++ b/systems/aarch64-darwin/nano/default.nix @@ -1,21 +1,33 @@ {pkgs, ...}: { # Set the hostname and computer name - networking.hostName = "nano"; - networking.computerName = "YouSiki's Nano"; + networking = { + hostName = "nano"; + computerName = "YouSiki's Nano"; + }; # Add ability to used TouchID for sudo authentication security.pam.enableSudoTouchIdAuth = true; # System configurations - system.defaults.NSGlobalDomain.ApplePressAndHoldEnabled = false; - system.defaults.NSGlobalDomain.AppleShowAllExtensions = true; - system.defaults.dock.show-recents = false; - system.defaults.dock.tilesize = 48; - system.defaults.finder.QuitMenuItem = true; - system.defaults.finder.ShowPathbar = true; - system.defaults.finder.ShowStatusBar = true; - system.defaults.trackpad.Clicking = true; - system.defaults.trackpad.TrackpadThreeFingerDrag = true; + system.defaults = { + NSGlobalDomain = { + ApplePressAndHoldEnabled = false; + AppleShowAllExtensions = true; + }; + dock = { + show-recents = false; + tilesize = 48; + }; + finder = { + QuitMenuItem = true; + ShowPathbar = true; + ShowStatusBar = true; + }; + trackpad = { + Clicking = true; + TrackpadThreeFingerDrag = true; + }; + }; environment.systemPackages = with pkgs; [ alejandra