NixOS + home-manager configs, mirrored from GitLab SaaS.
gitlab.com/andreijiroh-dev/nixops-config
nix-flake
nixos
home-manager
nixpkgs
nix-flakes
1# One Nix file to import all the base configs without cluttering the per-host
2# imports, alongside a minimal base packages.
3{
4 pkgs,
5 config,
6 ...
7}:
8
9{
10 # import configs first
11 imports = [
12 # import shared configs
13 ./1password.nix
14 ./nix.nix
15 ./appimages.nix
16 ./gnupg.nix
17 ./locale.nix
18 ./networking.nix
19 ./systemd.nix
20 ./shells/bash.nix
21 ./shells/custom-prompts.nix
22 ./vscode/main.nix
23 ];
24
25 # and then the base packages itself
26 environment.systemPackages = with pkgs; [
27 # tmux and friendos
28 byobu
29 tmux
30 htop
31 btop
32
33 # git tools
34 gitFull
35
36 # misc tools and utils
37 curl
38 wget
39 nano
40 neovim
41 fastfetch
42 jq
43 rclone
44 ntfsprogs
45
46 # shell prompt customizations
47 starship
48 oh-my-posh # as backup lol
49 ];
50
51 # home-manager stuff
52 home-manager.useGlobalPkgs = true;
53 home-manager.useUserPackages = true;
54
55 # nix-ld flake opts
56 programs.nix-ld.dev = {
57 enable = true;
58 };
59}