Merge remote-tracking branch 'origin/main' into thinkpad
This commit is contained in:
@ -11,7 +11,6 @@ in
|
||||
{
|
||||
imports = [
|
||||
inputs.catppuccin.homeManagerModules.catppuccin
|
||||
inputs.nixvim.homeManagerModules.nixvim
|
||||
./btop.nix
|
||||
./cava
|
||||
./cursors.nix
|
||||
@ -27,7 +26,7 @@ in
|
||||
./rofi
|
||||
./wlogout
|
||||
./hyprland
|
||||
./spicetify.nix
|
||||
./spicetify.nix # TODO env conflict on latest version
|
||||
./yazi
|
||||
];
|
||||
|
||||
@ -35,9 +34,7 @@ in
|
||||
enable = true;
|
||||
settings = {
|
||||
# Prefer dark mode for all GTK apps
|
||||
"org/gnome/desktop/interface" = {
|
||||
color-scheme = "prefer-dark";
|
||||
};
|
||||
"org/gnome/desktop/interface".color-scheme = "prefer-dark";
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -1,5 +1,11 @@
|
||||
# Neovim configuration for Nix
|
||||
{ inputs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
inputs.nixvim.homeManagerModules.nixvim
|
||||
];
|
||||
|
||||
catppuccin.nvim.enable = true;
|
||||
|
||||
home.sessionVariables.EDITOR = "nvim";
|
||||
|
@ -1,57 +1,60 @@
|
||||
{
|
||||
programs.fastfetch = {
|
||||
enable = true;
|
||||
settings = {
|
||||
logo = {
|
||||
source = "${../Catppuccin.png}";
|
||||
type = "kitty";
|
||||
height = 18;
|
||||
padding.top = 2;
|
||||
programs = {
|
||||
fish.shellAliases.fetch = "fastfetch";
|
||||
fastfetch = {
|
||||
enable = true;
|
||||
settings = {
|
||||
logo = {
|
||||
source = "${../Catppuccin.png}";
|
||||
type = "kitty";
|
||||
height = 18;
|
||||
padding.top = 2;
|
||||
};
|
||||
display.separator = " ";
|
||||
modules =
|
||||
let
|
||||
keyColor = "34";
|
||||
module = type: key: {
|
||||
inherit type key keyColor;
|
||||
};
|
||||
formatModule = type: key: format: {
|
||||
inherit
|
||||
type
|
||||
key
|
||||
format
|
||||
keyColor
|
||||
;
|
||||
};
|
||||
in
|
||||
[
|
||||
"break"
|
||||
"break"
|
||||
{
|
||||
type = "title";
|
||||
keyWidth = 10;
|
||||
}
|
||||
"break"
|
||||
(module "os" " ")
|
||||
(module "kernel" " ")
|
||||
(formatModule "packages" " " "{} (nixpkgs)")
|
||||
(module "shell" " ")
|
||||
(module "terminal" " ")
|
||||
(module "wm" " ")
|
||||
(module "theme" " ")
|
||||
(module "cursor" " ")
|
||||
(module "terminalfont" " ")
|
||||
(module "uptime" " ")
|
||||
(formatModule "datetime" " " "{1}-{3}-{11}")
|
||||
(module "cpu" " ")
|
||||
(module "gpu" " ")
|
||||
(module "sound" " ")
|
||||
(module "lm" " ")
|
||||
"break"
|
||||
"colors"
|
||||
"break"
|
||||
"break"
|
||||
];
|
||||
};
|
||||
display.separator = " ";
|
||||
modules =
|
||||
let
|
||||
keyColor = "34";
|
||||
module = type: key: {
|
||||
inherit type key keyColor;
|
||||
};
|
||||
formatModule = type: key: format: {
|
||||
inherit
|
||||
type
|
||||
key
|
||||
format
|
||||
keyColor
|
||||
;
|
||||
};
|
||||
in
|
||||
[
|
||||
"break"
|
||||
"break"
|
||||
{
|
||||
type = "title";
|
||||
keyWidth = 10;
|
||||
}
|
||||
"break"
|
||||
(module "os" " ")
|
||||
(module "kernel" " ")
|
||||
(formatModule "packages" " " "{} (nixpkgs)")
|
||||
(module "shell" " ")
|
||||
(module "terminal" " ")
|
||||
(module "wm" " ")
|
||||
(module "theme" " ")
|
||||
(module "cursor" " ")
|
||||
(module "terminalfont" " ")
|
||||
(module "uptime" " ")
|
||||
(formatModule "datetime" " " "{1}-{3}-{11}")
|
||||
(module "cpu" " ")
|
||||
(module "gpu" " ")
|
||||
(module "sound" " ")
|
||||
(module "lm" " ")
|
||||
"break"
|
||||
"colors"
|
||||
"break"
|
||||
"break"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
@ -17,9 +17,15 @@ in
|
||||
programs = {
|
||||
fish = {
|
||||
enable = true;
|
||||
# Start starship when creating a new shell
|
||||
interactiveShellInit = ''
|
||||
starship init fish | source
|
||||
fortune | cowsay -f tux
|
||||
'';
|
||||
plugins = [
|
||||
{
|
||||
# !! to get the previous command
|
||||
# https://github.com/BrewingWeasel/fishbang
|
||||
name = "fishbang";
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "BrewingWeasel";
|
||||
@ -29,6 +35,9 @@ in
|
||||
};
|
||||
}
|
||||
];
|
||||
shellAliases = {
|
||||
nix-shell = "nix-shell --run fish"; # Start nix-shells using fishcd
|
||||
};
|
||||
};
|
||||
|
||||
starship = {
|
||||
|
@ -8,14 +8,18 @@ in
|
||||
flavor = theme.flavor;
|
||||
};
|
||||
|
||||
programs.kitty = {
|
||||
enable = common.default.terminal == "kitty";
|
||||
font.name = theme.nerdFont;
|
||||
settings = {
|
||||
background_blur = 5;
|
||||
background_opacity = 0.8;
|
||||
confirm_os_window_close = 0;
|
||||
window_padding_width = 10;
|
||||
programs = {
|
||||
# Transfer shell config to target device
|
||||
fish.shellAliases.ssh = "kitty +kitten ssh";
|
||||
kitty = {
|
||||
enable = common.default.terminal == "kitty";
|
||||
font.name = theme.nerdFont;
|
||||
settings = {
|
||||
background_blur = 5;
|
||||
background_opacity = 0.8;
|
||||
confirm_os_window_close = 0;
|
||||
window_padding_width = 10;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
@ -8,13 +8,22 @@
|
||||
flavor = theme.flavor;
|
||||
};
|
||||
|
||||
programs.mpv = {
|
||||
enable = true;
|
||||
config = {
|
||||
hwdec = "auto-safe";
|
||||
vo = "gpu";
|
||||
profile = "gpu-hq";
|
||||
gpu-context = "wayland";
|
||||
programs = {
|
||||
fish.shellAliases.mpvl = "mpv --profile=loop";
|
||||
mpv = {
|
||||
enable = true;
|
||||
config = {
|
||||
hwdec = "auto-safe";
|
||||
vo = "gpu";
|
||||
profile = "gpu-hq";
|
||||
gpu-context = "wayland";
|
||||
};
|
||||
profiles = {
|
||||
loop = {
|
||||
loop-playlist = "inf";
|
||||
loop-file = "inf";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user