tweak: kitty settings
This commit is contained in:
parent
b0a50c07dd
commit
2198ddb21e
3 changed files with 92 additions and 14 deletions
53
flake.lock
generated
53
flake.lock
generated
|
|
@ -102,6 +102,22 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1766651565,
|
||||
"narHash": "sha256-QEhk0eXgyIqTpJ/ehZKg9IKS7EtlWxF3N7DXy42zPfU=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "3e2499d5539c16d0d173ba53552a4ff8547f4539",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"disko": "disko",
|
||||
|
|
@ -109,7 +125,42 @@
|
|||
"impermanence": "impermanence",
|
||||
"nixos-hardware": "nixos-hardware",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"nixpkgs-stable": "nixpkgs-stable"
|
||||
"nixpkgs-stable": "nixpkgs-stable",
|
||||
"spicetify-nix": "spicetify-nix"
|
||||
}
|
||||
},
|
||||
"spicetify-nix": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs_2",
|
||||
"systems": "systems"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1767195736,
|
||||
"narHash": "sha256-0xvPSbhIGeJzsJXNTkgJ3PjwdVItKm85wzYKA9NmSzI=",
|
||||
"owner": "Gerg-L",
|
||||
"repo": "spicetify-nix",
|
||||
"rev": "465adc0ab6ff0c4b9b1db1c6e7fd7eeb553b3261",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "Gerg-L",
|
||||
"repo": "spicetify-nix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"systems": {
|
||||
"locked": {
|
||||
"lastModified": 1681028828,
|
||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"type": "github"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -14,6 +14,8 @@
|
|||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
impermanence.url = "github:nix-community/impermanence";
|
||||
|
||||
spicetify-nix.url = "github:Gerg-L/spicetify-nix";
|
||||
};
|
||||
|
||||
outputs =
|
||||
|
|
|
|||
51
home.nix
51
home.nix
|
|
@ -1,5 +1,7 @@
|
|||
{ config, pkgs, inputs, ... }:
|
||||
{
|
||||
|
||||
imports = [ inputs.spicetify-nix.homeManagerModules.default ];
|
||||
home.username = "xory";
|
||||
home.homeDirectory = "/home/xory";
|
||||
|
||||
|
|
@ -89,6 +91,7 @@
|
|||
enableCompletion = true;
|
||||
shellAliases = {
|
||||
"rebuild" = "sudo nixos-rebuild switch --flake ~/dots";
|
||||
"spotify" = "${pkgs.firejail}/bin/firejail ${config.programs.spicetify.spicedSpotify}/bin/spotify";
|
||||
};
|
||||
syntaxHighlighting.enable = true;
|
||||
};
|
||||
|
|
@ -101,21 +104,43 @@
|
|||
name = "Inconsolata Nerd Font";
|
||||
package = pkgs.nerd-fonts.inconsolata;
|
||||
};
|
||||
settings.background_opacity = 0.8;
|
||||
settings.background_opacity = 0.95;
|
||||
settings.window_padding_width = 5;
|
||||
};
|
||||
|
||||
# TODO: Fix up Neovim
|
||||
# programs.vscode = {
|
||||
# enable = true;
|
||||
# extensions = with pkgs.vscode-extensions; [
|
||||
# catppuccin.catppuccin-vsc
|
||||
# catppuccin.catppuccin-vsc-icons
|
||||
# dbaeumer.vscode-eslint
|
||||
# rust-lang.rust-analyzer
|
||||
# ms-python.python
|
||||
# biomejs.biome
|
||||
# ];
|
||||
# };
|
||||
programs.spicetify =
|
||||
let
|
||||
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.stdenv.hostPlatform.system};
|
||||
in
|
||||
{
|
||||
enable = true;
|
||||
|
||||
theme = spicePkgs.themes.catppuccin;
|
||||
colorScheme = "mocha";
|
||||
|
||||
enabledExtensions = with spicePkgs.extensions; [
|
||||
hidePodcasts
|
||||
shuffle
|
||||
betterGenres
|
||||
beautifulLyrics
|
||||
];
|
||||
|
||||
enabledCustomApps = with spicePkgs.apps; [
|
||||
newReleases
|
||||
ncsVisualizer
|
||||
];
|
||||
};
|
||||
|
||||
# firejail
|
||||
xdg.desktopEntries.spotify = {
|
||||
name = "Spotify";
|
||||
genericName = "Music Player";
|
||||
icon = "spotify-client";
|
||||
exec = "${pkgs.firejail}/bin/firejail ${config.programs.spicetify.spicedSpotify}/bin/spotify %U";
|
||||
terminal = false;
|
||||
categories = [ "Audio" "Music" "Player" "AudioVideo" ];
|
||||
mimeType = [ "x-scheme-handler/spotify" ];
|
||||
};
|
||||
|
||||
wayland.windowManager.hyprland.enable = true;
|
||||
programs.waybar.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue