-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.nix
60 lines (53 loc) · 1009 Bytes
/
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
{ config, pkgs, unstablePkgs, lib, ... }:
let
unstableInstalledPkgs = with unstablePkgs; [
yandex-cloud
opentofu
];
in
{
imports = [
./zellij.nix
./fish.nix
./git.nix
];
home.username = "pkatunina";
home.homeDirectory = "/Users/pkatunina";
home.packages = with pkgs; [
# basic utils
vim
git
coreutils
curl
jq
wget
darwin.iproute2mac # ip util wrapper for macos
libqalculate # advanced calculator
# devops tools
shellcheck
colima
awscli
teleport
# programming
go
] ++ unstableInstalledPkgs;
home.sessionVariables = {
EDITOR = "vim";
};
# yandex mirrors for yc terraform provider
home.file.".tofurc" = {
text = ''
provider_installation {
network_mirror {
url = "https://terraform-mirror.yandexcloud.net/"
include = ["registry.opentofu.org/*/*"]
}
direct {
exclude = ["registry.opentofu.org/*/*"]
}
}
'';
};
# standalone installation
home.stateVersion = "24.05";
}