-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.nix
94 lines (84 loc) · 2.14 KB
/
default.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{ inputs, outputs, lib, config, pkgs, ... }:
{
imports = [ ./zsh.nix ./neovim.nix ];
##################################################
# BASIC SETTINGS #
##################################################
nix = {
package = lib.mkDefault pkgs.nix;
settings.experimental-features = "nix-command flakes";
};
nixpkgs = {
overlays = [
outputs.overlays.additions
outputs.overlays.modifications
outputs.overlays.unstable-packages
];
config.allowUnfree = true;
};
# TODO: Maybe only needed in NixOS config?
# fonts.fontconfig = {
# enable = true;
# defaultFonts = {
# serif = [ "Ubuntu Sans" ];
# sansSerif = [ "Ubuntu Sans" ];
# monospace = [ "CaskaydiaCove NF" ];
# };
# };
#################################################
# USER SETTINGS #
#################################################
home = {
username = "ben";
homeDirectory = "/home/ben";
stateVersion = "24.11";
packages = with pkgs; [
wl-clipboard # Copy-paste in Wayland
nodejs # Bunch of things may need it
tldr
];
};
programs.rofi = {
enable = true;
cycle = false;
terminal = "kitty";
package = pkgs.rofi-wayland;
font = "CaskaydiaCove NF";
theme = ./rofi.rasi;
};
programs.home-manager.enable = true;
programs.ranger = {
enable = true;
extraPackages = [
pkgs.python3Packages.pillow
];
settings = {
preview_images = true;
preview_images_method = "kitty";
draw_borders = "both";
};
};
programs.htop.enable = true;
programs.gh.enable = true;
programs.git = {
enable = true;
userName = "benvonh";
userEmail = "benjaminvonsnarski@gmail.com";
extraConfig.pull.rebase = false;
};
programs.kitty = {
enable = true;
themeFile = "gruvbox-dark";
shellIntegration.mode = "no-cursor";
settings = {
cursor_trail = 10;
window_padding_width = 8;
};
font = {
size = 11;
name = "CaskaydiaCove NF";
# name = "Departure Mono";
# package = pkgs.departure-mono;
};
};
}