Gonna revert and modify the original flake, add back overlays from a shared file, and figure things out after
This commit is contained in:
parent
65f90a0bf3
commit
4ad26636a7
17 changed files with 116 additions and 14 deletions
|
@ -1,4 +1,6 @@
|
|||
{ ... }:
|
||||
{
|
||||
users.groups.nfsShare = {};
|
||||
users.groups.nfsShare = {
|
||||
gid = 983;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
nextcloud = {
|
||||
extraGroups = [ "nginx" ];
|
||||
isSystemUser = true;
|
||||
uid = 155;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
nextcloud = {
|
||||
extraGroups = [ "nfsShare" ];
|
||||
isSystemUser = true;
|
||||
uid = 995;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
nginx = {
|
||||
extraGroups = [ "turnserver" "virtualMail" ];
|
||||
isSystemUser = true;
|
||||
uid = 60;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,12 +1,5 @@
|
|||
{ outputs, config, pkgs, ... }: {
|
||||
imports = [
|
||||
./accounts
|
||||
./modules/networking
|
||||
./modules/overlays
|
||||
./programs/git
|
||||
./services/garbage-collection
|
||||
];
|
||||
|
||||
{ outputs, config, pkgs, ... }:
|
||||
{
|
||||
nix = {
|
||||
settings = {
|
||||
experimental-features = "nix-command flakes";
|
||||
|
@ -36,5 +29,9 @@
|
|||
packages = with pkgs; [ terminus_font ];
|
||||
};
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
hardware.enableRedistributableFirmware = true;
|
||||
|
||||
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
||||
system.stateVersion = "24.05";
|
||||
}
|
||||
|
|
6
modules/system/services/common/default.nix
Normal file
6
modules/system/services/common/default.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./ssh
|
||||
];
|
||||
}
|
7
modules/system/services/default.nix
Normal file
7
modules/system/services/default.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./common
|
||||
./pc
|
||||
];
|
||||
}
|
10
modules/system/services/pc/default.nix
Normal file
10
modules/system/services/pc/default.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./mpd
|
||||
./networkfs
|
||||
./school
|
||||
./sunshine
|
||||
./virtualization/qemu
|
||||
];
|
||||
}
|
18
modules/system/services/server/default.nix
Normal file
18
modules/system/services/server/default.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./acme
|
||||
./ddclient
|
||||
./fileserver
|
||||
./forgejo
|
||||
./icecast
|
||||
./mailserver
|
||||
./minecraft
|
||||
./misc
|
||||
./mysql
|
||||
./nginx
|
||||
./social
|
||||
./transmission
|
||||
./vaultwarden
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue