feat: Add sketchybar and format
This commit is contained in:
@@ -47,6 +47,7 @@ in {
|
||||
../modules
|
||||
]
|
||||
++ lib.optionals device.isLinux [../linux]
|
||||
# ++ lib.optionals.device.isMac [../macos]
|
||||
++ lib.optionals device.isServer [../server];
|
||||
|
||||
home.packages = with pkgs;
|
||||
@@ -121,6 +122,7 @@ in {
|
||||
};
|
||||
|
||||
programs = {
|
||||
sketchybar.enable = true;
|
||||
atuin = {
|
||||
settings = {
|
||||
auto_sync = true;
|
||||
|
||||
2
flake.lock
generated
2
flake.lock
generated
@@ -1498,7 +1498,7 @@
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1,
|
||||
"narHash": "sha256-IgVjk0l4snGVpLlanIC43+qQx/AKMuVv0JBoCZy7oxA=",
|
||||
"narHash": "sha256-JVbSYTJfcy9GUhEuD9PSXvgnHc5QwQIFQkf/xu9r0vI=",
|
||||
"path": "./neovim",
|
||||
"type": "path"
|
||||
},
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
{pkgs, device, ...}: {
|
||||
{
|
||||
pkgs,
|
||||
device,
|
||||
...
|
||||
}: {
|
||||
gtk = {
|
||||
enable = device.hasGui;
|
||||
theme = {
|
||||
|
||||
9
macos/default.nix
Normal file
9
macos/default.nix
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
pkgs,
|
||||
device,
|
||||
...
|
||||
}: {
|
||||
# imports = [
|
||||
# # ./sketchybar.nix
|
||||
# ];
|
||||
}
|
||||
4
macos/sketchybar.nix
Normal file
4
macos/sketchybar.nix
Normal file
@@ -0,0 +1,4 @@
|
||||
{pkgs, ...}: {
|
||||
programs.sketchybar = {
|
||||
};
|
||||
}
|
||||
@@ -1,6 +1,11 @@
|
||||
{...}: {
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./goread.nix
|
||||
./hyprpaper.nix
|
||||
./sketchybar.nix
|
||||
];
|
||||
}
|
||||
|
||||
23
modules/sketchybar.nix
Normal file
23
modules/sketchybar.nix
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.programs.sketchybar;
|
||||
in {
|
||||
options = {
|
||||
programs.sketchybar = {
|
||||
enable = mkEnableOption "sketchybar - a status bar for macOS";
|
||||
# config = with types; {
|
||||
# };
|
||||
};
|
||||
};
|
||||
config = {
|
||||
home.packages = mkIf cfg.enable [pkgs.sketchybar];
|
||||
# home.file = {
|
||||
# ".config/sketchybar/sketchybarrc".text = "";
|
||||
# };
|
||||
};
|
||||
}
|
||||
@@ -516,8 +516,7 @@ in rec {
|
||||
-- your options here
|
||||
})
|
||||
else
|
||||
vim.o.guifont = "Monaspace Krypton:h13"
|
||||
-- vim.o.guifont = "Hasklug Nerd Font Mono:h13"
|
||||
vim.o.guifont = "Hasklug Nerd Font Mono:h13"
|
||||
vim.g.neovide_cursor_vfx_mode = "railgun"
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user