commit e70ba7bc9ef1910696a71c0fd3d55a00416dacc1
parent 928d0e437cd7430734a9db91d0d1e9b4aea69292
Author: benjamin paul <bpaul@bpaul.xyz>
Date: Sat, 3 Jul 2021 12:27:23 +1000
minimal profile
Diffstat:
3 files changed, 40 insertions(+), 37 deletions(-)
diff --git a/home/profiles/arch.nix b/home/profiles/arch.nix
@@ -3,15 +3,12 @@
with lib;
let
libExtra = import ../../lib { inherit lib; };
- scripts = libExtra.mapOnDirRec ../scripts (name: a:
- libExtra.createScriptFile name "${toString ../scripts}/${name}"
- );
in
{
home.stateVersion = "20.09";
imports = [
- ../modules
+ ./minimal.nix
../themes/gruvbox
];
@@ -22,11 +19,9 @@ in
font = "Hack Nerd Font";
};
dunst.enable = true;
- git.enable = true;
haskell.enable = true;
- neovim.enable = true;
+ latex.enable = true;
polybar.enable = true;
- starship.enable = true;
zathura.enable = true;
xbindkeys.enable = true;
xinit = {
@@ -39,20 +34,12 @@ in
exec bspwm
'';
};
- zsh = {
- enable = true;
- editor = "nvim";
- };
home.packages = [
# packages
- pkgs.bc
pkgs.ccls
- pkgs.fzf
- pkgs.gcc
pkgs.i3lock-color
pkgs.manpages
- pkgs.texlab
pkgs.tree-sitter
];
}
diff --git a/home/profiles/laptop.nix b/home/profiles/laptop.nix
@@ -3,28 +3,20 @@
with lib;
let
libExtra = import ../../lib { inherit lib; };
- scripts = libExtra.mapOnDirRec ../scripts (name: a:
- libExtra.createScriptFile name "${toString ../scripts}/${name}"
- );
in
{
home.stateVersion = "20.09";
imports = [
- ../modules
+ ./minimal.nix
../themes/gruvbox
];
- home.file = scripts;
-
alacritty.enable = true;
dunst.enable = true;
- git.enable = true;
idris2.enable = true;
- neovim.enable = true;
polybar.enable = true;
rofi.enable = true;
- starship.enable = true;
zathura.enable = true;
xbindkeys.enable = true;
xinit = {
@@ -37,20 +29,12 @@ in
exec bspwm
'';
};
- zsh = {
- enable = true;
- editor = "nvim";
- };
- home.packages = [
+ home.packages = with pkgs; [
# packages
- pkgs.bc
- pkgs.ccls
- pkgs.fzf
- pkgs.gcc
- pkgs.i3lock-color
- pkgs.manpages
- pkgs.texlab
- pkgs.tree-sitter
+ ccls
+ i3lock-color
+ manpages
+ tree-sitter
];
}
diff --git a/home/profiles/minimal.nix b/home/profiles/minimal.nix
@@ -0,0 +1,32 @@
+{ pkgs, lib, ... }:
+
+with lib;
+let
+ libExtra = import ../../lib { inherit lib; };
+ scripts = libExtra.mapOnDirRec ../scripts (name: a:
+ libExtra.createScriptFile name "${toString ../scripts}/${name}"
+ );
+in
+{
+ home.stateVersion = "20.09";
+
+ imports = [
+ ../modules
+ ];
+
+ home.file = scripts;
+
+ git.enable = true;
+ neovim.enable = true;
+ starship.enable = true;
+ zsh = {
+ enable = true;
+ editor = "nvim";
+ };
+
+ home.packages = with pkgs; [
+ bc
+ fzf
+ gcc
+ ];
+}