1
Fork 0
satellite/hosts/nixos/tethys/default.nix

54 lines
1.4 KiB
Nix
Raw Normal View History

2023-01-10 02:38:06 +01:00
{ inputs, outputs, lib, config, pkgs, ... }: {
imports = [
../common/global
../common/users/adrielus.nix
../common/optional/pipewire.nix
../common/optional/touchpad.nix
../common/optional/xserver.nix
2023-03-12 05:24:25 +01:00
../common/optional/lightdm.nix
../common/optional/steam.nix
2023-02-19 22:47:42 +01:00
../common/optional/slambda.nix
2023-04-27 01:08:20 +02:00
../common/optional/xdg-portal.nix
2023-05-24 03:17:09 +02:00
../common/optional/hyprland.nix
../common/optional/xmonad
2023-01-10 02:38:06 +01:00
./hardware-configuration.nix
./boot.nix
];
2023-03-12 05:24:25 +01:00
# Set the name of this machine!
2023-01-10 02:38:06 +01:00
networking.hostName = "tethys";
2023-01-16 22:01:05 +01:00
# A few ad-hoc settings
2023-01-10 02:38:06 +01:00
hardware.opengl.enable = true;
2023-01-16 22:01:05 +01:00
programs.kdeconnect.enable = true;
programs.extra-container.enable = true;
2023-01-10 02:38:06 +01:00
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "22.11";
2023-05-24 03:17:09 +02:00
# Temp stuff: enable when running lunarbox
# services.postgresql = {
# enable = true;
# package = pkgs.postgresql_15;
# enableTCPIP = true;
# authentication = pkgs.lib.mkOverride 10 ''
# local all all trust
# host all all 127.0.0.1/32 trust
# host all all ::1/128 trust
# '';
# initialScript = pkgs.writeText "backend-initScript" ''
# CREATE ROLE adrielus WITH
# LOGIN
# SUPERUSER
# INHERIT
# CREATEDB
# CREATEROLE
# REPLICATION;
# CREATE DATABASE lunarbox;
# GRANT ALL PRIVILEGES ON DATABASE lunarbox TO adrielus;
# '';
# };
2023-01-10 02:38:06 +01:00
}