summary refs log tree commit diff stats
path: root/users
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-05-04 19:56:25 +0200
committersils <sils@sils.li>2023-05-04 19:56:25 +0200
commitc97e69c6072168cc2db55f708ae910455639c9db (patch)
treee920bac70ea20389ce8c2cf83f995b5d0790afe1 /users
parentFeat(sys/packages): Remove unfree programs (diff)
downloadnix-config-c97e69c6072168cc2db55f708ae910455639c9db.zip
Structure(sys,users): Move userpackages to user
Diffstat (limited to 'users')
-rw-r--r--users/sils/default.nix1
-rw-r--r--users/sils/git/default.nix26
-rw-r--r--users/sils/gpg/default.nix1
-rw-r--r--users/sils/packages/default.nix78
4 files changed, 103 insertions, 3 deletions
diff --git a/users/sils/default.nix b/users/sils/default.nix
index c5fa572..e4dc5c2 100644
--- a/users/sils/default.nix
+++ b/users/sils/default.nix
@@ -6,6 +6,7 @@
   imports = [
     ./packages
     ./gpg
+    ./git
   ];
 
   home = {
diff --git a/users/sils/git/default.nix b/users/sils/git/default.nix
new file mode 100644
index 0000000..9e411da
--- /dev/null
+++ b/users/sils/git/default.nix
@@ -0,0 +1,26 @@
+{...}: {
+  programs.git = {
+    enable = true;
+    userEmail = "sils@sils.li";
+    userName = "sils";
+    signing = {
+      key = "DF1878E6D9C3B27F";
+      signByDefault = true;
+    };
+    extraConfig = {
+      core = {
+        autocrlf = "input";
+      };
+      safe = {
+        directory = "/etc/nixos";
+      };
+      push = {
+        autoSetupRemote = true;
+      };
+      init = {
+        defaultBranch = "main";
+      };
+      credential.helper = "store";
+    };
+  };
+}
diff --git a/users/sils/gpg/default.nix b/users/sils/gpg/default.nix
index 7c592d0..5c93735 100644
--- a/users/sils/gpg/default.nix
+++ b/users/sils/gpg/default.nix
@@ -5,5 +5,6 @@
   };
   services.gpg-agent = {
     enable = true;
+    pinentryFlavor = "curses";
   };
 }
diff --git a/users/sils/packages/default.nix b/users/sils/packages/default.nix
index 103e978..96d0b51 100644
--- a/users/sils/packages/default.nix
+++ b/users/sils/packages/default.nix
@@ -1,6 +1,78 @@
 {pkgs, ...}: {
-  home.packages = [
-    pkgs.styx
-    pkgs.cmatrix
+  home.packages = with pkgs; [
+    # core tools
+    neofetch # a must-have
+    fd # fast find
+    lsd # ls in good
+    lf # file manager
+    alacritty # terminal
+    glow # markdown rendering
+    restic # backups
+    tree # tree view of directories
+    nmap # network scanning
+
+    # text production/office
+    libreoffice # graphical office suite
+    neovim # text editor
+    pdfarranger # gui for pdf arranging
+
+    # LaTeX
+    texlive.combined.scheme-full # LaTeX
+    texlab # latex language server
+
+    html-tidy # html formatter
+    ltex-ls # lsp language server for languagetool
+
+    musescore # notesetting program
+
+    # communication
+    signal-desktop # the ecosystem is moving :(
+    signal-cli # use signal without phone
+    mumble # voice chat
+    element-desktop # chat
+    tdesktop # telegram messenger
+    thunderbird # emails
+
+    # Browser
+    ungoogled-chromium # just in case
+    firefox # my browser
+    tor-browser-bundle-bin # tor-browser
+
+    # archives
+    unzip
+    zip
+    _7zz
+
+    # image editing
+    inkscape # vector graphics
+    imagemagick # powerful cli-tool
+
+    # multimedia
+    sayonara # audioplayer
+    vlc # audio and video
+    mpv # videos
+    youtube-dl # download videos
+
+    # Compiler
+    gcc
+    execline
+
+    # Programming Languages
+    rustc # rust
+    cargo # compiler for rust
+    jdk # java
+    python39 # python
+
+    # Nix Stuff
+    alejandra # nix code formatter
+    nil # nix language-server
+    statix # nix linter
+
+    keepassxc # password manager
+
+    styx # static site generator in nix
+    cmatrix # hacker tool
+
+    bottles # run windows software
   ];
 }