lint
This commit is contained in:
parent
9c92ea27e3
commit
8a2127b3d8
37 changed files with 75 additions and 67 deletions
|
@ -3,4 +3,6 @@ root = true
|
||||||
[*]
|
[*]
|
||||||
end_of_line = lf
|
end_of_line = lf
|
||||||
indent_style = space
|
indent_style = space
|
||||||
indent_size = 2
|
indent_size = 2
|
||||||
|
insert_final_newline = true
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
|
|
@ -11,13 +11,15 @@ for something more server oriented, check out [`nix-server`](https://git.reidlab
|
||||||
## hosts
|
## hosts
|
||||||
|
|
||||||
each host should have these files:
|
each host should have these files:
|
||||||
|
|
||||||
- `default.nix`, contains everything relating to the basic system
|
- `default.nix`, contains everything relating to the basic system
|
||||||
- `hardware.nix`, hardware configuration.
|
- `hardware.nix`, hardware configuration.
|
||||||
|
|
||||||
## todo
|
## todo
|
||||||
|
|
||||||
- multi architecture configuration ([nix-systems](https://github.com/nix-systems/nix-systems)?)
|
- multi architecture configuration ([nix-systems](https://github.com/nix-systems/nix-systems)?)
|
||||||
- divide steam and gamemode?
|
- divide steam and gamemode?
|
||||||
- hidpi and cursor size option ? mostly auto these days though
|
- hidpi and cursor size option ? mostly auto these days though
|
||||||
- better theming for hyprlock, rofi, dunst (accent for hyprlock & dunst, variants for rofi)
|
- better theming for hyprlock, rofi, dunst (accent for hyprlock & dunst, variants for rofi)
|
||||||
- libinput
|
- libinput
|
||||||
- some way for border radius, border, tranparency theme options
|
- some way for border radius, border, tranparency theme options
|
||||||
|
|
10
default.nix
10
default.nix
|
@ -6,7 +6,7 @@ let
|
||||||
inherit (lib.my) mapModulesRec';
|
inherit (lib.my) mapModulesRec';
|
||||||
in {
|
in {
|
||||||
imports =
|
imports =
|
||||||
[
|
[
|
||||||
inputs.home-manager.nixosModules.home-manager
|
inputs.home-manager.nixosModules.home-manager
|
||||||
(mkAliasOptionModule ["hm"] ["home-manager" "users" config.user.name])
|
(mkAliasOptionModule ["hm"] ["home-manager" "users" config.user.name])
|
||||||
inputs.nix-colors.homeManagerModules.default
|
inputs.nix-colors.homeManagerModules.default
|
||||||
|
@ -29,14 +29,14 @@ in {
|
||||||
# might not be needed? see: https://github.com/NixOS/nixpkgs/commit/e456032addae76701eb17e6c03fc515fd78ad74f
|
# might not be needed? see: https://github.com/NixOS/nixpkgs/commit/e456032addae76701eb17e6c03fc515fd78ad74f
|
||||||
nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
|
nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
|
||||||
registry.nixpkgs.flake = inputs.nixpkgs;
|
registry.nixpkgs.flake = inputs.nixpkgs;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
experimental-features = [ "nix-command" "flakes" ];
|
experimental-features = [ "nix-command" "flakes" ];
|
||||||
auto-optimise-store = true;
|
auto-optimise-store = true;
|
||||||
keep-outputs = true;
|
keep-outputs = true;
|
||||||
keep-derivations = true;
|
keep-derivations = true;
|
||||||
substituters = [
|
substituters = [
|
||||||
"https://nix-community.cachix.org"
|
"https://nix-community.cachix.org"
|
||||||
"https://nixpkgs-wayland.cachix.org"
|
"https://nixpkgs-wayland.cachix.org"
|
||||||
"https://hyprland.cachix.org"
|
"https://hyprland.cachix.org"
|
||||||
"https://cache.soopy.moe"
|
"https://cache.soopy.moe"
|
||||||
|
@ -70,7 +70,7 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
time.timeZone = mkDefault "America/Los_Angeles";
|
time.timeZone = mkDefault "America/Los_Angeles";
|
||||||
|
|
||||||
i18n.defaultLocale = mkDefault "en_US.UTF-8";
|
i18n.defaultLocale = mkDefault "en_US.UTF-8";
|
||||||
|
|
||||||
hardware.enableRedistributableFirmware = true;
|
hardware.enableRedistributableFirmware = true;
|
||||||
|
|
14
flake.nix
14
flake.nix
|
@ -22,7 +22,7 @@
|
||||||
waybar-catppuccin.flake = false;
|
waybar-catppuccin.flake = false;
|
||||||
hyprland-catppuccin.url = "github:catppuccin/hyprland";
|
hyprland-catppuccin.url = "github:catppuccin/hyprland";
|
||||||
hyprland-catppuccin.flake = false;
|
hyprland-catppuccin.flake = false;
|
||||||
|
|
||||||
catppuccin-vsc.url = "github:catppuccin/vscode";
|
catppuccin-vsc.url = "github:catppuccin/vscode";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
inherit (lib.my) mapModules mapModulesRec mapHosts;
|
inherit (lib.my) mapModules mapModulesRec mapHosts;
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
|
|
||||||
mkPkgs = pkgs: extraOverlays:
|
mkPkgs = pkgs: extraOverlays:
|
||||||
import pkgs {
|
import pkgs {
|
||||||
inherit system;
|
inherit system;
|
||||||
config.allowUnfree = true;
|
config.allowUnfree = true;
|
||||||
|
@ -48,19 +48,19 @@
|
||||||
});
|
});
|
||||||
in {
|
in {
|
||||||
lib = lib.my;
|
lib = lib.my;
|
||||||
|
|
||||||
overlays =
|
overlays =
|
||||||
(mapModules ./overlays import)
|
(mapModules ./overlays import)
|
||||||
// {
|
// {
|
||||||
default = final: prev: {
|
default = final: prev: {
|
||||||
my = self.packages.${system};
|
my = self.packages.${system};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
packages."${system}" = mapModules ./packages (p: pkgs.callPackage p {});
|
packages."${system}" = mapModules ./packages (p: pkgs.callPackage p {});
|
||||||
|
|
||||||
nixosModules = mapModulesRec ./modules import;
|
nixosModules = mapModulesRec ./modules import;
|
||||||
|
|
||||||
nixosConfigurations = mapHosts ./hosts {};
|
nixosConfigurations = mapHosts ./hosts {};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
|
|
||||||
modules = {
|
modules = {
|
||||||
security.useDoas = true;
|
security.useDoas = true;
|
||||||
|
|
||||||
hardware = {
|
hardware = {
|
||||||
bluetooth.enable = true;
|
bluetooth.enable = true;
|
||||||
pipewire.enable = true;
|
pipewire.enable = true;
|
||||||
|
|
|
@ -2,15 +2,15 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
[
|
[
|
||||||
inputs.hardware.nixosModules.common-cpu-intel
|
inputs.hardware.nixosModules.common-cpu-intel
|
||||||
inputs.hardware.nixosModules.common-pc-laptop-ssd
|
inputs.hardware.nixosModules.common-pc-laptop-ssd
|
||||||
inputs.hardware.nixosModules.common-pc-laptop
|
inputs.hardware.nixosModules.common-pc-laptop
|
||||||
# this will override your kernel!!!
|
# this will override your kernel!!!
|
||||||
# use this on macs with t2 chips to get screen, keyboard, trackpad,
|
# use this on macs with t2 chips to get screen, keyboard, trackpad,
|
||||||
# camera, touchbar, and experimental suspend and audio
|
# camera, touchbar, and experimental suspend and audio
|
||||||
inputs.hardware.nixosModules.apple-t2
|
inputs.hardware.nixosModules.apple-t2
|
||||||
|
|
||||||
(modulesPath + "/installer/scan/not-detected.nix")
|
(modulesPath + "/installer/scan/not-detected.nix")
|
||||||
|
|
||||||
./apple-macbook-air-9-1.nix
|
./apple-macbook-air-9-1.nix
|
||||||
|
|
|
@ -16,5 +16,5 @@
|
||||||
mylib =
|
mylib =
|
||||||
makeExtensible (self:
|
makeExtensible (self:
|
||||||
mapModules ./. (file: import file {inherit self lib pkgs inputs;}));
|
mapModules ./. (file: import file {inherit self lib pkgs inputs;}));
|
||||||
in
|
in
|
||||||
mylib.extend (self: super: foldr (a: b: a // b) {} (attrValues super))
|
mylib.extend (self: super: foldr (a: b: a // b) {} (attrValues super))
|
||||||
|
|
|
@ -20,4 +20,4 @@ in {
|
||||||
"${lib.getExe cfg.package} -w 20 -c 10 -d 5 -p -m 2"
|
"${lib.getExe cfg.package} -w 20 -c 10 -d 5 -p -m 2"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,4 +33,4 @@ in {
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,7 +17,7 @@ in {
|
||||||
width = 300;
|
width = 300;
|
||||||
height = 145;
|
height = 145;
|
||||||
frame_color = "#f5c2e7"; # catppuccin pink
|
frame_color = "#f5c2e7"; # catppuccin pink
|
||||||
|
|
||||||
origin = "top-right";
|
origin = "top-right";
|
||||||
vertical_alignment = "center";
|
vertical_alignment = "center";
|
||||||
ellipsize = "middle";
|
ellipsize = "middle";
|
||||||
|
@ -40,7 +40,7 @@ in {
|
||||||
progress_bar_frame_width = 1;
|
progress_bar_frame_width = 1;
|
||||||
progress_bar_min_width = 150;
|
progress_bar_min_width = 150;
|
||||||
progress_bar_max_width = 300;
|
progress_bar_max_width = 300;
|
||||||
|
|
||||||
alignment = "left";
|
alignment = "left";
|
||||||
markup = "full";
|
markup = "full";
|
||||||
format = "<b>%a</b>\\n<b>%s</b>\\n%b";
|
format = "<b>%a</b>\\n<b>%s</b>\\n%b";
|
||||||
|
|
|
@ -27,7 +27,7 @@ in {
|
||||||
options.modules.desktop.fonts = {
|
options.modules.desktop.fonts = {
|
||||||
enable = mkEnableOption "Enable the font configuration module, configuring your chosen fonts";
|
enable = mkEnableOption "Enable the font configuration module, configuring your chosen fonts";
|
||||||
baseFonts = mkEnableOption "Add an extra set of base fonts";
|
baseFonts = mkEnableOption "Add an extra set of base fonts";
|
||||||
|
|
||||||
fonts = {
|
fonts = {
|
||||||
sansSerif = mkFontOption "sansSerif" {
|
sansSerif = mkFontOption "sansSerif" {
|
||||||
package = pkgs.my.lexica-ultralegible;
|
package = pkgs.my.lexica-ultralegible;
|
||||||
|
@ -74,7 +74,7 @@ in {
|
||||||
emoji = [ cfg.fonts.emoji.family ];
|
emoji = [ cfg.fonts.emoji.family ];
|
||||||
};
|
};
|
||||||
enableGhostscriptFonts = true;
|
enableGhostscriptFonts = true;
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
corefonts
|
corefonts
|
||||||
noto-fonts
|
noto-fonts
|
||||||
noto-fonts-cjk-sans
|
noto-fonts-cjk-sans
|
||||||
|
@ -89,7 +89,7 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
hm.gtk.enable = true;
|
hm.gtk.enable = true;
|
||||||
hm.gtk.font = with cfg.fonts.sansSerif; {
|
hm.gtk.font = with cfg.fonts.sansSerif; {
|
||||||
package = package;
|
package = package;
|
||||||
name = family;
|
name = family;
|
||||||
|
|
||||||
|
|
|
@ -18,4 +18,4 @@ in {
|
||||||
provider = "manual";
|
provider = "manual";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,7 +10,7 @@ in {
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
user.packages = with pkgs; [ seahorse ];
|
user.packages = with pkgs; [ seahorse ];
|
||||||
|
|
||||||
services.gnome.gnome-keyring.enable = true;
|
services.gnome.gnome-keyring.enable = true;
|
||||||
security.pam.services.login.enableGnomeKeyring = true;
|
security.pam.services.login.enableGnomeKeyring = true;
|
||||||
};
|
};
|
||||||
|
|
|
@ -90,7 +90,7 @@ in {
|
||||||
bindr = [ # "bind released"
|
bindr = [ # "bind released"
|
||||||
"SUPER, Super_L, exec, ${lib.getExe pkgs.nwg-drawer}"
|
"SUPER, Super_L, exec, ${lib.getExe pkgs.nwg-drawer}"
|
||||||
];
|
];
|
||||||
bind = let
|
bind = let
|
||||||
screenshotScript = pkgs.writeScript "screenshot" ''
|
screenshotScript = pkgs.writeScript "screenshot" ''
|
||||||
temp_file=$(mktemp)
|
temp_file=$(mktemp)
|
||||||
trap 'rm -f "$temp_file"' EXIT
|
trap 'rm -f "$temp_file"' EXIT
|
||||||
|
@ -200,7 +200,7 @@ in {
|
||||||
|
|
||||||
monitor=",highrr,auto,auto";
|
monitor=",highrr,auto,auto";
|
||||||
|
|
||||||
exec-once = [
|
exec-once = [
|
||||||
"${lib.getExe pkgs.networkmanagerapplet}" # network applet
|
"${lib.getExe pkgs.networkmanagerapplet}" # network applet
|
||||||
"${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1" # polkit agent
|
"${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1" # polkit agent
|
||||||
"${lib.getExe pkgs.wl-clip-persist} --clipboard regular" # to fix wl clipboards disappearing
|
"${lib.getExe pkgs.wl-clip-persist} --clipboard regular" # to fix wl clipboards disappearing
|
||||||
|
@ -219,7 +219,7 @@ in {
|
||||||
|
|
||||||
layout = "dwindle";
|
layout = "dwindle";
|
||||||
|
|
||||||
resize_on_border = true;
|
resize_on_border = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
windowrulev2 = [
|
windowrulev2 = [
|
||||||
|
|
|
@ -11,7 +11,7 @@ in {
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
boot.plymouth = {
|
boot.plymouth = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
themePackages = [ config.modules.desktop.themes.plymouthTheme.package ];
|
themePackages = [ config.modules.desktop.themes.plymouthTheme.package ];
|
||||||
theme = config.modules.desktop.themes.plymouthTheme.name;
|
theme = config.modules.desktop.themes.plymouthTheme.name;
|
||||||
};
|
};
|
||||||
|
@ -37,4 +37,4 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,7 +18,7 @@ in {
|
||||||
services.displayManager.sddm = {
|
services.displayManager.sddm = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.kdePackages.sddm;
|
package = pkgs.kdePackages.sddm;
|
||||||
wayland.enable = config.modules.desktop.envProto == "wayland";
|
wayland.enable = config.modules.desktop.envProto == "wayland";
|
||||||
wayland.compositor = "kwin";
|
wayland.compositor = "kwin";
|
||||||
theme = config.modules.desktop.themes.sddmTheme.name;
|
theme = config.modules.desktop.themes.sddmTheme.name;
|
||||||
settings = {
|
settings = {
|
||||||
|
|
|
@ -20,7 +20,7 @@ in {
|
||||||
if [ ! -f "${lastWallpaper}" ]; then
|
if [ ! -f "${lastWallpaper}" ]; then
|
||||||
echo "$(ls ${wallpapersFolder} | shuf -n 1)" > "${lastWallpaper}"
|
echo "$(ls ${wallpapersFolder} | shuf -n 1)" > "${lastWallpaper}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
${cfg.package}/bin/swww-daemon &
|
${cfg.package}/bin/swww-daemon &
|
||||||
${lib.getExe cfg.package} img "${wallpapersFolder}/$(cat ${lastWallpaper})" --transition-type none
|
${lib.getExe cfg.package} img "${wallpapersFolder}/$(cat ${lastWallpaper})" --transition-type none
|
||||||
'';
|
'';
|
||||||
|
@ -43,4 +43,4 @@ in {
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
modules.desktop.execOnStart = [ "${cfg.startScript}" ];
|
modules.desktop.execOnStart = [ "${cfg.startScript}" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,4 +30,4 @@ button {
|
||||||
|
|
||||||
button:hover, button:active, box:hover, box:active {
|
button:hover, button:active, box:hover, box:active {
|
||||||
background: alpha(@surface0, 0.5);
|
background: alpha(@surface0, 0.5);
|
||||||
}
|
}
|
||||||
|
|
|
@ -95,4 +95,4 @@ button {
|
||||||
button.selected {
|
button.selected {
|
||||||
background-color: @bg-col;
|
background-color: @bg-col;
|
||||||
text-color: @pink;
|
text-color: @pink;
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,7 +17,7 @@ window#waybar {
|
||||||
font-family: "CozetteVector", monospace, "FontAwesome 6 Free", "Noto Sans CJK";
|
font-family: "CozetteVector", monospace, "FontAwesome 6 Free", "Noto Sans CJK";
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
|
|
||||||
border: 1px solid @surface0;
|
border: 1px solid @surface0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -158,4 +158,4 @@ tooltip * {
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
color: @text;
|
color: @text;
|
||||||
font-family: CozetteVector, monospace;
|
font-family: CozetteVector, monospace;
|
||||||
}
|
}
|
||||||
|
|
|
@ -113,7 +113,7 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
hm.programs.vscode = {
|
hm.programs.vscode = {
|
||||||
extensions = [
|
extensions = [
|
||||||
cfg.editor.vscode.colorTheme.extension
|
cfg.editor.vscode.colorTheme.extension
|
||||||
cfg.editor.vscode.iconTheme.extension
|
cfg.editor.vscode.iconTheme.extension
|
||||||
];
|
];
|
||||||
|
|
|
@ -25,7 +25,7 @@ in {
|
||||||
settings = {
|
settings = {
|
||||||
"" = {
|
"" = {
|
||||||
timeout = 1000;
|
timeout = 1000;
|
||||||
|
|
||||||
border_offset = 2;
|
border_offset = 2;
|
||||||
border_size = 2;
|
border_size = 2;
|
||||||
bar_padding = 2;
|
bar_padding = 2;
|
||||||
|
@ -42,4 +42,4 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,4 +15,4 @@ in {
|
||||||
nix-direnv.enable = true;
|
nix-direnv.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,4 +33,4 @@ with lib;
|
||||||
IOSchedulingClass = "idle";
|
IOSchedulingClass = "idle";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,7 +15,7 @@ in {
|
||||||
|
|
||||||
# disable kernel parameter editing on boot
|
# disable kernel parameter editing on boot
|
||||||
loader.systemd-boot.editor = false;
|
loader.systemd-boot.editor = false;
|
||||||
|
|
||||||
kernel.sysctl = {
|
kernel.sysctl = {
|
||||||
# magic sysrq key, allows low-level commands through keyboard input
|
# magic sysrq key, allows low-level commands through keyboard input
|
||||||
"kernel.sysrq" = 0;
|
"kernel.sysrq" = 0;
|
||||||
|
|
|
@ -25,7 +25,7 @@ in {
|
||||||
# General
|
# General
|
||||||
"*.direnv"
|
"*.direnv"
|
||||||
"*.envrc"
|
"*.envrc"
|
||||||
|
|
||||||
# OS related
|
# OS related
|
||||||
".DS_Store?"
|
".DS_Store?"
|
||||||
".DS_Store"
|
".DS_Store"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ lib, config, pkgs, ... }:
|
{ lib, config, pkgs, ... }:
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
cfg = config.modules.software.distractions.discord;
|
cfg = config.modules.software.distractions.discord;
|
||||||
flags = [
|
flags = [
|
||||||
"--flag-switches-begin"
|
"--flag-switches-begin"
|
||||||
|
@ -46,4 +46,4 @@ in {
|
||||||
}))
|
}))
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,4 +36,4 @@ in {
|
||||||
|
|
||||||
user.packages = [ pkgs.protontricks pkgs.steam-run ];
|
user.packages = [ pkgs.protontricks pkgs.steam-run ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,11 +26,15 @@ in {
|
||||||
github.copilot
|
github.copilot
|
||||||
|
|
||||||
# language specific
|
# language specific
|
||||||
astro-build.astro-vscode
|
# js/ts
|
||||||
dbaeumer.vscode-eslint
|
dbaeumer.vscode-eslint
|
||||||
|
astro-build.astro-vscode
|
||||||
|
# rs
|
||||||
rust-lang.rust-analyzer
|
rust-lang.rust-analyzer
|
||||||
|
# lua
|
||||||
sumneko.lua
|
sumneko.lua
|
||||||
] ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
|
] ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
|
||||||
|
# general extensions
|
||||||
{
|
{
|
||||||
name = "discord-vscode";
|
name = "discord-vscode";
|
||||||
publisher = "icrawl";
|
publisher = "icrawl";
|
||||||
|
|
|
@ -12,4 +12,4 @@ in {
|
||||||
hm.programs.eza.enable = true;
|
hm.programs.eza.enable = true;
|
||||||
hm.programs.eza.git = true;
|
hm.programs.eza.git = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,13 +11,13 @@ in {
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
# runtime dependencies of plugins
|
# runtime dependencies of plugins
|
||||||
user.packages = with pkgs; [
|
user.packages = with pkgs; [
|
||||||
# fzf-fish
|
# fzf-fish
|
||||||
bat fd fzf
|
bat fd fzf
|
||||||
# grc
|
# grc
|
||||||
grc
|
grc
|
||||||
# tide
|
# tide
|
||||||
fishPlugins.tide
|
fishPlugins.tide
|
||||||
# done
|
# done
|
||||||
libnotify
|
libnotify
|
||||||
];
|
];
|
||||||
|
@ -28,10 +28,10 @@ in {
|
||||||
colorScript = nix-colors-lib.shellThemeFromScheme { scheme = config.colorScheme; };
|
colorScript = nix-colors-lib.shellThemeFromScheme { scheme = config.colorScheme; };
|
||||||
in {
|
in {
|
||||||
enable = true;
|
enable = true;
|
||||||
plugins = with pkgs.fishPlugins; [
|
plugins = with pkgs.fishPlugins; [
|
||||||
{ name = "fzf-fish"; src = fzf-fish.src; }
|
{ name = "fzf-fish"; src = fzf-fish.src; }
|
||||||
{ name = "grc"; src = grc.src; }
|
{ name = "grc"; src = grc.src; }
|
||||||
{ name = "tide"; src = tide.src; }
|
{ name = "tide"; src = tide.src; }
|
||||||
{ name = "done"; src = done.src; }
|
{ name = "done"; src = done.src; }
|
||||||
|
|
||||||
{ name = "autopair"; src = autopair.src; }
|
{ name = "autopair"; src = autopair.src; }
|
||||||
|
|
|
@ -13,4 +13,4 @@ in {
|
||||||
hm.home.packages = [ pkgs.flatpak ];
|
hm.home.packages = [ pkgs.flatpak ];
|
||||||
fonts.fontDir.enable = true;
|
fonts.fontDir.enable = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,4 +22,4 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,4 +18,4 @@ in {
|
||||||
pinentryPackage = pkgs.pinentry-gnome3;
|
pinentryPackage = pkgs.pinentry-gnome3;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,7 +23,7 @@ in {
|
||||||
mode = "noalbumart";
|
mode = "noalbumart";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
scripts = with pkgs.mpvScripts; [
|
scripts = with pkgs.mpvScripts; [
|
||||||
mpris
|
mpris
|
||||||
modernx
|
modernx
|
||||||
|
@ -32,4 +32,4 @@ in {
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,4 +11,4 @@ in {
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
programs.noisetorch.enable = true;
|
programs.noisetorch.enable = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,4 +16,4 @@ in {
|
||||||
settings.pinentry = pkgs.pinentry-gnome3;
|
settings.pinentry = pkgs.pinentry-gnome3;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue