Started to rework euporie
This commit is contained in:
parent
5c076b8989
commit
0503a81ee8
|
@ -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;
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,7 +1,34 @@
|
||||||
{
|
{ inputs, outputs, lib, config, pkgs, ... }: {
|
||||||
privateNetwork = true;
|
imports = [
|
||||||
hostAddress = "10.250.0.1";
|
../common/global
|
||||||
localAddress = "10.250.0.2";
|
../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;
|
||||||
|
# }}}
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,34 +20,15 @@
|
||||||
# Set the name of this machine!
|
# Set the name of this machine!
|
||||||
networking.hostName = "tethys";
|
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
|
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
||||||
system.stateVersion = "22.11";
|
system.stateVersion = "22.11";
|
||||||
|
|
||||||
# Temp stuff: enable when running lunarbox
|
# {{{ A few ad-hoc hardware settings
|
||||||
# services.postgresql = {
|
hardware.opengl.enable = true;
|
||||||
# enable = true;
|
hardware.opentabletdrivers.enable = true;
|
||||||
# package = pkgs.postgresql_15;
|
# }}}
|
||||||
# enableTCPIP = true;
|
# {{{ A few ad-hoc programs
|
||||||
# authentication = pkgs.lib.mkOverride 10 ''
|
programs.kdeconnect.enable = true;
|
||||||
# local all all trust
|
programs.extra-container.enable = true;
|
||||||
# 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;
|
|
||||||
# '';
|
|
||||||
# };
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue