mirror of
https://github.com/szymon-jozef/amazing-dotfiles.git
synced 2026-10-27 19:20:43 +01:00
move ashell config to nix
This commit is contained in:
2
home.nix
2
home.nix
@@ -33,6 +33,7 @@
|
|||||||
./modules/git.nix
|
./modules/git.nix
|
||||||
./modules/kitty.nix
|
./modules/kitty.nix
|
||||||
./modules/satty.nix
|
./modules/satty.nix
|
||||||
|
./modules/ashell.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
home.stateVersion = "25.11"; # Please read the comment before changing.
|
home.stateVersion = "25.11"; # Please read the comment before changing.
|
||||||
@@ -43,7 +44,6 @@
|
|||||||
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
||||||
# plain files is through 'home.file'.
|
# plain files is through 'home.file'.
|
||||||
home.file = {
|
home.file = {
|
||||||
".config/ashell/config.toml".source = ./dotfiles/ashell/config.toml;
|
|
||||||
".config/fastfetch".source = ./dotfiles/fastfetch;
|
".config/fastfetch".source = ./dotfiles/fastfetch;
|
||||||
".config/kitty".source = ./dotfiles/kitty;
|
".config/kitty".source = ./dotfiles/kitty;
|
||||||
".config/MangoHud".source = ./dotfiles/mangohud;
|
".config/MangoHud".source = ./dotfiles/mangohud;
|
||||||
|
|||||||
72
modules/ashell.nix
Normal file
72
modules/ashell.nix
Normal file
@@ -0,0 +1,72 @@
|
|||||||
|
{ ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
programs.ashell = {
|
||||||
|
enable = true;
|
||||||
|
package = null;
|
||||||
|
settings = {
|
||||||
|
outputs = {
|
||||||
|
Targets = [ "DP-1" ];
|
||||||
|
};
|
||||||
|
position = "Bottom";
|
||||||
|
modules = {
|
||||||
|
|
||||||
|
left = [
|
||||||
|
"Clock"
|
||||||
|
"Workspaces"
|
||||||
|
];
|
||||||
|
center = [ "WindowTitle" ];
|
||||||
|
right = [
|
||||||
|
"Privacy"
|
||||||
|
"MediaPlayer"
|
||||||
|
"SystemInfo"
|
||||||
|
[
|
||||||
|
"Tray"
|
||||||
|
"Settings"
|
||||||
|
]
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
clock = {
|
||||||
|
format = "%H:%M | %e.%m ";
|
||||||
|
};
|
||||||
|
|
||||||
|
settings = {
|
||||||
|
remove_airplane_btn = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
appearance = {
|
||||||
|
scale_factor = 1.2;
|
||||||
|
success_color = "#a6e3a1";
|
||||||
|
text_color = "#cdd6f4";
|
||||||
|
workspace_colors = [
|
||||||
|
"#fab387"
|
||||||
|
"#b4befe"
|
||||||
|
"#cba6f7"
|
||||||
|
];
|
||||||
|
|
||||||
|
primary_color = {
|
||||||
|
base = "#fab387";
|
||||||
|
text = "#1e1e2e";
|
||||||
|
};
|
||||||
|
|
||||||
|
danger_color = {
|
||||||
|
base = "#f38ba8";
|
||||||
|
weak = "#f9e2af";
|
||||||
|
};
|
||||||
|
|
||||||
|
background_color = {
|
||||||
|
base = "#1e1e2e";
|
||||||
|
weak = "#313244";
|
||||||
|
strong = "#45475a";
|
||||||
|
};
|
||||||
|
|
||||||
|
secondary_color = {
|
||||||
|
base = "#11111b";
|
||||||
|
strong = "#1b1b25";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
{ pkgs, lib, ... }:
|
{ lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
programs.kitty = lib.mkForce {
|
programs.kitty = lib.mkForce {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.runCommand "dummy-kitty" { } "mkdir $out";
|
package = null;
|
||||||
settings = {
|
settings = {
|
||||||
confirm_os_window_close = 0;
|
confirm_os_window_close = 0;
|
||||||
dynamic_background_opacity = true;
|
dynamic_background_opacity = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user