nixos-config/nixos/system/all/default.nix

46 lines
925 B
Nix
Raw Normal View History

2019-12-20 05:54:26 +01:00
{ lib, config, pkgs, ... }: {
2021-09-25 11:07:09 +02:00
2019-10-24 02:20:38 +02:00
imports = [
2021-09-25 11:07:09 +02:00
../../modules
2022-10-13 10:19:23 +02:00
../../components/network
2019-10-24 02:20:38 +02:00
2021-12-28 16:19:29 +01:00
./defaults.nix
2019-10-24 02:20:38 +02:00
# needed
2021-09-24 06:47:46 +02:00
#<home-manager/nixos>
2019-10-24 02:20:38 +02:00
# cross-compiling
2019-12-14 06:15:37 +01:00
#<cleverca22/qemu.nix>
2019-10-24 02:20:38 +02:00
./grub.nix
2023-01-26 21:29:47 +01:00
#./networking-qos.nix
./nginx-landingpage.nix
./nginx.nix
2019-10-24 02:20:38 +02:00
./packages.nix
2020-09-04 00:49:35 +02:00
./borg-jobs.nix
./borg-scripts.nix
./syncthing.nix
2020-03-17 08:00:57 +01:00
./on-failure.nix
2019-10-24 02:20:38 +02:00
];
2021-11-01 12:16:18 +01:00
# default backup excludes
backup.exclude = [ ".git" ".stfolder" ".stversions" ];
2019-10-24 02:20:38 +02:00
# Shell configuration
# -------------------
programs.custom = {
2019-12-20 05:54:26 +01:00
bash.enable = true;
#zsh.enable = true;
2019-10-24 02:20:38 +02:00
};
# This value determines the NixOS release with which your system is to be
# compatible, in order to avoid breaking some software such as database
# servers. You should change this only after NixOS release notes say you
# should.
2021-12-28 16:19:29 +01:00
system.stateVersion = lib.mkDefault "19.03"; # Did you read the comment?
2019-10-24 02:20:38 +02:00
}