NixOS + home-manager configs, mirrored from GitLab SaaS.
gitlab.com/andreijiroh-dev/nixops-config
nix-flake
nixos
home-manager
nixpkgs
nix-flakes
1{ pkgs, ... }:
2
3{
4 config = {
5 environment.defaultPackages = with pkgs; [
6 # nix utils
7 direnv
8 cachix
9 devbox
10 nixfmt
11 nixfmt-tree
12 nil
13 nixd
14
15 # tmux and friendos
16 byobu
17 tmux
18 htop
19 btop
20
21 # git tools
22 gitFull
23 gh
24 glab
25 fjo
26
27 # infraops
28 cloudflared
29 opentofu
30 tofu-ls
31 tfmigrate
32
33 # other utils
34 wakatime-cli
35 doppler
36 #dotenvx
37
38 # genai tools
39 llm-agents.gemini-cli
40 llm-agents.copilot-cli
41 llm-agents.amp
42 llm-agents.agent-deck
43 llm-agents.backlog-md
44 llm-agents.coderabbit-cli
45 ];
46
47 virtualisation = {
48 # containers
49 podman = {
50 enable = true;
51 package = pkgs.podman;
52 extraPackages = with pkgs; [
53 gvisor
54 podman-compose
55 ];
56 };
57 docker = {
58 enable = true;
59 enableOnBoot = true;
60 daemon = {
61 settings = {
62 dns = [
63 "1.1.1.1"
64 "1.0.0.1"
65 ];
66 ipv6 = true;
67 };
68 };
69 };
70
71 # libvirtd
72 libvirtd = {
73 enable = true;
74 };
75 };
76
77 programs.virt-manager.enable = true;
78 services.qemuGuest.enable = true;
79 services.spice-vdagentd.enable = true;
80
81 # enable direnv integration for shells
82 programs.direnv.enable = true;
83
84 system.nixos.tags = [
85 "devtools"
86 ];
87 };
88}