thanks raf (also fuck you raf)

This commit is contained in:
jacekpoz 2024-04-05 22:59:32 +02:00
parent d6586688ce
commit dd078d9c07
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8
30 changed files with 33 additions and 33 deletions

View file

@ -6,7 +6,7 @@
cfg = config.myOptions.programs.starship;
username = config.myOptions.other.system.username;
in {
options.myOptions.programs.starship.enable = mkEnableOption "enable starship";
options.myOptions.programs.starship.enable = mkEnableOption "starship";
config = mkIf cfg.enable {
home-manager.users.${username} = {

View file

@ -8,7 +8,7 @@
username = config.myOptions.other.system.username;
in {
options.myOptions.programs.zsh = {
enable = mkEnableOption "enable zsh";
enable = mkEnableOption "zsh";
extraAliases = mkOption {
type = types.attrs;
description = "extra shell aliases";

View file

@ -8,7 +8,7 @@
cfg = config.myOptions.programs.anyrun;
username = config.myOptions.other.system.username;
in {
options.myOptions.programs.anyrun.enable = mkEnableOption "enable anyrun";
options.myOptions.programs.anyrun.enable = mkEnableOption "anyrun";
config = mkIf cfg.enable {
nix.settings = {

View file

@ -10,7 +10,7 @@
storage = "ArmCord/storage";
in {
options.myOptions.programs.armcord = {
enable = mkEnableOption "enable armcord";
enable = mkEnableOption "armcord";
};
config = mkIf cfg.enable {

View file

@ -7,7 +7,7 @@
username = config.myOptions.other.system.username;
in {
options.myOptions.themes.cursor = {
enable = mkEnableOption "enable cursor theming";
enable = mkEnableOption "cursor theming";
package = mkOption {
description = "cursor theme package";
type = types.package;

View file

@ -55,7 +55,7 @@
};
in {
options.myOptions.programs.firefox = {
enable = mkEnableOption "enable firefox";
enable = mkEnableOption "firefox";
defaultSearchEngine = mkOption {
description = "name of the default search engine";
type = types.str;

View file

@ -9,7 +9,7 @@
username = config.myOptions.other.system.username;
in {
options.myOptions.programs.foot = {
enable = mkEnableOption "enable foot";
enable = mkEnableOption "foot";
server = mkOption {
description = "enable foot server mode";
default = true;

View file

@ -8,7 +8,7 @@
hmCfg = config.home-manager.users.${username};
in {
options.myOptions.themes.gtk = {
enable = mkEnableOption "enable gtk theming";
enable = mkEnableOption "gtk theming";
name = mkOption {
description = "gtk theme name";
type = types.str;

View file

@ -7,7 +7,7 @@
cfg = config.myOptions.programs.gtklock;
username = config.myOptions.other.system.username;
in {
options.myOptions.programs.gtklock.enable = mkEnableOption "enable gtklock";
options.myOptions.programs.gtklock.enable = mkEnableOption "gtklock";
config = mkIf cfg.enable {

View file

@ -22,7 +22,7 @@
inherit (inputs.hyprlock.packages.${pkgs.system}) hyprlock;
in {
options.myOptions.programs.hypr.land = {
enable = mkEnableOption "enable hiper ląd";
enable = mkEnableOption "hiper ląd";
startupSound = mkOption {
type = with types; nullOr path;
description = "sound to play on hyprland startup";

View file

@ -11,7 +11,7 @@
text_color = "rgba(eae0e4FF)";
in {
options.myOptions.programs.hypr.lock = {
enable = mkEnableOption "enable hiper zamek";
enable = mkEnableOption "hiper zamek";
extraSettings = mkOption {
type = types.attrs;
description = "extra per host hyprlock settings";

View file

@ -7,7 +7,7 @@
cfg = config.myOptions.programs.mpv;
username = config.myOptions.other.system.username;
in {
options.myOptions.programs.mpv.enable = mkEnableOption "enable mpv";
options.myOptions.programs.mpv.enable = mkEnableOption "mpv";
config = mkIf cfg.enable {
home-manager.users.${username} = {

View file

@ -9,8 +9,8 @@
username = config.myOptions.other.system.username;
in {
options.myOptions.programs.osu = {
enable = mkEnableOption "enable osu!";
enableStable = mkEnableOption "enable osu!stable";
enable = mkEnableOption "osu!";
enableStable = mkEnableOption "osu!stable";
};
config = mkIf (cfg.enable || cfg.enableStable) {

View file

@ -8,7 +8,7 @@
username = config.myOptions.other.system.username;
in {
options.myOptions.themes.qt = {
enable = mkEnableOption "enable qt theming";
enable = mkEnableOption "qt theming";
name = mkOption {
description = "qt theme name";
type = types.str;

View file

@ -8,7 +8,7 @@
username = config.myOptions.other.system.username;
in {
options.myOptions.programs.schizofox = {
enable = mkEnableOption "enable schizofox";
enable = mkEnableOption "schizofox";
};
config = mkIf cfg.enable {

View file

@ -8,7 +8,7 @@
cfg = config.myOptions.programs.swaylock;
username = config.myOptions.other.system.username;
in {
options.myOptions.programs.swaylock.enable = mkEnableOption "enable swaylock";
options.myOptions.programs.swaylock.enable = mkEnableOption "swaylock";
config = mkIf cfg.enable {

View file

@ -8,7 +8,7 @@
username = config.myOptions.other.system.username;
in {
options.myOptions.programs.vesktop = {
enable = mkEnableOption "enable vesktop";
enable = mkEnableOption "vesktop";
};
config = mkIf cfg.enable {

View file

@ -7,7 +7,7 @@
cfg = config.myOptions.programs.zathura;
username = config.myOptions.other.system.username;
in {
options.myOptions.programs.zathura.enable = mkEnableOption "enable zathura";
options.myOptions.programs.zathura.enable = mkEnableOption "zathura";
config = mkIf cfg.enable {
home-manager.users.${username} = {

View file

@ -9,8 +9,8 @@
username = config.myOptions.other.system.username;
in {
options.myOptions.other.home-manager = {
enable = mkEnableOption "enable home-manager";
enableDirenv = mkEnableOption "enable direnv";
enable = mkEnableOption "home-manager";
enableDirenv = mkEnableOption "direnv";
};
config = mkIf cfg.enable {

View file

@ -8,7 +8,7 @@
cfg = config.myOptions.services.dunst;
username = config.myOptions.other.system.username;
in {
options.myOptions.services.dunst.enable = mkEnableOption "enable dunst";
options.myOptions.services.dunst.enable = mkEnableOption "dunst";
config = mkIf cfg.enable {
home-manager.users.${username} = {

View file

@ -8,7 +8,7 @@
username = config.myOptions.other.system.username;
in {
# stolen from https://git.outfoxxed.me/outfoxxed/nixnew/src/branch/master/modules/user/modules/fcitx5
options.myOptions.services.fcitx5.enable = mkEnableOption "enable fcitx5";
options.myOptions.services.fcitx5.enable = mkEnableOption "fcitx5";
config = mkIf cfg.enable {
i18n.inputMethod = {

View file

@ -26,7 +26,7 @@
'';
in {
options.myOptions.services.greetd = {
enable = mkEnableOption "enable greetd";
enable = mkEnableOption "greetd";
greeter = mkOption {
description = "greetd frontend to use";
type = types.str;

View file

@ -6,7 +6,7 @@
cfg = config.myOptions.services.mpd;
username = config.myOptions.other.system.username;
in {
options.myOptions.services.mpd.enable = mkEnableOption "enable mpd";
options.myOptions.services.mpd.enable = mkEnableOption "mpd";
config = mkIf cfg.enable {
home-manager.users.${username} = {

View file

@ -5,7 +5,7 @@
}: with lib; let
cfg = config.myOptions.services.pipewire;
in {
options.myOptions.services.pipewire.enable = mkEnableOption "enable pipewire";
options.myOptions.services.pipewire.enable = mkEnableOption "pipewire";
config = mkIf cfg.enable {
hardware.pulseaudio.enable = false;

View file

@ -11,7 +11,7 @@ in {
description = "sshd options";
type = with types; submodule {
options = {
enable = mkEnableOption "enable sshd";
enable = mkEnableOption "sshd";
passwordAuth = mkOption {
description = "allow password auth";
default = false;
@ -29,7 +29,7 @@ in {
description = "ssh agent options";
type = with types; submodule {
options = {
enable = mkEnableOption "enable ssh-agent";
enable = mkEnableOption "ssh-agent";
hostAliases = mkOption {
description = "host aliases";
type = with types; attrsOf (submodule {

View file

@ -8,7 +8,7 @@
hmCfg = config.home-manager.users.${username};
in {
options.myOptions.services.syncthing = {
enable = mkEnableOption "enable syncthing";
enable = mkEnableOption "syncthing";
extraSettings = mkOption {
type = types.attrs;
description = "extra per host syncthing settings";

View file

@ -6,7 +6,7 @@
cfg = config.myOptions.programs.btop;
username = config.myOptions.other.system.username;
in {
options.myOptions.programs.btop.enable = mkEnableOption "enable btop";
options.myOptions.programs.btop.enable = mkEnableOption "btop";
config = mkIf cfg.enable {
home-manager.users.${username} = {

View file

@ -8,7 +8,7 @@
cfg = config.myOptions.programs.helix;
username = config.myOptions.other.system.username;
in {
options.myOptions.programs.helix.enable = mkEnableOption "enable helix";
options.myOptions.programs.helix.enable = mkEnableOption "helix";
config = mkIf cfg.enable {
nix.settings = {

View file

@ -8,7 +8,7 @@
cfg = config.myOptions.programs.neovim;
username = config.myOptions.other.system.username;
in {
options.myOptions.programs.neovim.enable = mkEnableOption "enable neovim";
options.myOptions.programs.neovim.enable = mkEnableOption "neovim";
config = mkIf cfg.enable {
nixpkgs.overlays = [ inputs.neovim-nightly-overlay.overlay ];

View file

@ -6,7 +6,7 @@
cfg = config.myOptions.programs.newsboat;
username = config.myOptions.other.system.username;
in {
options.myOptions.programs.newsboat.enable = mkEnableOption "enable newsboat";
options.myOptions.programs.newsboat.enable = mkEnableOption "newsboat";
config = mkIf cfg.enable {
home-manager.users.${username} = {