Big refactor, test first
This commit is contained in:
parent
fa6a06c51e
commit
f7b36ba224
13
home-manager/hosts/EDI/default.nix
Normal file
13
home-manager/hosts/EDI/default.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
inputs,
|
||||
outputs,
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
# You can import other home-manager modules here
|
||||
imports = [
|
||||
./lillian.nix
|
||||
];
|
||||
}
|
|
@ -18,8 +18,8 @@
|
|||
|
||||
# You can also split up your configuration and import pieces of it here:
|
||||
# ./nvim.nix
|
||||
../../desktop/configuration.nix
|
||||
./package-configs/plasma-desktop/configuration.nix
|
||||
../../desktop
|
||||
./package-configs/plasma-desktop
|
||||
];
|
||||
|
||||
home.packages = with pkgs; [
|
13
home-manager/hosts/GLaDOS/default.nix
Normal file
13
home-manager/hosts/GLaDOS/default.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
inputs,
|
||||
outputs,
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
# You can import other home-manager modules here
|
||||
imports = [
|
||||
./lillian.nix
|
||||
];
|
||||
}
|
|
@ -18,8 +18,8 @@
|
|||
|
||||
# You can also split up your configuration and import pieces of it here:
|
||||
# ./nvim.nix
|
||||
../../desktop/configuration.nix
|
||||
./package-configs/plasma-desktop/configuration.nix
|
||||
../../desktop
|
||||
./package-configs/plasma-desktop
|
||||
];
|
||||
|
||||
home.packages = with pkgs; [
|
|
@ -9,11 +9,8 @@
|
|||
...
|
||||
}: {
|
||||
imports = [
|
||||
# Import locale settings
|
||||
../shared/locale/configuration.nix
|
||||
|
||||
# Import shared packages
|
||||
../shared/packages/configuration.nix
|
||||
../shared
|
||||
];
|
||||
nixpkgs = {
|
||||
# You can add overlays here
|
|
@ -22,7 +22,7 @@
|
|||
# You can also split up your configuration and import pieces of it here:
|
||||
# ./users.nix
|
||||
|
||||
../../desktop/configuration.nix
|
||||
../../desktop
|
||||
|
||||
# Import your generated (nixos-generate-config) hardware configuration
|
||||
./hardware-configuration.nix
|
||||
|
@ -32,7 +32,7 @@
|
|||
extraSpecialArgs = {inherit inputs outputs;};
|
||||
users = {
|
||||
# Import your home-manager configuration
|
||||
lillian = import ../../../home-manager/hosts/EDI/EDI-Lillian.nix;
|
||||
lillian = import ../../../home-manager/hosts/EDI;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
# You can also split up your configuration and import pieces of it here:
|
||||
# ./users.nix
|
||||
|
||||
../../desktop/configuration.nix
|
||||
../../desktop
|
||||
|
||||
# Import your generated (nixos-generate-config) hardware configuration
|
||||
./hardware-configuration.nix
|
||||
|
|
|
@ -18,24 +18,11 @@
|
|||
# ./nvim.nix
|
||||
./hardware-configuration.nix
|
||||
|
||||
# Import locale settings
|
||||
../../shared/locale/configuration.nix
|
||||
|
||||
# Import shared packages
|
||||
../../shared/packages/configuration.nix
|
||||
# Import shared settings
|
||||
../../shared
|
||||
|
||||
#../../server/package-configs/akkoma/configuration.nix
|
||||
../../server/package-configs/forgejo/configuration.nix
|
||||
../../server/package-configs/gotosocial/configuration.nix
|
||||
../../server/package-configs/mail-server/configuration.nix
|
||||
../../server/package-configs/nextcloud/configuration.nix
|
||||
../../server/package-configs/postgres/configuration.nix
|
||||
../../server/package-configs/postgres/upgrade.nix
|
||||
../../server/package-configs/roundcube/configuration.nix
|
||||
../../server/package-configs/jellyfin/configuration.nix
|
||||
../../server/package-configs/ombi/configuration.nix
|
||||
../../server/package-configs/aria2/configuration.nix
|
||||
../../server/package-configs/conduit/configuration.nix
|
||||
../../server
|
||||
];
|
||||
|
||||
boot.tmp.cleanOnBoot = true;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
# inputs.nix-colors.homeManagerModules.default
|
||||
|
||||
# Import the locale settings
|
||||
../../shared/locale/configuration.nix
|
||||
../../shared
|
||||
|
||||
# You can also split up your configuration and import pieces of it here:
|
||||
# ./nvim.nix
|
||||
|
|
|
@ -16,10 +16,10 @@
|
|||
./hardware-configuration.nix
|
||||
|
||||
# Import locale settings
|
||||
../../shared/locale/configuration.nix
|
||||
../../shared/locale
|
||||
|
||||
# Import shared packages
|
||||
../../shared/packages/configuration.nix
|
||||
../../shared/packages
|
||||
];
|
||||
|
||||
boot.loader.generic-extlinux-compatible.enable = true;
|
||||
|
|
22
nixos/server/package-configs/default.nix
Normal file
22
nixos/server/package-configs/default.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
inputs,
|
||||
outputs,
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./aria2
|
||||
./conduit
|
||||
./dex
|
||||
./forgejo
|
||||
./gotosocial
|
||||
./jellyfin
|
||||
./mail-server
|
||||
./nextcloud
|
||||
./ombi
|
||||
./postgres
|
||||
./roundcube
|
||||
];
|
||||
}
|
13
nixos/shared/default.nix
Normal file
13
nixos/shared/default.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
inputs,
|
||||
outputs,
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./locale
|
||||
./packages
|
||||
];
|
||||
}
|
|
@ -20,6 +20,7 @@
|
|||
spacevim
|
||||
wget
|
||||
zsh
|
||||
tldr
|
||||
|
||||
# System libraries
|
||||
noto-fonts
|
Loading…
Reference in a new issue