diff options
Diffstat (limited to 'modules/programs')
| -rw-r--r-- | modules/programs/bash.nix | 30 | ||||
| -rw-r--r-- | modules/programs/discord.nix | 7 | ||||
| -rw-r--r-- | modules/programs/foot.nix | 21 | ||||
| -rw-r--r-- | modules/programs/ghostty.nix | 18 | ||||
| -rw-r--r-- | modules/programs/nixcord.nix | 28 | ||||
| -rw-r--r-- | modules/programs/opencode.nix | 12 | ||||
| -rw-r--r-- | modules/programs/vscode.nix | 63 |
7 files changed, 28 insertions, 151 deletions
diff --git a/modules/programs/bash.nix b/modules/programs/bash.nix deleted file mode 100644 index 6fd488d..0000000 --- a/modules/programs/bash.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ - flake.modules.homeManager.bash = - { - pkgs, - ... - }: - { - home.packages = with pkgs; [ - zoxide - ]; - - programs.bash = { - enable = true; - enableCompletion = true; - initExtra = '' - # view man pages with nvim - export MANPAGER="nvim +Man!" - - # vim keybindings - set -o vi - - # zoxide smarter cd command - eval "$(zoxide init bash)" - ''; - shellAliases = { - ls = "ls --color=auto"; - }; - }; - }; -} diff --git a/modules/programs/discord.nix b/modules/programs/discord.nix new file mode 100644 index 0000000..20f0601 --- /dev/null +++ b/modules/programs/discord.nix @@ -0,0 +1,7 @@ +{ + flake.modules.homeManager.discord = { + programs.discord = { + enable = true; + }; + }; +} diff --git a/modules/programs/foot.nix b/modules/programs/foot.nix new file mode 100644 index 0000000..b75c05c --- /dev/null +++ b/modules/programs/foot.nix @@ -0,0 +1,21 @@ +{ + flake.modules.homeManager.foot = + { ... }: + { + programs.foot = { + enable = true; + settings = { + main = { + term = "xterm-256color"; + font = "JetBrains Mono:size=11"; + dpi-aware = "yes"; + }; + colors = { + alpha = 0.9; + background = "000000"; + foreground = "ffffff"; + }; + }; + }; + }; +} diff --git a/modules/programs/ghostty.nix b/modules/programs/ghostty.nix deleted file mode 100644 index 10b366f..0000000 --- a/modules/programs/ghostty.nix +++ /dev/null @@ -1,18 +0,0 @@ -{ - flake.modules.homeManager.ghostty = - { ... }: - { - programs.ghostty = { - enable = true; - settings = { - font-family = "JetBrains Mono"; - font-size = 13; - font-thicken = true; - theme = "Gruvbox Dark"; - background = "#000000"; - window-decoration = false; - copy-on-select = "clipboard"; - }; - }; - }; -} diff --git a/modules/programs/nixcord.nix b/modules/programs/nixcord.nix deleted file mode 100644 index 9d3360b..0000000 --- a/modules/programs/nixcord.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ - flake.modules.homeManager.nixcord = - { - inputs, - ... - }: - { - imports = [ - inputs.nixcord.homeModules.nixcord - ]; - - programs.nixcord = { - enable = true; - config = { - themeLinks = [ - "https://refact0r.github.io/system24/theme/system24.theme.css" - ]; - frameless = true; - plugins = { - alwaysAnimate.enable = false; - imageLink.enable = true; - imageZoom.enable = true; - translate.enable = true; - }; - }; - }; - }; -} diff --git a/modules/programs/opencode.nix b/modules/programs/opencode.nix deleted file mode 100644 index ce97b03..0000000 --- a/modules/programs/opencode.nix +++ /dev/null @@ -1,12 +0,0 @@ -{ - flake.modules.homeManager.opencode = { - programs.opencode = { - enable = true; - settings = { - theme = "system"; - share = "disabled"; - autoupdate = false; - }; - }; - }; -} diff --git a/modules/programs/vscode.nix b/modules/programs/vscode.nix deleted file mode 100644 index c10fa6b..0000000 --- a/modules/programs/vscode.nix +++ /dev/null @@ -1,63 +0,0 @@ -{ - flake.modules.homeManager.vscode = - { - config, - lib, - pkgs, - ... - }: - let - inherit (lib) optionals; - in - { - programs.vscode = { - enable = true; - package = pkgs.vscode; - mutableExtensionsDir = false; - profiles.default = { - enableUpdateCheck = true; - enableExtensionUpdateCheck = true; - - userSettings = { - "update.mode" = "none"; - "workbench.colorTheme" = "Minimal"; - "editor.fontFamily" = "monospace"; - "editor.tabSize" = 2; - "editor.minimap.enabled" = false; - "terminal.integrated.cursorStyle" = "underline"; - "terminal.integrated.cursorStyleInactive" = "underline"; - "terminal.integrated.fontFamily" = "monospace"; - "terminal.integrated.fontSize" = 13; - "git.autofetch" = true; - "window.controlsStyle" = "custom"; - }; - - extensions = - with pkgs.vscode-extensions; - [ - github.copilot - adpyke.codesnap - esbenp.prettier-vscode - ] - ++ (optionals false [ ms-vscode.cmake-tools ]) - ++ (optionals false [ ms-azuretools.vscode-docker ]) - ++ (optionals false [ ms-python.python ]) - ++ (optionals false [ golang.go ]) - ++ (optionals false [ rust-lang.rust-analyzer ]) - ++ (optionals false [ vscjava.vscode-maven ]) - ++ (optionals false [ sumneko.lua ]) - ++ (optionals false [ bradlc.vscode-tailwindcss ]) - ++ (optionals true ( - pkgs.vscode-utils.extensionsFromVscodeMarketplace [ - { - name = "minimalist-dark"; - publisher = "nichabosh"; - version = "1.0.0"; - sha256 = "sha256-lw+Scfada6DycLdRT2Cz+Fd12JucglIrw3uRd2ZhabQ="; - } - ] - )); - }; - }; - }; -} |
