nix-git/hosts/yodaTab/configuration.nix

56 lines
1.8 KiB
Nix
Raw Normal View History

2023-08-15 19:13:43 +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
2023-08-28 17:19:58 +02:00
# and in the NixOS manual (accessible by running `nixos-help`).
2023-08-15 19:13:43 +02:00
2023-09-14 13:10:27 +02:00
{ config, sources ? import ../../nix/sources.nix, pkgs ? import sources.nixpkgs {}, ... }:
2023-09-07 22:15:58 +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-07 22:15:58 +02:00
in
2023-08-15 19:13:43 +02:00
{
2023-08-31 14:19:26 +02:00
# Paths to other modules.
# Compose this module out of smaller ones.
# https://nixos.wiki/wiki/NixOS_modules
2023-08-15 19:13:43 +02:00
imports =
2023-09-07 22:15:58 +02:00
[
# Include the results of the hardware scan.
2023-08-15 19:13:43 +02:00
./hardware-configuration.nix
2023-09-14 11:53:32 +02:00
# Home Manager.
2023-09-07 22:15:58 +02:00
(import "${home-manager}/nixos")
2023-09-15 21:57:33 +02:00
#home-manager-source.nixos
2023-09-07 22:15:58 +02:00
../../modules/home-manager.nix
2023-09-14 11:53:32 +02:00
# NUR.
2023-09-12 12:43:51 +02:00
../../modules/nur.nix
2023-09-02 15:33:36 +02:00
../../modules/base.nix
2023-09-14 11:53:32 +02:00
../../modules/base-gnome.nix
2023-09-02 15:12:08 +02:00
../../modules/programs.nix
2023-09-07 20:20:29 +02:00
../../modules/autostart.nix
2023-09-11 18:08:28 +02:00
../../modules/wallpaper.nix
2023-09-14 11:53:32 +02:00
../../modules/fwupd-gnome.nix
2023-09-02 15:12:08 +02:00
../../modules/print-and-scan.nix
2023-09-07 19:16:54 +02:00
#../../modules/fde-ssh-unlock.nix
2023-09-02 15:12:08 +02:00
../../modules/nextcloud-integration.nix
2023-09-07 22:15:58 +02:00
../../modules/gnome-config.nix
../../modules/gnome-extensions.nix
#../../modules/gnome-fractional-scaling.nix
../../modules/git.nix
../../modules/zsh.nix
2023-09-11 14:05:02 +02:00
../../modules/nitrokey-gpg-smartcard.nix
2023-09-16 12:14:53 +02:00
../../modules/ssh-client.nix
../../modules/ssh-server.nix
2023-09-11 13:05:48 +02:00
../../modules/firefox.nix
2023-09-07 22:15:58 +02:00
../../modules/thunderbird.nix
2023-09-11 16:10:18 +02:00
#../../modules/digikam.nix
2023-09-13 13:39:45 +02:00
#../../modules/android.nix
2023-09-14 12:13:59 +02:00
#../../modules/podman.nix
2023-09-14 15:54:48 +02:00
#../../modules/docker.nix
2023-08-15 19:13:43 +02:00
];
2023-08-31 15:24:08 +02:00
networking.hostName = "yodaTab";
2023-09-15 21:08:53 +02:00
services.openssh.ports = [ 22 ];
boot.initrd.network.ssh.port = 22;
2023-08-15 19:13:43 +02:00
}