generify more and disable onlyoffice
This commit is contained in:
parent
dbbe13b315
commit
8c454565d8
|
@ -2,7 +2,6 @@
|
||||||
# Use this to configure your system environment (it replaces /etc/nixos/configuration.nix)
|
# Use this to configure your system environment (it replaces /etc/nixos/configuration.nix)
|
||||||
{
|
{
|
||||||
inputs,
|
inputs,
|
||||||
outputs,
|
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
config,
|
config,
|
||||||
|
@ -28,14 +27,6 @@
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
home-manager = {
|
|
||||||
extraSpecialArgs = {inherit inputs outputs;};
|
|
||||||
users = {
|
|
||||||
# Import your home-manager configuration
|
|
||||||
lillian = import ../../../home-manager/hosts/EDI;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
];
|
];
|
||||||
networking = {
|
networking = {
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
# Use this to configure your system environment (it replaces /etc/nixos/configuration.nix)
|
# Use this to configure your system environment (it replaces /etc/nixos/configuration.nix)
|
||||||
{
|
{
|
||||||
inputs,
|
inputs,
|
||||||
outputs,
|
|
||||||
pkgs,
|
pkgs,
|
||||||
config,
|
config,
|
||||||
...
|
...
|
||||||
|
@ -75,13 +74,6 @@
|
||||||
|
|
||||||
users.users.lillian.extraGroups = ["gamemode"];
|
users.users.lillian.extraGroups = ["gamemode"];
|
||||||
|
|
||||||
home-manager = {
|
|
||||||
extraSpecialArgs = {inherit inputs outputs;};
|
|
||||||
users = {
|
|
||||||
# Import your home-manager configuration
|
|
||||||
lillian = import ../../../home-manager/hosts/GLaDOS;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
networking = {
|
networking = {
|
||||||
# virtualisation.waydroid.enable = false;
|
# virtualisation.waydroid.enable = false;
|
||||||
hostName = "GLaDOS";
|
hostName = "GLaDOS";
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
{
|
{
|
||||||
inputs,
|
inputs,
|
||||||
outputs,
|
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
|
@ -175,13 +174,6 @@
|
||||||
# Enable completion of system packages by zsh
|
# Enable completion of system packages by zsh
|
||||||
environment.pathsToLink = ["/share/zsh"];
|
environment.pathsToLink = ["/share/zsh"];
|
||||||
|
|
||||||
home-manager = {
|
|
||||||
extraSpecialArgs = {inherit inputs outputs;};
|
|
||||||
users = {
|
|
||||||
# Import your home-manager configuration
|
|
||||||
lillian = import ../../../home-manager/hosts/queen;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
boot = {
|
boot = {
|
||||||
tmp.cleanOnBoot = true;
|
tmp.cleanOnBoot = true;
|
||||||
loader.grub = {
|
loader.grub = {
|
||||||
|
|
|
@ -251,13 +251,6 @@
|
||||||
# Enable completion of system packages by zsh
|
# Enable completion of system packages by zsh
|
||||||
environment.pathsToLink = ["/share/zsh"];
|
environment.pathsToLink = ["/share/zsh"];
|
||||||
|
|
||||||
home-manager = {
|
|
||||||
extraSpecialArgs = {inherit inputs outputs;};
|
|
||||||
users = {
|
|
||||||
# Import your home-manager configuration
|
|
||||||
lillian = import ../../../home-manager/hosts/shodan;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
security = {
|
security = {
|
||||||
rtkit.enable = true;
|
rtkit.enable = true;
|
||||||
tpm2 = {
|
tpm2 = {
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
inputs,
|
|
||||||
outputs,
|
|
||||||
config,
|
config,
|
||||||
modulesPath,
|
modulesPath,
|
||||||
...
|
...
|
||||||
|
@ -154,13 +152,6 @@
|
||||||
|
|
||||||
sdImage.compressImage = false;
|
sdImage.compressImage = false;
|
||||||
|
|
||||||
home-manager = {
|
|
||||||
extraSpecialArgs = {inherit inputs outputs;};
|
|
||||||
users = {
|
|
||||||
# Import your home-manager configuration
|
|
||||||
lillian = import ../../../home-manager/hosts/wheatley;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "wheatley";
|
hostName = "wheatley";
|
||||||
|
|
||||||
|
|
|
@ -7,13 +7,14 @@
|
||||||
sops.secrets."nextcloudadmin".owner = config.users.users.nextcloud.name;
|
sops.secrets."nextcloudadmin".owner = config.users.users.nextcloud.name;
|
||||||
sops.secrets."nextclouddb".mode = "0440";
|
sops.secrets."nextclouddb".mode = "0440";
|
||||||
sops.secrets."nextclouddb".owner = config.users.users.nextcloud.name;
|
sops.secrets."nextclouddb".owner = config.users.users.nextcloud.name;
|
||||||
sops.secrets."local.json".mode = "0440";
|
# sops.secrets."local.json".mode = "0440";
|
||||||
sops.secrets."local.json".owner = config.users.users.onlyoffice.name;
|
# sops.secrets."local.json".owner = config.users.users.onlyoffice.name;
|
||||||
|
|
||||||
users.users = {
|
users.users = {
|
||||||
nextcloud.extraGroups = [config.users.groups.keys.name config.users.users.onlyoffice.name];
|
# nextcloud.extraGroups = [config.users.groups.keys.name config.users.users.onlyoffice.name];
|
||||||
|
nextcloud.extraGroups = [config.users.groups.keys.name];
|
||||||
#aria2.extraGroups = ["nextcloud"];
|
#aria2.extraGroups = ["nextcloud"];
|
||||||
onlyoffice.extraGroups = [config.users.users.nextcloud.name];
|
# onlyoffice.extraGroups = [config.users.users.nextcloud.name];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Enable Nginx
|
# Enable Nginx
|
||||||
|
@ -90,15 +91,15 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.onlyoffice = {
|
# services.onlyoffice = {
|
||||||
port = 16783;
|
# port = 16783;
|
||||||
enable = true;
|
# enable = true;
|
||||||
hostname = "onlyoffice.gladtherescake.eu";
|
# hostname = "onlyoffice.gladtherescake.eu";
|
||||||
#postgresHost = "/run/postgesql";
|
# #postgresHost = "/run/postgesql";
|
||||||
#postgresUser = "onlyoffice";
|
# #postgresUser = "onlyoffice";
|
||||||
#postgresName = "onlyoffice";
|
# #postgresName = "onlyoffice";
|
||||||
#jwtSecretFile = config.sops.secrets."local.json".path;
|
# #jwtSecretFile = config.sops.secrets."local.json".path;
|
||||||
};
|
# };
|
||||||
|
|
||||||
services.rabbitmq = {
|
services.rabbitmq = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
inputs,
|
inputs,
|
||||||
|
outputs,
|
||||||
lib,
|
lib,
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
|
@ -8,6 +9,7 @@
|
||||||
imports = [
|
imports = [
|
||||||
./locale
|
./locale
|
||||||
./packages
|
./packages
|
||||||
|
inputs.home-manager.nixosModules.home-manager
|
||||||
];
|
];
|
||||||
sops = {
|
sops = {
|
||||||
age.keyFile = ../../../../../../var/secrets/keys.txt;
|
age.keyFile = ../../../../../../var/secrets/keys.txt;
|
||||||
|
@ -72,8 +74,6 @@
|
||||||
|
|
||||||
# console.catppuccin.enable = true;
|
# console.catppuccin.enable = true;
|
||||||
|
|
||||||
home-manager.backupFileExtension = "backup";
|
|
||||||
|
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
@ -136,6 +136,19 @@
|
||||||
|
|
||||||
# Enable completion of system packages by zsh
|
# Enable completion of system packages by zsh
|
||||||
environment.pathsToLink = ["/share/zsh"];
|
environment.pathsToLink = ["/share/zsh"];
|
||||||
|
|
||||||
|
home-manager = {
|
||||||
|
backupFileExtension = "backup";
|
||||||
|
extraSpecialArgs = {
|
||||||
|
inputs = inputs;
|
||||||
|
outputs = outputs;
|
||||||
|
};
|
||||||
|
users = {
|
||||||
|
# Import your home-manager configuration
|
||||||
|
lillian = import ../../home-manager/hosts/${config.networking.hostName};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
users = {
|
users = {
|
||||||
users.lillian = {
|
users.lillian = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
|
@ -147,7 +160,6 @@
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIH30G2PJOnI6jnAtxOQV0SpLFUva0adarLZLvaoZvjGE lillian@GLaDOS"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIH30G2PJOnI6jnAtxOQV0SpLFUva0adarLZLvaoZvjGE lillian@GLaDOS"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
mutableUsers = false;
|
mutableUsers = false;
|
||||||
|
|
||||||
users.root = {
|
users.root = {
|
||||||
|
|
Loading…
Reference in a new issue