2020-11-16 21:14:46 +01:00
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
./backup.nix
|
|
|
|
./core.nix
|
|
|
|
./default.nix
|
|
|
|
./disks.nix
|
|
|
|
./disks-home.nix
|
|
|
|
./sway.nix
|
2021-03-28 21:00:50 +02:00
|
|
|
./extra/3d-design.nix
|
2020-11-16 21:14:46 +01:00
|
|
|
./extra/android.nix
|
|
|
|
./extra/arch-linux.nix
|
|
|
|
./extra/avahi.nix
|
|
|
|
./extra/bluetooth-audio.nix
|
|
|
|
./extra/clean.nix
|
|
|
|
./extra/default.nix
|
|
|
|
./extra/desktop-development.nix
|
|
|
|
./extra/development.nix
|
|
|
|
./extra/docker.nix
|
|
|
|
./extra/filesystem.nix
|
|
|
|
./extra/gaming.nix
|
|
|
|
./extra/hardware-base.nix
|
|
|
|
./extra/intel-video.nix
|
|
|
|
./extra/intel.nix
|
|
|
|
./extra/kvm.nix
|
|
|
|
./extra/location.nix
|
|
|
|
./extra/media.nix
|
|
|
|
./extra/meeting.nix
|
|
|
|
./extra/nix.nix
|
|
|
|
./extra/power.nix
|
|
|
|
./extra/presentation.nix
|
|
|
|
./extra/printer.nix
|
|
|
|
./extra/screen-sharing.nix
|
|
|
|
./extra/sound.nix
|
|
|
|
./extra/sync.nix
|
|
|
|
./extra/systemd-user.nix
|
|
|
|
./extra/systemduefi.nix
|
|
|
|
./extra/tex.nix
|
|
|
|
./extra/theme.nix
|
|
|
|
./extra/thunderbolt.nix
|
|
|
|
./extra/webcam.nix
|
|
|
|
./hardware/t14.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
networking.hostName = "thinkman";
|
|
|
|
|
|
|
|
# Use latest kernel
|
|
|
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
|
|
|
|
|
|
|
# Nix
|
2021-05-03 23:22:09 +02:00
|
|
|
nix.autoOptimiseStore = true;
|
|
|
|
nix.gc = {
|
|
|
|
automatic = true;
|
|
|
|
dates = "weekly";
|
|
|
|
options = "--delete-older-than 30d";
|
|
|
|
};
|
2020-11-16 21:14:46 +01:00
|
|
|
|
2021-06-02 10:37:28 +02:00
|
|
|
system.stateVersion = "21.05";
|
2020-11-16 21:14:46 +01:00
|
|
|
system.autoUpgrade.enable = true;
|
2021-06-02 10:37:28 +02:00
|
|
|
system.autoUpgrade.channel = https://nixos.org/channels/nixos-21.05;
|
2020-11-16 21:14:46 +01:00
|
|
|
}
|