Skip to content

Commit

Permalink
Tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
DanNixon committed Oct 12, 2023
1 parent bbd80be commit b3551f7
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 108 deletions.
1 change: 1 addition & 0 deletions modules/home-manager/terminal_environment/direnv.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{...}: {
programs.direnv = {
enable = true;

nix-direnv.enable = true;
};
}
1 change: 1 addition & 0 deletions modules/home-manager/terminal_environment/fzf.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{...}: {
programs.fzf = {
enable = true;

defaultOptions = [
"--no-mouse"
"--cycle"
Expand Down
8 changes: 4 additions & 4 deletions modules/home-manager/terminal_environment/git.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
{pkgs, ...}: {
home.packages = with pkgs; [
gfold
];

programs.git = {
enable = true;

Expand Down Expand Up @@ -106,4 +102,8 @@
};

programs.lazygit.enable = true;

home.packages = with pkgs; [
gfold
];
}
4 changes: 2 additions & 2 deletions modules/home-manager/terminal_environment/nnn.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{...}: {
programs.nnn.enable = true;

home.sessionVariables = {
NNN_OPTS = "d";
};

programs.nnn.enable = true;
}
1 change: 1 addition & 0 deletions modules/home-manager/terminal_environment/pass.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{pkgs, ...}: {
programs.password-store = {
enable = true;

package = pkgs.pass.withExtensions (exts: [
exts.pass-otp
]);
Expand Down
95 changes: 0 additions & 95 deletions modules/home-manager/terminal_environment/taskwarrior.nix

This file was deleted.

2 changes: 2 additions & 0 deletions modules/home-manager/terminal_environment/tmux.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{...}: {
programs.tmux = {
enable = true;

escapeTime = 1;
prefix = "M-Space";
baseIndex = 1;

extraConfig = ''
bind-key -T root M-";" choose-tree -Z
Expand Down
2 changes: 2 additions & 0 deletions modules/home-manager/terminal_environment/zsh.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{...}: {
programs.zsh = {
enable = true;

initExtraBeforeCompInit = ''
zstyle ':completion:*' completer _expand _complete _ignored _approximate
zstyle ':completion:*' completions 1
Expand All @@ -14,6 +15,7 @@
zstyle ':completion:*' verbose true
zstyle :compinstall filename '/home/dan/.zshrc'
'';

initExtra = ''
# Vi style key bindings
bindkey -v
Expand Down
8 changes: 3 additions & 5 deletions modules/nixos/desktop-environment.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,15 @@
fontDir.enable = true;

fonts = with pkgs; [
(nerdfonts.override {
fonts = ["DejaVuSansMono"];
})
(nerdfonts.override {fonts = ["DejaVuSansMono"];})
];
};

xdg.portal = {
enable = true;

extraPortals = [
pkgs.xdg-desktop-portal-gtk
extraPortals = with pkgs; [
xdg-desktop-portal-gtk
];
};

Expand Down
1 change: 1 addition & 0 deletions modules/nixos/peripherals/ddcutil.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{...}: {
hardware.i2c.enable = true;

users.users.dan.extraGroups = ["i2c"];
}
4 changes: 2 additions & 2 deletions modules/nixos/peripherals/scanner.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{...}: {
users.users.dan.extraGroups = ["dialout" "scanner" "lp"];

hardware.sane.enable = true;

users.users.dan.extraGroups = ["dialout" "scanner" "lp"];
}

0 comments on commit b3551f7

Please sign in to comment.