1
Fork 0

Started to rework euporie

This commit is contained in:
Matei Adriel 2023-05-28 00:41:22 +02:00
parent 5c076b8989
commit 0503a81ee8
No known key found for this signature in database
3 changed files with 40 additions and 50 deletions

View file

@ -1,18 +0,0 @@
{ pkgs, ... }: {
# Enable the firewall.
networking.firewall.enable = true;
# Set the name of this machine!
networking.hostName = "euporie";
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "22.11";
services.sourcehut = {
# enable = true;
# meta.enable = true;
# paste.enable = true;
# hub.enable = true;
};
}

View file

@ -1,7 +1,34 @@
{
privateNetwork = true;
hostAddress = "10.250.0.1";
localAddress = "10.250.0.2";
{ inputs, outputs, lib, config, pkgs, ... }: {
imports = [
../common/global
../common/users/adrielus.nix
config = import ./configuration.nix;
../common/optional/pipewire.nix
../common/optional/touchpad.nix
../common/optional/xserver.nix
../common/optional/lightdm.nix
../common/optional/steam.nix
../common/optional/slambda.nix
../common/optional/xdg-portal.nix
../common/optional/hyprland.nix
../common/optional/xmonad
./hardware-configuration.nix
./boot.nix
];
# Set the name of this machine!
networking.hostName = "tethys";
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "22.11";
# {{{ A few ad-hoc hardware settings
hardware.opengl.enable = true;
hardware.opentabletdrivers.enable = true;
# }}}
# {{{ A few ad-hoc programs
programs.kdeconnect.enable = true;
programs.extra-container.enable = true;
# }}}
}

View file

@ -20,34 +20,15 @@
# Set the name of this machine!
networking.hostName = "tethys";
# A few ad-hoc settings
hardware.opengl.enable = true;
programs.kdeconnect.enable = true;
programs.extra-container.enable = true;
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "22.11";
# 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;
# '';
# };
# {{{ A few ad-hoc hardware settings
hardware.opengl.enable = true;
hardware.opentabletdrivers.enable = true;
# }}}
# {{{ A few ad-hoc programs
programs.kdeconnect.enable = true;
programs.extra-container.enable = true;
# }}}
}