add kitty; add android-studio@unstable
This commit is contained in:
parent
3fdde0cacf
commit
9ed028ccd0
2 changed files with 39 additions and 3 deletions
16
config/kitty.conf
Normal file
16
config/kitty.conf
Normal file
|
@ -0,0 +1,16 @@
|
|||
# Fonts
|
||||
font_family monospace
|
||||
bold_font auto
|
||||
italic_font auto
|
||||
bold_italic_font auto
|
||||
|
||||
font_size 11.5
|
||||
|
||||
# Terminal bell
|
||||
enable_audio_bell no
|
||||
bell_on_tab "🔔 "
|
||||
|
||||
# Hyperlink
|
||||
mouse_map left click ungrabbed mouse_handle_click prompt
|
||||
mouse_map shift+left click ungrabbed mouse_handle_click link
|
||||
|
26
home.nix
26
home.nix
|
@ -1,6 +1,10 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
let
|
||||
unstableTarball =
|
||||
fetchTarball
|
||||
"https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz";
|
||||
|
||||
basicPackages = with pkgs; [
|
||||
# Zsh packages
|
||||
zsh
|
||||
|
@ -18,8 +22,8 @@ let
|
|||
vlc
|
||||
];
|
||||
nixosOnlyPackages = with pkgs; [
|
||||
kitty
|
||||
|
||||
kitty # On other platforms this cause OpenGL Error
|
||||
|
||||
# Dev tools
|
||||
rustup
|
||||
clang-tools
|
||||
|
@ -46,16 +50,32 @@ in
|
|||
# release notes.
|
||||
home.stateVersion = "24.05"; # Please read the comment before changing.
|
||||
|
||||
nixpkgs.config = {
|
||||
allowUnfree = true;
|
||||
packageOverrides = pkgs: with pkgs; {
|
||||
unstable = import unstableTarball {
|
||||
config = config.nixpkgs.config;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
|
||||
# The home.packages option allows you to install Nix packages into your
|
||||
# environment.
|
||||
home.packages = if (builtins.pathExists /etc/NIXOS) then
|
||||
(basicPackages) ++ (nixosOnlyPackages)
|
||||
(basicPackages) ++ (nixosOnlyPackages) ++ (with pkgs; [
|
||||
# Unstable packages here
|
||||
unstable.android-studio
|
||||
])
|
||||
|
||||
else (basicPackages) ++ (otherOnlyPackages);
|
||||
|
||||
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
||||
# plain files is through 'home.file'.
|
||||
home.file = {
|
||||
".config/fuzzel/fuzzel.ini".source = ./config/fuzzel.ini;
|
||||
".config/kitty/kitty.conf".source = ./config/kitty.conf;
|
||||
};
|
||||
|
||||
home.sessionVariables = {
|
||||
|
|
Loading…
Reference in a new issue