nix-git/hosts/yodaNas/configuration.nix

76 lines
2.4 KiB
Nix
Raw Normal View History

2023-09-23 18:36:27 +02:00
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running `nixos-help`).
{ config, pkgs, ... }:
let
# Import Home Manager with niv.
home-manager = (import ../../nix/sources.nix).home-manager;
#home-manager-source = import (import ../../nix/sources.nix).home-manager {};
in
{
# Paths to other modules.
# Compose this module out of smaller ones.
# https://nixos.wiki/wiki/NixOS_modules
imports =
[
# Include the results of the hardware scan.
./hardware-configuration.nix
# Home Manager.
(import "${home-manager}/nixos")
#home-manager-source.nixos
../../modules/home-manager.nix
# NUR.
../../modules/nur.nix
./host-specific.nix
2023-09-23 18:36:27 +02:00
../../modules/base.nix
2023-10-09 12:05:56 +02:00
../../modules/headless.nix
#../../modules/gnome-base.nix
2023-09-23 18:36:27 +02:00
#../../modules/programs.nix
#../../modules/autostart.nix
#../../modules/wallpaper.nix
#../../modules/fwupd-gnome.nix
#../../modules/print-and-scan.nix
2023-09-26 18:51:17 +02:00
../../modules/fde-ssh-unlock.nix
2023-09-23 18:36:27 +02:00
#../../modules/nextcloud-integration.nix
#../../modules/gnome-config.nix
#../../modules/gnome-extensions.nix
#../../modules/gnome-fractional-scaling.nix
#../../modules/git.nix
../../modules/zsh.nix
#../../modules/nitrokey-gpg-smartcard.nix
#../../modules/ssh-client.nix
../../modules/ssh-server.nix
#../../modules/firefox.nix
#../../modules/thunderbird.nix
#../../modules/digikam-rawtherapee.nix
2023-10-06 12:04:48 +02:00
#../../modules/ghostwriter.nix
2023-09-23 18:36:27 +02:00
#../../modules/android.nix
#../../modules/podman.nix
../../modules/docker.nix
#../../modules/docker-pushrm.nix
#../../modules/lid-switch-handling.nix
../../modules/sendmail-mta.nix
../../modules/journalwatch.nix
#../../modules/waydroid.nix
#../../modules/ntfs.nix
2023-09-27 18:56:12 +02:00
#../../modules/veracrypt.nix
../../modules/btrbk
2023-10-03 12:48:52 +02:00
../../modules/spin-down.nix
2023-10-08 22:02:21 +02:00
../../modules/btrfs-scrub.nix
2023-10-09 10:46:57 +02:00
../../modules/btrfs-mount-options.nix
2023-09-23 18:36:27 +02:00
];
networking.hostName = "yodaNas";
2023-09-26 18:21:57 +02:00
boot.initrd.luks.devices."luks-3d974bd0-f373-469b-8e9c-2d5516e9f0f5".allowDiscards = true;
2023-10-09 10:46:57 +02:00
yoda.btrfsFileSystems = ["/" "/mnt/data" "/mnt/backup"];
#yoda.btrfsMounts = yoda.btrfsFileSystems;
2023-09-23 18:36:27 +02:00
boot.kernelParams = [];
boot.kernelPackages = pkgs.linuxPackages;
}