diff options
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/default.nix (renamed from modules/home-manager/default.nix) | 1 | ||||
| -rw-r--r-- | modules/emacs.nix (renamed from modules/home-manager/emacs.nix) | 0 | ||||
| -rw-r--r-- | modules/foot.nix (renamed from modules/home-manager/foot.nix) | 0 | ||||
| -rw-r--r-- | modules/git.nix (renamed from modules/home-manager/git.nix) | 0 | ||||
| -rw-r--r-- | modules/home-manager/nixcord.nix | 22 | ||||
| -rw-r--r-- | modules/neovim/default.nix (renamed from modules/home-manager/neovim/default.nix) | 0 | ||||
| -rw-r--r-- | modules/neovim/lua/autocmds.lua (renamed from modules/home-manager/neovim/lua/autocmds.lua) | 0 | ||||
| -rw-r--r-- | modules/neovim/lua/keymaps.lua (renamed from modules/home-manager/neovim/lua/keymaps.lua) | 0 | ||||
| -rw-r--r-- | modules/neovim/lua/options.lua (renamed from modules/home-manager/neovim/lua/options.lua) | 0 | ||||
| -rw-r--r-- | modules/neovim/lua/plugins.lua (renamed from modules/home-manager/neovim/lua/plugins.lua) | 0 | ||||
| -rw-r--r-- | modules/nextcloud.nix (renamed from modules/home-manager/nextcloud.nix) | 0 | ||||
| -rw-r--r-- | modules/nixcord.nix | 28 | ||||
| -rw-r--r-- | modules/nixos/audio.nix | 16 | ||||
| -rw-r--r-- | modules/nixos/default.nix | 6 | ||||
| -rw-r--r-- | modules/nixos/wooting.nix | 34 | ||||
| -rw-r--r-- | modules/spicetify.nix (renamed from modules/home-manager/spicetify.nix) | 2 | ||||
| -rw-r--r-- | modules/sway.nix (renamed from modules/home-manager/sway.nix) | 0 | ||||
| -rw-r--r-- | modules/tmux.nix (renamed from modules/home-manager/tmux.nix) | 0 | ||||
| -rw-r--r-- | modules/waybar.nix (renamed from modules/home-manager/waybar.nix) | 0 | ||||
| -rw-r--r-- | modules/zsh.nix (renamed from modules/home-manager/zsh.nix) | 0 |
20 files changed, 29 insertions, 80 deletions
diff --git a/modules/home-manager/default.nix b/modules/default.nix index ebddc5f..8a68d80 100644 --- a/modules/home-manager/default.nix +++ b/modules/default.nix @@ -10,6 +10,5 @@ ./neovim/default.nix ./nextcloud.nix ./spicetify.nix - ./nixcord.nix ]; } diff --git a/modules/home-manager/emacs.nix b/modules/emacs.nix index 47192a4..47192a4 100644 --- a/modules/home-manager/emacs.nix +++ b/modules/emacs.nix diff --git a/modules/home-manager/foot.nix b/modules/foot.nix index 107b7bb..107b7bb 100644 --- a/modules/home-manager/foot.nix +++ b/modules/foot.nix diff --git a/modules/home-manager/git.nix b/modules/git.nix index 2e44a34..2e44a34 100644 --- a/modules/home-manager/git.nix +++ b/modules/git.nix diff --git a/modules/home-manager/nixcord.nix b/modules/home-manager/nixcord.nix deleted file mode 100644 index 8b085c4..0000000 --- a/modules/home-manager/nixcord.nix +++ /dev/null @@ -1,22 +0,0 @@ -{ config, lib, pkgs, inputs, ... }: - -let - cfg = config.nixcord; -in { - options.nixcord.enable = lib.mkEnableOption "Enable nixord and setup"; - config = lib.mkIf cfg.enable { - programs.nixcord = { - enable = true; - config = { - themeLinks = [ - "https://github.com/TheCommieAxolotl/BetterDiscord-Stuff/blob/main/Ultra/Ultra.theme.css" - ]; - frameless = true; - plugins = { - alwaysAnimate.enable = true; - clearURLs.enable = true; - }; - }; - }; - }; -} diff --git a/modules/home-manager/neovim/default.nix b/modules/neovim/default.nix index 415861a..415861a 100644 --- a/modules/home-manager/neovim/default.nix +++ b/modules/neovim/default.nix diff --git a/modules/home-manager/neovim/lua/autocmds.lua b/modules/neovim/lua/autocmds.lua index f7e6923..f7e6923 100644 --- a/modules/home-manager/neovim/lua/autocmds.lua +++ b/modules/neovim/lua/autocmds.lua diff --git a/modules/home-manager/neovim/lua/keymaps.lua b/modules/neovim/lua/keymaps.lua index e69de29..e69de29 100644 --- a/modules/home-manager/neovim/lua/keymaps.lua +++ b/modules/neovim/lua/keymaps.lua diff --git a/modules/home-manager/neovim/lua/options.lua b/modules/neovim/lua/options.lua index 891668f..891668f 100644 --- a/modules/home-manager/neovim/lua/options.lua +++ b/modules/neovim/lua/options.lua diff --git a/modules/home-manager/neovim/lua/plugins.lua b/modules/neovim/lua/plugins.lua index 7c2d956..7c2d956 100644 --- a/modules/home-manager/neovim/lua/plugins.lua +++ b/modules/neovim/lua/plugins.lua diff --git a/modules/home-manager/nextcloud.nix b/modules/nextcloud.nix index 6e8774f..6e8774f 100644 --- a/modules/home-manager/nextcloud.nix +++ b/modules/nextcloud.nix diff --git a/modules/nixcord.nix b/modules/nixcord.nix new file mode 100644 index 0000000..a969edf --- /dev/null +++ b/modules/nixcord.nix @@ -0,0 +1,28 @@ +{ config, lib, pkgs, inputs, ... }: + +let + cfg = config.nixcord; +in { + options.nixcord.enable = lib.mkEnableOption "Enable nixord and setup"; + config = lib.mkIf cfg.enable { + programs.nixcord = { + enable = true; # enable Nixcord. Also installs discord package + #quickCss = "some CSS"; # quickCSS file + config = { + #useQuickCss = true; # use out quickCSS + #themeLinks = [ # or use an online theme + # "https://raw.githubusercontent.com/link/to/some/theme.css" + #]; + frameless = true; # set some Vencord options + plugins = { + hideAttachments.enable = true; # Enable a Vencord plugin + ignoreActivities = { # Enable a plugin and set some options + enable = true; + ignorePlaying = true; + ignoreWatching = true; + }; + }; + }; + }; + }; +} diff --git a/modules/nixos/audio.nix b/modules/nixos/audio.nix deleted file mode 100644 index 4757803..0000000 --- a/modules/nixos/audio.nix +++ /dev/null @@ -1,16 +0,0 @@ -{ config, pkgs, lib, ... }: - -let - cfg = config.audio; -in { - options.audio.enable = lib.mkEnableOption "Enable audio with pipewire"; - config = lib.mkIf cfg.enable { - security.rtkit.enable = true; - services.pipewire = { - enable = true; - alsa.enable = true; - alsa.support32Bit = true; - pulse.enable = true; - }; - }; -} diff --git a/modules/nixos/default.nix b/modules/nixos/default.nix deleted file mode 100644 index 75e6fad..0000000 --- a/modules/nixos/default.nix +++ /dev/null @@ -1,6 +0,0 @@ -{ pkgs, lib, ... }: { - imports = [ - ./audio.nix - ./wooting.nix - ]; -} diff --git a/modules/nixos/wooting.nix b/modules/nixos/wooting.nix deleted file mode 100644 index eadfe9c..0000000 --- a/modules/nixos/wooting.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ config, lib, pkgs, ... }: - -let - cfg = config.wooting; -in { - options.wooting.enable = lib.mkEnableOption "Enable Wooting udev rules"; - - config = lib.mkIf cfg.enable { - services.udev.extraRules = '' - # Wooting One Legacy - SUBSYSTEM=="hidraw", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="ff01", TAG+="uaccess" - SUBSYSTEM=="usb", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="ff01", TAG+="uaccess" - - # Wooting One update mode - SUBSYSTEM=="hidraw", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2402", TAG+="uaccess" - - # Wooting Two Legacy - SUBSYSTEM=="hidraw", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="ff02", TAG+="uaccess" - SUBSYSTEM=="usb", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="ff02", TAG+="uaccess" - - # Wooting Two update mode - SUBSYSTEM=="hidraw", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2403", TAG+="uaccess" - - # Generic Wootings - SUBSYSTEM=="hidraw", ATTRS{idVendor}=="31e3", TAG+="uaccess" - SUBSYSTEM=="usb", ATTRS{idVendor}=="31e3", TAG+="uaccess" - ''; - - environment.systemPackages = with pkgs; [ - wootility - ]; - }; -} - diff --git a/modules/home-manager/spicetify.nix b/modules/spicetify.nix index d961779..d871620 100644 --- a/modules/home-manager/spicetify.nix +++ b/modules/spicetify.nix @@ -15,7 +15,7 @@ in { declutterNowPlayingBar ]; theme = spicePkgs.themes.sleek; - colorScheme = "coral"; + colorScheme = "Coral"; }; }; } diff --git a/modules/home-manager/sway.nix b/modules/sway.nix index 77f1138..77f1138 100644 --- a/modules/home-manager/sway.nix +++ b/modules/sway.nix diff --git a/modules/home-manager/tmux.nix b/modules/tmux.nix index c4bfefc..c4bfefc 100644 --- a/modules/home-manager/tmux.nix +++ b/modules/tmux.nix diff --git a/modules/home-manager/waybar.nix b/modules/waybar.nix index 6a54d0d..6a54d0d 100644 --- a/modules/home-manager/waybar.nix +++ b/modules/waybar.nix diff --git a/modules/home-manager/zsh.nix b/modules/zsh.nix index 9dab7d8..9dab7d8 100644 --- a/modules/home-manager/zsh.nix +++ b/modules/zsh.nix |
