fix: use rootPath everywhere! :3
This commit is contained in:
parent
33a314b658
commit
5a9e25cc6e
4 changed files with 14 additions and 22 deletions
|
@ -1,14 +1,13 @@
|
|||
{pkgs, ...}:{
|
||||
{pkgs, rootPath, ...}:{
|
||||
imports = [
|
||||
./boot.nix
|
||||
./hardware-configuration.nix
|
||||
|
||||
#../../modules/hosting/wordpress-simple/kiezpalme.nix
|
||||
#../../modules/hosting/wordpress-simple/pertineo.nix
|
||||
../../modules/hosting/wordpress.nix
|
||||
../../modules/sec_auth/ssh-server.nix
|
||||
(rootPath + /system_profiles/server.nix)
|
||||
|
||||
../../system_profiles/server.nix
|
||||
#(rootPath + /modules/hosting/wordpress-simple/kiezpalme.nix)
|
||||
#(rootPath + /modules/hosting/wordpress-simple/pertineo.nix)
|
||||
(rootPath + /modules/hosting/wordpress.nix)
|
||||
];
|
||||
|
||||
#services.mysql = {
|
||||
|
@ -31,7 +30,7 @@
|
|||
username = "root";
|
||||
in {
|
||||
users."${username}".openssh.authorizedKeys.keyFiles = [
|
||||
../../certificates/id_ed25519_ext-julia.pub
|
||||
(rootPath + /certificates/id_ed25519_ext-julia.pub)
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,20 +1,18 @@
|
|||
{
|
||||
{rootPath, ...}: {
|
||||
imports = [
|
||||
./boot.nix
|
||||
./hardware-configuration.nix
|
||||
(rootPath + /system_profiles/server.nix)
|
||||
|
||||
../../modules/game/server/luanti
|
||||
../../modules/sec_auth/ssh-server.nix
|
||||
../../modules/pkg_mgrmnt/unattended-updates.nix
|
||||
|
||||
../../system_profiles/server.nix
|
||||
(rootPath + /modules/game/server/luanti)
|
||||
(rootPath + /modules/pkg_mgrmnt/unattended-updates.nix)
|
||||
];
|
||||
|
||||
users = let
|
||||
username = "root";
|
||||
in {
|
||||
users."${username}".openssh.authorizedKeys.keyFiles = [
|
||||
../../certificates/id_ed25519_game-luanti.pub
|
||||
(rootPath + /certificates/id_ed25519_game-luanti.pub)
|
||||
];
|
||||
};
|
||||
|
||||
|
|
|
@ -1,13 +1,7 @@
|
|||
{...}: {
|
||||
nixpkgs.config = {
|
||||
# Disable if you don't want unfree packages
|
||||
allowUnfree = true;
|
||||
};
|
||||
|
||||
{rootPath, ...}: {
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
|
||||
../../system_profiles/defaults.nix
|
||||
../../system_profiles/mini-container.nix
|
||||
(rootPath + /system_profiles/server.nix)
|
||||
];
|
||||
}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{rootPath, ...}: {
|
||||
imports = [
|
||||
(rootPath + /modules/customisation.nix)
|
||||
(rootPath + /modules/sec_auth/ssh-server.nix)
|
||||
(rootPath + /modules/software/neovim.nix)
|
||||
(rootPath + /modules/software/packages/core.nix)
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue