mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 17:03:55 -05:00
ran nixfmt to fix formatting mistakes
This commit is contained in:
parent
e33ffbeda7
commit
c711790262
|
@ -1,27 +1,30 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
programs.alacritty = {
|
programs.alacritty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
colors = {
|
colors = {
|
||||||
primary = {
|
primary = {
|
||||||
foreground = "#fafafa";
|
foreground = "#fafafa";
|
||||||
background = "#232634";
|
background = "#232634";
|
||||||
};
|
|
||||||
draw_bold_text_with_bright_colors = true;
|
|
||||||
};
|
|
||||||
font = {
|
|
||||||
normal = { family = "NotoSansM Nerd Font"; style = "Regular"; };
|
|
||||||
size = 10;
|
|
||||||
};
|
|
||||||
selection.save_to_clipboard = true;
|
|
||||||
window = {
|
|
||||||
blur = true;
|
|
||||||
# decorations = "None";
|
|
||||||
dynamic_padding = true;
|
|
||||||
opacity = 0.8;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
draw_bold_text_with_bright_colors = true;
|
||||||
|
};
|
||||||
|
font = {
|
||||||
|
normal = {
|
||||||
|
family = "NotoSansM Nerd Font";
|
||||||
|
style = "Regular";
|
||||||
|
};
|
||||||
|
size = 10;
|
||||||
|
};
|
||||||
|
selection.save_to_clipboard = true;
|
||||||
|
window = {
|
||||||
|
blur = true;
|
||||||
|
# decorations = "None";
|
||||||
|
dynamic_padding = true;
|
||||||
|
opacity = 0.8;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
imports = [ ./common.nix ./common-gui.nix ./hypr ./waybar ./mako ./fuzzel ];
|
||||||
[ ./common.nix ./common-gui.nix ./hypr ./waybar ./mako ./fuzzel ];
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,40 +1,43 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
dconf.enable = true;
|
dconf.enable = true;
|
||||||
dconf.settings = {
|
dconf.settings = {
|
||||||
"org/gnome/desktop/datetime".automatic-timezone = true;
|
"org/gnome/desktop/datetime".automatic-timezone = true;
|
||||||
"org/gnome/desktop/interface".clock-format = "12h";
|
"org/gnome/desktop/interface".clock-format = "12h";
|
||||||
"org/gnome/desktop/interface".enable-hot-corners = true;
|
"org/gnome/desktop/interface".enable-hot-corners = true;
|
||||||
"org/gnome/desktop/peripherals/touchpad".tap-to-click = true;
|
"org/gnome/desktop/peripherals/touchpad".tap-to-click = true;
|
||||||
"org/gnome/desktop/search-providers".enabled = "['org.gnome.Calendar.desktop', 'org.gnome.Weather.desktop', 'org.gnome.Contacts.desktop', 'org.gnome.Calculator.desktop', 'org.gnome.Characters.desktop', 'org.gnome.clocks.desktop']";
|
"org/gnome/desktop/search-providers".enabled =
|
||||||
"org/gnome/desktop/wm/preferences".auto-raise = true;
|
"['org.gnome.Calendar.desktop', 'org.gnome.Weather.desktop', 'org.gnome.Contacts.desktop', 'org.gnome.Calculator.desktop', 'org.gnome.Characters.desktop', 'org.gnome.clocks.desktop']";
|
||||||
"org/gnome/mutter".dynamic-workspaces = true;
|
"org/gnome/desktop/wm/preferences".auto-raise = true;
|
||||||
"org/gnome/mutter".edge-tiling = true;
|
"org/gnome/mutter".dynamic-workspaces = true;
|
||||||
"org/gnome/mutter".workspaces-only-on-primary = true;
|
"org/gnome/mutter".edge-tiling = true;
|
||||||
"org/gnome/shell/extensions/blur-my-shell/overview".style-components = 3;
|
"org/gnome/mutter".workspaces-only-on-primary = true;
|
||||||
"org/gnome/shell/extensions/blur-my-shell/panel".blur = false;
|
"org/gnome/shell/extensions/blur-my-shell/overview".style-components = 3;
|
||||||
"org/gnome/shell/extensions/blur-my-shell/panel".customize = true;
|
"org/gnome/shell/extensions/blur-my-shell/panel".blur = false;
|
||||||
"org/gnome/shell/extensions/blur-my-shell/panel".style-panel = 0;
|
"org/gnome/shell/extensions/blur-my-shell/panel".customize = true;
|
||||||
"org/gnome/shell/extensions/blur-my-shell/panel".override-background = false;
|
"org/gnome/shell/extensions/blur-my-shell/panel".style-panel = 0;
|
||||||
"org/gnome/shell/extensions/blur-my-shell/panel".override-background-dynamically = false;
|
"org/gnome/shell/extensions/blur-my-shell/panel".override-background =
|
||||||
"org/gnome/shell/extensions/blur-my-shell/panel".unblur-in-overview = true;
|
false;
|
||||||
"org/gnome/system/location".enabled = true;
|
"org/gnome/shell/extensions/blur-my-shell/panel".override-background-dynamically =
|
||||||
"org/gtk/gtk4/settings/file-chooser".sort-directories-first = true;
|
false;
|
||||||
"org/gtk/settings/file-chooser".sort-directories-first = true;
|
"org/gnome/shell/extensions/blur-my-shell/panel".unblur-in-overview = true;
|
||||||
"org/gnome/shell".enabled-extensions = [
|
"org/gnome/system/location".enabled = true;
|
||||||
"appindicatorsupport@rgcjonas.gmail.com"
|
"org/gtk/gtk4/settings/file-chooser".sort-directories-first = true;
|
||||||
"blur-my-shell@aunetx"
|
"org/gtk/settings/file-chooser".sort-directories-first = true;
|
||||||
"gsconnect@andyholmes.github.io"
|
"org/gnome/shell".enabled-extensions = [
|
||||||
"nightthemeswitcher@romainvigier.fr"
|
"appindicatorsupport@rgcjonas.gmail.com"
|
||||||
"noannoyance-fork@vrba.dev"
|
"blur-my-shell@aunetx"
|
||||||
"tailscale-status@maxgallup.github.com"
|
"gsconnect@andyholmes.github.io"
|
||||||
"tiling-assistant@leleat-on-github"
|
"nightthemeswitcher@romainvigier.fr"
|
||||||
"drive-menu@gnome-shell-extensions.gcampax.github.com"
|
"noannoyance-fork@vrba.dev"
|
||||||
];
|
"tailscale-status@maxgallup.github.com"
|
||||||
"org/virt-manager/virt-manager/connections" = {
|
"tiling-assistant@leleat-on-github"
|
||||||
autoconnect = ["qemu:///system"];
|
"drive-menu@gnome-shell-extensions.gcampax.github.com"
|
||||||
uris = ["qemu:///system"];
|
];
|
||||||
};
|
"org/virt-manager/virt-manager/connections" = {
|
||||||
|
autoconnect = [ "qemu:///system" ];
|
||||||
|
uris = [ "qemu:///system" ];
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
|
@ -28,7 +28,8 @@
|
||||||
xdg.configFile."hypr/tokyoGreen.jpg".source = ./tokyoGreen.jpg;
|
xdg.configFile."hypr/tokyoGreen.jpg".source = ./tokyoGreen.jpg;
|
||||||
xdg.configFile."hypr/greenCity.jpg".source = ./greenCity.jpg;
|
xdg.configFile."hypr/greenCity.jpg".source = ./greenCity.jpg;
|
||||||
|
|
||||||
xdg.configFile."hypr/shaders/blue-light-filter.glsl".source = ./blue-light-filter.glsl;
|
xdg.configFile."hypr/shaders/blue-light-filter.glsl".source =
|
||||||
|
./blue-light-filter.glsl;
|
||||||
xdg.configFile."hypr/hyprshade.toml".source = ./hyprshade.toml;
|
xdg.configFile."hypr/hyprshade.toml".source = ./hyprshade.toml;
|
||||||
|
|
||||||
home.pointerCursor = {
|
home.pointerCursor = {
|
||||||
|
|
|
@ -1,16 +1,16 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
services.mako = {
|
services.mako = {
|
||||||
enable = true;
|
enable = true;
|
||||||
anchor = "top-center";
|
anchor = "top-center";
|
||||||
backgroundColor = "#232634CC";
|
backgroundColor = "#232634CC";
|
||||||
borderColor = "#ca9ee6";
|
borderColor = "#ca9ee6";
|
||||||
borderRadius = 10;
|
borderRadius = 10;
|
||||||
defaultTimeout = 10000;
|
defaultTimeout = 10000;
|
||||||
font = "NotoSans Nerd Font Regular 10";
|
font = "NotoSans Nerd Font Regular 10";
|
||||||
layer = "overlay";
|
layer = "overlay";
|
||||||
padding = "15";
|
padding = "15";
|
||||||
textColor = "#FAFAFA";
|
textColor = "#FAFAFA";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,97 +2,94 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
# backblaze-b2
|
# backblaze-b2
|
||||||
curl
|
curl
|
||||||
gh
|
gh
|
||||||
git
|
git
|
||||||
nixfmt
|
nixfmt
|
||||||
python3
|
python3
|
||||||
ruby
|
ruby
|
||||||
wget
|
wget
|
||||||
|
];
|
||||||
|
|
||||||
|
programs.bash = {
|
||||||
|
enable = true;
|
||||||
|
enableCompletion = true;
|
||||||
|
initExtra = ''
|
||||||
|
export PS1="[\[$(tput setaf 27)\]\u\[$(tput setaf 135)\]@\[$(tput setaf 45)\]\h:\[$(tput setaf 33)\]\w] \[$(tput sgr0)\]$ "
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.emacs = {
|
||||||
|
enable = true;
|
||||||
|
extraPackages = (epkgs:
|
||||||
|
(with epkgs; [
|
||||||
|
better-defaults
|
||||||
|
catppuccin-theme
|
||||||
|
markdown-mode
|
||||||
|
nix-mode
|
||||||
|
org
|
||||||
|
org-bullets
|
||||||
|
org-journal
|
||||||
|
org-roam
|
||||||
|
ox-pandoc
|
||||||
|
projectile
|
||||||
|
python
|
||||||
|
treemacs
|
||||||
|
treemacs-projectile
|
||||||
|
treemacs-tab-bar
|
||||||
|
use-package
|
||||||
|
yaml
|
||||||
|
yaml-mode
|
||||||
|
]));
|
||||||
|
package = pkgs.emacs-nox;
|
||||||
|
extraConfig = builtins.readFile ./emacs.el;
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.eza = {
|
||||||
|
enable = true;
|
||||||
|
git = true;
|
||||||
|
icons = true;
|
||||||
|
extraOptions = [ "--group-directories-first" "--header" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.fzf = {
|
||||||
|
enable = true;
|
||||||
|
tmux.enableShellIntegration = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.neovim = {
|
||||||
|
enable = true;
|
||||||
|
viAlias = true;
|
||||||
|
vimAlias = true;
|
||||||
|
defaultEditor = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.nnn.enable = true;
|
||||||
|
|
||||||
|
programs.tmux = {
|
||||||
|
enable = true;
|
||||||
|
mouse = true;
|
||||||
|
newSession = true;
|
||||||
|
plugins = with pkgs; [
|
||||||
|
tmuxPlugins.weather
|
||||||
|
tmuxPlugins.better-mouse-mode
|
||||||
|
tmuxPlugins.cpu
|
||||||
|
tmuxPlugins.battery
|
||||||
|
tmuxPlugins.resurrect
|
||||||
];
|
];
|
||||||
|
terminal = "tmux-256color";
|
||||||
programs.bash = {
|
extraConfig = ''
|
||||||
enable = true;
|
set-option -g status-bg plum4
|
||||||
enableCompletion = true;
|
set-option -g pane-active-border-style fg=plum4
|
||||||
initExtra = ''
|
set-option -g @tmux-weather-format "%x+%t"
|
||||||
export PS1="[\[$(tput setaf 27)\]\u\[$(tput setaf 135)\]@\[$(tput setaf 45)\]\h:\[$(tput setaf 33)\]\w] \[$(tput sgr0)\]$ "
|
set-option -g @tmux-weather-units "u"
|
||||||
'';
|
set -g status-right '#{cpu_percentage} CPU | #{battery_percentage} BAT | %I:%M %p | #{weather}'
|
||||||
};
|
run-shell ${pkgs.tmuxPlugins.weather}/share/tmux-plugins/weather/tmux-weather.tmux
|
||||||
|
run-shell ${pkgs.tmuxPlugins.cpu}/share/tmux-plugins/cpu/cpu.tmux
|
||||||
programs.emacs = {
|
run-shell ${pkgs.tmuxPlugins.battery}/share/tmux-plugins/battery/battery.tmux
|
||||||
enable = true;
|
run-shell ${pkgs.tmuxPlugins.battery}/share/tmux-plugins/resurrect/resurrect.tmux
|
||||||
extraPackages = ( epkgs: (with epkgs; [
|
'';
|
||||||
better-defaults
|
};
|
||||||
catppuccin-theme
|
|
||||||
markdown-mode
|
|
||||||
nix-mode
|
|
||||||
org
|
|
||||||
org-bullets
|
|
||||||
org-journal
|
|
||||||
org-roam
|
|
||||||
ox-pandoc
|
|
||||||
projectile
|
|
||||||
python
|
|
||||||
treemacs
|
|
||||||
treemacs-projectile
|
|
||||||
treemacs-tab-bar
|
|
||||||
use-package
|
|
||||||
yaml
|
|
||||||
yaml-mode
|
|
||||||
])
|
|
||||||
);
|
|
||||||
package = pkgs.emacs-nox;
|
|
||||||
extraConfig = builtins.readFile ./emacs.el;
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.eza = {
|
|
||||||
enable = true;
|
|
||||||
git = true;
|
|
||||||
icons = true;
|
|
||||||
extraOptions = [
|
|
||||||
"--group-directories-first"
|
|
||||||
"--header"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.fzf = {
|
|
||||||
enable = true;
|
|
||||||
tmux.enableShellIntegration = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.neovim = {
|
|
||||||
enable = true;
|
|
||||||
viAlias = true;
|
|
||||||
vimAlias = true;
|
|
||||||
defaultEditor = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.nnn.enable = true;
|
|
||||||
|
|
||||||
programs.tmux = {
|
|
||||||
enable = true;
|
|
||||||
mouse = true;
|
|
||||||
newSession = true;
|
|
||||||
plugins = with pkgs; [
|
|
||||||
tmuxPlugins.weather
|
|
||||||
tmuxPlugins.better-mouse-mode
|
|
||||||
tmuxPlugins.cpu
|
|
||||||
tmuxPlugins.battery
|
|
||||||
tmuxPlugins.resurrect
|
|
||||||
];
|
|
||||||
terminal = "tmux-256color";
|
|
||||||
extraConfig = ''
|
|
||||||
set-option -g status-bg plum4
|
|
||||||
set-option -g pane-active-border-style fg=plum4
|
|
||||||
set-option -g @tmux-weather-format "%x+%t"
|
|
||||||
set-option -g @tmux-weather-units "u"
|
|
||||||
set -g status-right '#{cpu_percentage} CPU | #{battery_percentage} BAT | %I:%M %p | #{weather}'
|
|
||||||
run-shell ${pkgs.tmuxPlugins.weather}/share/tmux-plugins/weather/tmux-weather.tmux
|
|
||||||
run-shell ${pkgs.tmuxPlugins.cpu}/share/tmux-plugins/cpu/cpu.tmux
|
|
||||||
run-shell ${pkgs.tmuxPlugins.battery}/share/tmux-plugins/battery/battery.tmux
|
|
||||||
run-shell ${pkgs.tmuxPlugins.battery}/share/tmux-plugins/resurrect/resurrect.tmux
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue