diff --git a/flake.lock b/flake.lock index ef9991d..a9bebdc 100644 --- a/flake.lock +++ b/flake.lock @@ -246,7 +246,25 @@ }, "flake-utils_3": { "inputs": { - "systems": "systems_5" + "systems": "systems_4" + }, + "locked": { + "lastModified": 1731533236, + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "flake-utils_4": { + "inputs": { + "systems": "systems_6" }, "locked": { "lastModified": 1731533236, @@ -696,6 +714,27 @@ "type": "github" } }, + "kitty-catppuccin": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1749222359, + "narHash": "sha256-5TOmFTdlZsiJ9pgJL/wZOBipMh+OBZiZBYHOQSlh0fE=", + "ref": "refs/heads/master", + "rev": "225bc2446e1dfb87bcc68592963ec84d51ec15c8", + "revCount": 1, + "type": "git", + "url": "https://git.sakamoto.dev/kenji/nix-kitty-catppuccin.git" + }, + "original": { + "type": "git", + "url": "https://git.sakamoto.dev/kenji/nix-kitty-catppuccin.git" + } + }, "nix-darwin": { "inputs": { "nixpkgs": [ @@ -834,7 +873,7 @@ "nixpkgs" ], "nuschtosSearch": "nuschtosSearch_2", - "systems": "systems_4" + "systems": "systems_5" }, "locked": { "lastModified": 1748942960, @@ -852,7 +891,7 @@ }, "nuschtosSearch": { "inputs": { - "flake-utils": "flake-utils", + "flake-utils": "flake-utils_2", "ixx": "ixx", "nixpkgs": [ "nix-neovim", @@ -876,7 +915,7 @@ }, "nuschtosSearch_2": { "inputs": { - "flake-utils": "flake-utils_2", + "flake-utils": "flake-utils_3", "ixx": "ixx_2", "nixpkgs": [ "nixvim", @@ -926,6 +965,7 @@ "darwin": "darwin", "home-manager": "home-manager", "hyprland": "hyprland", + "kitty-catppuccin": "kitty-catppuccin", "nix-neovim": "nix-neovim", "nixpkgs": "nixpkgs_3", "nixvim": "nixvim_2", @@ -1025,6 +1065,21 @@ "type": "github" } }, + "systems_6": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, "treefmt-nix": { "inputs": { "nixpkgs": [ @@ -1049,7 +1104,7 @@ }, "unlisted-fonts": { "inputs": { - "flake-utils": "flake-utils_3", + "flake-utils": "flake-utils_4", "nixpkgs": [ "nixpkgs" ] diff --git a/flake.nix b/flake.nix index d366f7f..fd38eed 100644 --- a/flake.nix +++ b/flake.nix @@ -22,6 +22,9 @@ nix-neovim.url = "git+https://git.sakamoto.dev/kenji/nix-neovim.git"; nix-neovim.inputs.nixpkgs.follows = "nixpkgs"; + + kitty-catppuccin.url = "git+https://git.sakamoto.dev/kenji/nix-kitty-catppuccin.git"; + kitty-catppuccin.inputs.nixpkgs.follows = "nixpkgs"; }; outputs = { @@ -33,6 +36,7 @@ hyprland, unlisted-fonts, nix-neovim, + kitty-catppuccin, ... } @ inputs: let info = import ./info.nix; diff --git a/info.nix b/info.nix index 41a07d5..c9376e6 100644 --- a/info.nix +++ b/info.nix @@ -41,7 +41,7 @@ { hostName = "192.168.68.81"; sshUser = "lsoriano"; - sshKey = "~/.ssh/id_rsa"; + sshKey = "/home/biscuit/.ssh/id_rsa.pub"; system = "x86_64-linux"; supportedFeatures = ["big-parallel" "kvm" "nixos-test"]; } diff --git a/nixos/desktop/configuration.nix b/nixos/desktop/configuration.nix index a4f5025..03c5b3a 100644 --- a/nixos/desktop/configuration.nix +++ b/nixos/desktop/configuration.nix @@ -31,6 +31,6 @@ nix.distributedBuilds = true; nix.settings.builders-use-substitutes = true; - nix.buildMachines = buildMachines; + # nix.buildMachines = buildMachines; system.stateVersion = "25.05"; } diff --git a/pkgs/kitty/default.nix b/pkgs/kitty/default.nix index 25df656..f5660dc 100755 --- a/pkgs/kitty/default.nix +++ b/pkgs/kitty/default.nix @@ -1,17 +1,19 @@ -{pkgs, termFont, ...}: { - programs.kitty.enable = true; - programs.kitty.settings = { +{termFont, ...}: { + programs.kitty = { + enable = true; + themeFile = "Catppuccin-Mocha"; + settings = { + confirm_os_window_close = 0; + window_padding_width = 10; - confirm_os_window_close = 0; - window_padding_width = 10; - - font_size = 12.0; - font_family = termFont; + font_size = 12.0; + font_family = termFont; - # optimization - input_delay = 0; - repaint_delay = 2; - sync_to_monitor = false; - wayland_enable_ime = false; + # optimization + input_delay = 0; + repaint_delay = 2; + sync_to_monitor = false; + wayland_enable_ime = false; + }; }; }