nix-git/hosts/yodaYoga/configuration.nix

77 lines
2.4 KiB
Nix
Raw Normal View History

2023-09-14 11:54:51 +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`).
2023-09-17 16:59:42 +02:00
{ config, pkgs, ... }:
2023-09-14 11:54:51 +02:00
let
# Import Home Manager with niv.
home-manager = (import ../../nix/sources.nix).home-manager;
2023-09-15 21:57:33 +02:00
#home-manager-source = import (import ../../nix/sources.nix).home-manager {};
2023-09-14 11:54:51 +02:00
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")
2023-09-15 21:57:33 +02:00
#home-manager-source.nixos
2023-09-14 11:54:51 +02:00
../../modules/home-manager.nix
# NUR.
../../modules/nur.nix
./host-specific.nix
2023-09-14 11:54:51 +02:00
../../modules/base.nix
2023-10-09 12:05:56 +02:00
../../modules/headless.nix
2023-10-09 12:13:36 +02:00
2023-10-09 12:05:56 +02:00
#../../modules/gnome-base.nix
2023-10-09 12:13:36 +02:00
#../../modules/gnome-config.nix
#../../modules/gnome-extensions.nix
#../../modules/gnome-fractional-scaling.nix
2023-09-14 11:54:51 +02:00
#../../modules/programs.nix
#../../modules/autostart.nix
#../../modules/wallpaper.nix
#../../modules/fwupd-gnome.nix
#../../modules/print-and-scan.nix
2023-09-15 14:54:23 +02:00
../../modules/fde-ssh-unlock.nix
2023-09-14 11:54:51 +02:00
#../../modules/nextcloud-integration.nix
#../../modules/git.nix
../../modules/zsh.nix
#../../modules/nitrokey-gpg-smartcard.nix
2023-09-16 12:14:53 +02:00
#../../modules/ssh-client.nix
../../modules/ssh-server.nix
2023-09-14 11:54:51 +02:00
#../../modules/firefox.nix
#../../modules/thunderbird.nix
2023-09-16 15:17:17 +02:00
#../../modules/digikam-rawtherapee.nix
2023-10-06 12:04:48 +02:00
#../../modules/ghostwriter.nix
2023-09-14 11:54:51 +02:00
#../../modules/android.nix
2023-09-14 15:54:48 +02:00
#../../modules/podman.nix
../../modules/docker.nix
2023-09-21 13:09:15 +02:00
#../../modules/docker-pushrm.nix
2023-09-16 17:23:06 +02:00
../../modules/lid-switch-handling.nix
../../modules/sendmail-mta.nix
../../modules/journalwatch.nix
2023-09-18 21:48:05 +02:00
#../../modules/waydroid.nix
2023-09-20 13:37:48 +02:00
#../../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-14 11:54:51 +02:00
];
networking.hostName = "yodaYoga";
2023-09-25 21:21:53 +02:00
boot.initrd.luks.devices."luks-a8521407-e25b-4f26-8e7a-a56fcbfd2e35".allowDiscards = true;
2023-10-09 10:46:57 +02:00
yoda.btrfsFileSystems = ["/"];
#yoda.btrfsMounts = yoda.btrfsFileSystems;
2023-09-20 22:23:48 +02:00
2023-09-23 17:58:12 +02:00
boot.kernelParams = [];
2023-09-20 22:23:48 +02:00
boot.kernelPackages = pkgs.linuxPackages;
2023-09-14 11:54:51 +02:00
}