diff options
Diffstat (limited to 'modules/common/profiles')
-rw-r--r-- | modules/common/profiles/dev/default.nix | 18 | ||||
-rw-r--r-- | modules/common/profiles/dev/editorconfig.ini | 96 | ||||
-rw-r--r-- | modules/common/profiles/headful.nix | 1 |
3 files changed, 2 insertions, 113 deletions
diff --git a/modules/common/profiles/dev/default.nix b/modules/common/profiles/dev/default.nix index 2d0c0f6..ecd586a 100644 --- a/modules/common/profiles/dev/default.nix +++ b/modules/common/profiles/dev/default.nix @@ -20,6 +20,7 @@ in { bat.enable = true; curl.enable = true; direnv.enable = true; + editorconfig.enable = true; git.client.enable = true; gnupg.enable = true; nmap.enable = true; @@ -28,25 +29,9 @@ in { hm.home = { file = { - ".editorconfig".source = ./editorconfig.ini; - ".gdbinit".source = ./gdbinit; ".ghc/ghci.conf".source = ./ghci.conf; - - ".stack/config.yaml".text = generators.toYAML {} { - templates.params = rec { - author-name = my.fullname; - author-email = my.email; - copyright = "Copyright (c) 2023 ${author-name} <${author-email}>"; - github-username = my.username; - }; - }; - - ".stack/global-project/stack.yaml".text = generators.toYAML {} { - packages = []; - resolver = "lts-21.20"; - }; }; sessionVariables = rec { @@ -74,6 +59,7 @@ in { CARGO_HOME = "${config.my.home}/.cargo"; GOPATH = "${config.my.home}/.go"; + GORE_HOME = "${config.my.home}/.gore"; PYTHONSTARTUP = ./pystartup.py; }; diff --git a/modules/common/profiles/dev/editorconfig.ini b/modules/common/profiles/dev/editorconfig.ini deleted file mode 100644 index 87f47eb..0000000 --- a/modules/common/profiles/dev/editorconfig.ini +++ /dev/null @@ -1,96 +0,0 @@ -root = true - -[*] -charset = utf-8 -end_of_line = lf -indent_size = 4 -indent_style = space -insert_final_newline = true -max_line_length = 80 -trim_trailing_whitespace = true - -# C/C++ -[*.{c,cc,cpp,cxx,h,hh,hpp,hxx,ixx}] -indent_size = 4 -indent_style = tab - -# Go -[*.go] -indent_size = 4 -indent_style = tab - -# Python -[*.py] -indent_size = 4 -indent_style = space -max_line_length = 72 - -# Haskell -[*.hs] -indent_size = 2 -indent_style = space - -# Lisp(s) -[*.{lisp,cl,rkt,scm,el}] -indent_size = 2 -indent_style = space - -# Zig -[*.zig] -indent_size = 4 -indent_style = tab - -# Assembly -[*.{asm,s}] -indent_size = 4 -indent_style = tab - -# GNU Cringetools -[configure.ac] -indent_size = 4 -indent_style = tab - -# Make -[{Makefile*,*.mk}] -indent_size = 4 -indent_style = tab - -# CMake -[{CMakeLists.txt,*.cmake}] -indent_size = 8 -indent_style = tab - -# Nix -[*.nix] -indent_size = 2 -indent_style = space - -# HCL -[*.{tf,hcl}] -indent_size = 2 -indent_style = space - -# JSON -[*.json] -indent_size = 2 -indent_style = space - -# YAML -[*.{yaml,yml}] -indent_size = 2 -indent_style = space - -# TOML -[*.{toml,tml}] -indent_size = 4 -indent_style = space - -# Markup -[*.{html,xml}] -indent_size = 4 -indent_style = tab - -# (La)TeX -[*.{tex,cls}] -indent_size = 4 -indent_style = tab diff --git a/modules/common/profiles/headful.nix b/modules/common/profiles/headful.nix index 094d5dd..dc8e1d6 100644 --- a/modules/common/profiles/headful.nix +++ b/modules/common/profiles/headful.nix @@ -19,7 +19,6 @@ in { aria2.enable = true; emacs.enable = true; mpv.enable = true; - neovim.enable = true; openssh.client.enable = true; password-store.enable = true; vscode.enable = true; |