NixOS + home-manager configs, mirrored from GitLab SaaS. gitlab.com/andreijiroh-dev/nixops-config
nix-flake nixos home-manager nixpkgs nix-flakes
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 491d2abd3fd4e2964a879f58fdd2ac9f6ea7f957 73 lines 1.3 kB view raw
1# One Nix file to import all the base configs without cluttering the per-host 2# imports, alongside a minimal base packages and some tweaks at sysctls. 3{ 4 pkgs, 5 config, 6 ... 7}: 8 9{ 10 # import configs first 11 imports = [ 12 ./options.nix 13 # import shared configs 14 ./1password.nix 15 ./nix.nix 16 ./appimages.nix 17 ./gnupg.nix 18 ./locale.nix 19 ./networking.nix 20 ./systemd.nix 21 ./shells/bash.nix 22 ./shells/custom-prompts.nix 23 ./vscode/main.nix 24 ./server/ssh.nix 25 ./server/tailscale.nix 26 ./agenix.nix 27 ]; 28 29 # and then the base packages itself 30 environment.systemPackages = with pkgs; [ 31 # tmux and friendos 32 byobu 33 tmux 34 htop 35 btop 36 37 # git tools 38 gitFull 39 40 # misc tools and utils 41 curl 42 wget 43 fastfetch 44 jq 45 rclone 46 ntfsprogs 47 48 # TUI-based text editors 49 nano 50 neovim 51 emacs 52 53 # shell prompt customizations 54 starship 55 oh-my-posh # as backup lol 56 ]; 57 58 # home-manager stuff 59 home-manager.useGlobalPkgs = true; 60 home-manager.useUserPackages = true; 61 62 # nix-ld flake opts 63 programs.nix-ld.dev = { 64 enable = true; 65 }; 66 67 # sysctl stuff 68 boot.kernel.sysctl = { 69 "net.ipv4.ip_forward" = 1; 70 "net.ipv6.conf.all.forwarding" = 1; 71 "vm.swappiness" = 60; 72 }; 73}