The Blue Update #1
|
@ -1,9 +1,5 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./users
|
||||
];
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
{pkgs, ...}: {
|
||||
home.file = {
|
||||
"VMs" = {
|
||||
source = config.lib.file.mkOutOfStoreSymlink "/etc/libvirt/VMs";
|
||||
};
|
||||
".face" = {
|
||||
source = ./assets/user-icon.png;
|
||||
};
|
||||
|
|
12
modules/profiles/pc/home/default.nix
Normal file
12
modules/profiles/pc/home/default.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
../../../home
|
||||
../../../home/users
|
||||
../../../home/files
|
||||
../../../home/settings
|
||||
../../../home/programs
|
||||
../../../home/sway
|
||||
../../../home/utils
|
||||
];
|
||||
}
|
17
modules/profiles/pc/system/default.nix
Normal file
17
modules/profiles/pc/system/default.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
../../../system
|
||||
../../../system/accounts
|
||||
../../../system/desktop
|
||||
../../../system/devices
|
||||
../../../system/devices/networking/firewall/server
|
||||
../../../system/programs
|
||||
../../../system/services
|
||||
];
|
||||
|
||||
networking.hostName = "firefly";
|
||||
|
||||
# Force Electron to use Wayland
|
||||
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||
}
|
14
modules/profiles/server/home/default.nix
Normal file
14
modules/profiles/server/home/default.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
../../../home
|
||||
../../../home/users
|
||||
../../../home/programs/fastfetch
|
||||
../../../home/programs/git
|
||||
../../../home/programs/ncmpcpp
|
||||
../../../home/programs/neovim
|
||||
../../../home/programs/ranger
|
||||
../../../home/programs/tmux
|
||||
../../../home/utils/zsh
|
||||
];
|
||||
}
|
17
modules/profiles/server/system/default.nix
Normal file
17
modules/profiles/server/system/default.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
../../../system
|
||||
../../../system/accounts
|
||||
../../../system/devices/filesystems
|
||||
../../../system/devices/networking
|
||||
../../../system/devices/networking/firewall/server
|
||||
../../../system/devices/networking/wireguard/server
|
||||
../../../system/programs/git
|
||||
../../../system/programs/security
|
||||
../../../system/services/common
|
||||
../../../system/services/server
|
||||
];
|
||||
|
||||
networking.hostName = "cyberspark";
|
||||
}
|
|
@ -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…
Reference in a new issue