chore: run fmt
This commit is contained in:
@@ -3,7 +3,8 @@
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
}:
|
||||
{
|
||||
options = {
|
||||
myHome.dotfiles.enable = lib.mkEnableOption "enables dotfiles";
|
||||
};
|
||||
|
||||
@@ -2,9 +2,11 @@
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
}:
|
||||
let
|
||||
cfg = config.myHome.helix;
|
||||
in {
|
||||
in
|
||||
{
|
||||
options = {
|
||||
myHome.helix.enable = lib.mkEnableOption "enables helix";
|
||||
};
|
||||
@@ -24,22 +26,21 @@ in {
|
||||
# cursor-line = "warning"
|
||||
};
|
||||
|
||||
# [[language]]
|
||||
# name = "python"
|
||||
# language-servers = ["pylsp"]
|
||||
# [[language]]
|
||||
# name = "python"
|
||||
# language-servers = ["pylsp"]
|
||||
|
||||
# [language-server.pylsp.config.pylsp]
|
||||
# plugins.pyls_mypy.enabled = true
|
||||
# plugins.pyls_mypy.live_mode = true
|
||||
# [language-server.pylsp.config.pylsp]
|
||||
# plugins.pyls_mypy.enabled = true
|
||||
# plugins.pyls_mypy.live_mode = true
|
||||
|
||||
# [[language]]
|
||||
# name = "rust"
|
||||
# language-servers = ["rust-analyzer"]
|
||||
# [[language]]
|
||||
# name = "rust"
|
||||
# language-servers = ["rust-analyzer"]
|
||||
|
||||
# [language-server.rust-analyzer.config]
|
||||
# check.command = "clippy"
|
||||
|
||||
# [language-server.rust-analyzer.config]
|
||||
# check.command = "clippy"
|
||||
|
||||
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -2,9 +2,11 @@
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
}:
|
||||
let
|
||||
cfg = config.myHome.kitty;
|
||||
in {
|
||||
in
|
||||
{
|
||||
options = {
|
||||
myHome.kitty.enable = lib.mkEnableOption "enables kitty";
|
||||
};
|
||||
|
||||
@@ -3,7 +3,8 @@
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
}:
|
||||
{
|
||||
options = {
|
||||
myHome.shell.enable = lib.mkEnableOption "enables shell stuff";
|
||||
};
|
||||
|
||||
@@ -3,9 +3,11 @@
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
}:
|
||||
let
|
||||
betterTransition = "all 0.3s cubic-bezier(.55,-0.68,.48,1.682)";
|
||||
in {
|
||||
in
|
||||
{
|
||||
options = {
|
||||
myHome.waybar.enable = lib.mkEnableOption "enables waybar";
|
||||
};
|
||||
@@ -24,7 +26,7 @@ in {
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
programs.waybar = {
|
||||
enable = true;
|
||||
package = pkgs.waybar;
|
||||
@@ -56,15 +58,15 @@ in {
|
||||
format = "{icon}";
|
||||
format-icons = {
|
||||
"1" = "一";
|
||||
"2" = "二";
|
||||
"3" = "三";
|
||||
"4" = "四";
|
||||
"5" = "五";
|
||||
"6" = "六";
|
||||
"7" = "七";
|
||||
"8" = "八";
|
||||
"9" = "九";
|
||||
"10" = "十";
|
||||
"2" = "二";
|
||||
"3" = "三";
|
||||
"4" = "四";
|
||||
"5" = "五";
|
||||
"6" = "六";
|
||||
"7" = "七";
|
||||
"8" = "八";
|
||||
"9" = "九";
|
||||
"10" = "十";
|
||||
};
|
||||
on-scroll-up = "hyprctl dispatch workspace e+1";
|
||||
on-scroll-down = "hyprctl dispatch workspace e-1";
|
||||
@@ -195,98 +197,98 @@ in {
|
||||
tooltip = false;
|
||||
};
|
||||
}
|
||||
];
|
||||
style = ''
|
||||
* {
|
||||
font-family: JetBrainsMono Nerd Font Mono;
|
||||
font-size: 16px;
|
||||
border-radius: 0px;
|
||||
border: none;
|
||||
min-height: 0px;
|
||||
}
|
||||
window#waybar {
|
||||
background: rgba(0,0,0,0);
|
||||
}
|
||||
#workspaces {
|
||||
color: #${config.stylix.base16Scheme.base00};
|
||||
background: #${config.stylix.base16Scheme.base01};
|
||||
margin: 4px 4px;
|
||||
padding: 5px 5px;
|
||||
border-radius: 16px;
|
||||
}
|
||||
#workspaces button {
|
||||
font-weight: bold;
|
||||
padding: 0px 5px;
|
||||
margin: 0px 3px;
|
||||
border-radius: 16px;
|
||||
color: #${config.stylix.base16Scheme.base00};
|
||||
background: linear-gradient(45deg, #${config.stylix.base16Scheme.base08}, #${config.stylix.base16Scheme.base0D});
|
||||
opacity: 0.5;
|
||||
transition: ${betterTransition};
|
||||
}
|
||||
#workspaces button.active {
|
||||
font-weight: bold;
|
||||
padding: 0px 5px;
|
||||
margin: 0px 3px;
|
||||
border-radius: 16px;
|
||||
color: #${config.stylix.base16Scheme.base00};
|
||||
background: linear-gradient(45deg, #${config.stylix.base16Scheme.base08}, #${config.stylix.base16Scheme.base0D});
|
||||
transition: ${betterTransition};
|
||||
opacity: 1.0;
|
||||
min-width: 40px;
|
||||
}
|
||||
#workspaces button:hover {
|
||||
font-weight: bold;
|
||||
border-radius: 16px;
|
||||
color: #${config.stylix.base16Scheme.base00};
|
||||
background: linear-gradient(45deg, #${config.stylix.base16Scheme.base08}, #${config.stylix.base16Scheme.base0D});
|
||||
opacity: 0.8;
|
||||
transition: ${betterTransition};
|
||||
}
|
||||
tooltip {
|
||||
background: #${config.stylix.base16Scheme.base00};
|
||||
border: 1px solid #${config.stylix.base16Scheme.base08};
|
||||
border-radius: 12px;
|
||||
}
|
||||
tooltip label {
|
||||
color: #${config.stylix.base16Scheme.base08};
|
||||
}
|
||||
#window, #pulseaudio, #cpu, #memory, #idle_inhibitor {
|
||||
font-weight: bold;
|
||||
margin: 4px 0px;
|
||||
margin-left: 7px;
|
||||
padding: 0px 18px;
|
||||
background: #${config.stylix.base16Scheme.base04};
|
||||
color: #${config.stylix.base16Scheme.base00};
|
||||
border-radius: 24px 10px 24px 10px;
|
||||
}
|
||||
#custom-startmenu {
|
||||
color: #${config.stylix.base16Scheme.base0B};
|
||||
background: #${config.stylix.base16Scheme.base02};
|
||||
font-size: 28px;
|
||||
margin: 0px;
|
||||
padding: 0px 30px 0px 15px;
|
||||
border-radius: 0px 0px 40px 0px;
|
||||
}
|
||||
#custom-hyprbindings, #network, #battery,
|
||||
#custom-notification, #tray, #custom-exit {
|
||||
font-weight: bold;
|
||||
background: #${config.stylix.base16Scheme.base0F};
|
||||
color: #${config.stylix.base16Scheme.base00};
|
||||
margin: 4px 0px;
|
||||
margin-right: 7px;
|
||||
border-radius: 10px 24px 10px 24px;
|
||||
padding: 0px 18px;
|
||||
}
|
||||
#clock {
|
||||
font-weight: bold;
|
||||
color: #0D0E15;
|
||||
background: linear-gradient(90deg, #${config.stylix.base16Scheme.base0E}, #${config.stylix.base16Scheme.base0C});
|
||||
margin: 0px;
|
||||
padding: 0px 15px 0px 30px;
|
||||
border-radius: 0px 0px 0px 40px;
|
||||
}
|
||||
'';
|
||||
];
|
||||
style = ''
|
||||
* {
|
||||
font-family: JetBrainsMono Nerd Font Mono;
|
||||
font-size: 16px;
|
||||
border-radius: 0px;
|
||||
border: none;
|
||||
min-height: 0px;
|
||||
}
|
||||
window#waybar {
|
||||
background: rgba(0,0,0,0);
|
||||
}
|
||||
#workspaces {
|
||||
color: #${config.stylix.base16Scheme.base00};
|
||||
background: #${config.stylix.base16Scheme.base01};
|
||||
margin: 4px 4px;
|
||||
padding: 5px 5px;
|
||||
border-radius: 16px;
|
||||
}
|
||||
#workspaces button {
|
||||
font-weight: bold;
|
||||
padding: 0px 5px;
|
||||
margin: 0px 3px;
|
||||
border-radius: 16px;
|
||||
color: #${config.stylix.base16Scheme.base00};
|
||||
background: linear-gradient(45deg, #${config.stylix.base16Scheme.base08}, #${config.stylix.base16Scheme.base0D});
|
||||
opacity: 0.5;
|
||||
transition: ${betterTransition};
|
||||
}
|
||||
#workspaces button.active {
|
||||
font-weight: bold;
|
||||
padding: 0px 5px;
|
||||
margin: 0px 3px;
|
||||
border-radius: 16px;
|
||||
color: #${config.stylix.base16Scheme.base00};
|
||||
background: linear-gradient(45deg, #${config.stylix.base16Scheme.base08}, #${config.stylix.base16Scheme.base0D});
|
||||
transition: ${betterTransition};
|
||||
opacity: 1.0;
|
||||
min-width: 40px;
|
||||
}
|
||||
#workspaces button:hover {
|
||||
font-weight: bold;
|
||||
border-radius: 16px;
|
||||
color: #${config.stylix.base16Scheme.base00};
|
||||
background: linear-gradient(45deg, #${config.stylix.base16Scheme.base08}, #${config.stylix.base16Scheme.base0D});
|
||||
opacity: 0.8;
|
||||
transition: ${betterTransition};
|
||||
}
|
||||
tooltip {
|
||||
background: #${config.stylix.base16Scheme.base00};
|
||||
border: 1px solid #${config.stylix.base16Scheme.base08};
|
||||
border-radius: 12px;
|
||||
}
|
||||
tooltip label {
|
||||
color: #${config.stylix.base16Scheme.base08};
|
||||
}
|
||||
#window, #pulseaudio, #cpu, #memory, #idle_inhibitor {
|
||||
font-weight: bold;
|
||||
margin: 4px 0px;
|
||||
margin-left: 7px;
|
||||
padding: 0px 18px;
|
||||
background: #${config.stylix.base16Scheme.base04};
|
||||
color: #${config.stylix.base16Scheme.base00};
|
||||
border-radius: 24px 10px 24px 10px;
|
||||
}
|
||||
#custom-startmenu {
|
||||
color: #${config.stylix.base16Scheme.base0B};
|
||||
background: #${config.stylix.base16Scheme.base02};
|
||||
font-size: 28px;
|
||||
margin: 0px;
|
||||
padding: 0px 30px 0px 15px;
|
||||
border-radius: 0px 0px 40px 0px;
|
||||
}
|
||||
#custom-hyprbindings, #network, #battery,
|
||||
#custom-notification, #tray, #custom-exit {
|
||||
font-weight: bold;
|
||||
background: #${config.stylix.base16Scheme.base0F};
|
||||
color: #${config.stylix.base16Scheme.base00};
|
||||
margin: 4px 0px;
|
||||
margin-right: 7px;
|
||||
border-radius: 10px 24px 10px 24px;
|
||||
padding: 0px 18px;
|
||||
}
|
||||
#clock {
|
||||
font-weight: bold;
|
||||
color: #0D0E15;
|
||||
background: linear-gradient(90deg, #${config.stylix.base16Scheme.base0E}, #${config.stylix.base16Scheme.base0C});
|
||||
margin: 0px;
|
||||
padding: 0px 15px 0px 30px;
|
||||
border-radius: 0px 0px 0px 40px;
|
||||
}
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,10 +1,15 @@
|
||||
{ pkgs, lib, config, ... }:
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
let
|
||||
cfg = config.services.cli-environment;
|
||||
in
|
||||
{
|
||||
imports = [];
|
||||
imports = [ ];
|
||||
|
||||
options.services.cli-environment = {
|
||||
enable = mkEnableOption "enable cli-environment";
|
||||
@@ -25,10 +30,12 @@ in
|
||||
bat
|
||||
tree
|
||||
imv
|
||||
eza # ?
|
||||
eza # ?
|
||||
appimage-run
|
||||
nh
|
||||
openssl
|
||||
nixfmt-rfc-style
|
||||
nil
|
||||
];
|
||||
programs.fish.enable = true;
|
||||
};
|
||||
|
||||
@@ -1,10 +1,15 @@
|
||||
{ pkgs, lib, config, ... }:
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
let
|
||||
cfg = config.services.desktop-apps;
|
||||
in
|
||||
{
|
||||
imports = [];
|
||||
imports = [ ];
|
||||
|
||||
options.services.desktop-apps = {
|
||||
enable = mkEnableOption "enable desktop-apps";
|
||||
|
||||
@@ -1,10 +1,15 @@
|
||||
{ pkgs, lib, config, ... }:
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
let
|
||||
cfg = config.services.dev-environment;
|
||||
in
|
||||
{
|
||||
imports = [];
|
||||
imports = [ ];
|
||||
|
||||
options.services.dev-environment = {
|
||||
enable = mkEnableOption "enable dev-environment";
|
||||
|
||||
@@ -1,10 +1,15 @@
|
||||
{ pkgs, lib, config, ... }:
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
let
|
||||
cfg = config.services.fonts;
|
||||
in
|
||||
{
|
||||
imports = [];
|
||||
imports = [ ];
|
||||
|
||||
options.services.fonts = {
|
||||
enable = mkEnableOption "enable fonts";
|
||||
|
||||
@@ -1,10 +1,15 @@
|
||||
{ pkgs, lib, config, ... }:
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
let
|
||||
cfg = config.services.gaming;
|
||||
in
|
||||
{
|
||||
imports = [];
|
||||
imports = [ ];
|
||||
|
||||
options.services.gaming = {
|
||||
enable = mkEnableOption "enable gaming";
|
||||
@@ -14,7 +19,7 @@ in
|
||||
environment.systemPackages = with pkgs; [
|
||||
bottles
|
||||
steam
|
||||
discord
|
||||
discord
|
||||
openttd
|
||||
];
|
||||
programs.steam.enable = true;
|
||||
|
||||
@@ -1,10 +1,15 @@
|
||||
{ pkgs, lib, config, ... }:
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
let
|
||||
cfg = config.services.window-manager;
|
||||
in
|
||||
{
|
||||
imports = [];
|
||||
imports = [ ];
|
||||
|
||||
options.services.window-manager = {
|
||||
enable = mkEnableOption "enable window-manager";
|
||||
@@ -13,7 +18,7 @@ in
|
||||
config = mkIf cfg.enable {
|
||||
programs.hyprland.enable = true;
|
||||
programs.hyprlock.enable = true;
|
||||
security.pam.services.hyprlock = {};
|
||||
security.pam.services.hyprlock = { };
|
||||
environment.systemPackages = with pkgs; [
|
||||
# wofi
|
||||
dolphin
|
||||
|
||||
Reference in New Issue
Block a user