-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.nix
91 lines (88 loc) · 1.72 KB
/
home.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
{ config, pkgs, doom-emacs, ... }:
let
unstable = import <nixos-unstable> { config.allowUnfree = true; };
in
{
imports = [
./emacs/nixos.nix
./code.nix
./git.nix
./alacritty.nix
./rofi.nix
];
nixpkgs.config.allowUnfree = true;
home.packages = with pkgs; [
adoptopenjdk-hotspot-bin-16
# jetbrains.idea-ultimate
# go-tuf
unstable.google-chrome
#firefox
unstable.google-cloud-sdk
gitAndTools.gh
slack
qemu
tree
pavucontrol
unstable.kind
alacritty
step-cli
maim
skopeo
xclip
i3lock-color
pmutils
openssl
killall
gcc
gnumake
tmux
dive
trivy
pkg-config
jq
python3
fulcio
(callPackage ./gitsign.nix {})
cosign
crane
buildpack
nodePackages.snyk
];
programs.bash = {
enable = true;
sessionVariables = { PATH = "$HOME/bin:$PATH"; };
};
programs.zsh = {
enable = true;
shellAliases = {
ll = "ls -l";
update = "sudo nixos-rebuild switch --flake ~/hack/cosmo --upgrade --impure";
ed = "emacsclient -t $1";
idea = "idea-ultimate $1";
};
history = {
size = 10000;
path = "${config.xdg.dataHome}/zsh/history";
};
oh-my-zsh = {
enable = true;
plugins = [ "git" ];
theme = "robbyrussell";
};
};
programs.go.enable = true;
programs.tmux = {
enable = true;
prefix = "C-q";
extraConfig = ''
set-option -g status-style fg=white,bg=colour23
setw -g mouse on
set -g base-index 1
set -g history-limit 100000
set-window-option -g mode-keys emacs
unbind-key C-b
'';
};
home.stateVersion = "21.11";
xdg.configFile."mimeapps.list".force = true;
}