This commit is contained in:
Asaki Yuki 2026-04-13 22:47:29 +07:00
parent 1d97959a14
commit 8b2e1e2029
8 changed files with 24 additions and 9 deletions

View file

@ -10,10 +10,6 @@
"flakes" "flakes"
]; ];
device = {
flake-name = "home-server";
};
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;

View file

@ -26,9 +26,9 @@ in
; ;
}; };
imports = [ imports = [
./modules/programs.nix ./programs.nix
./modules/files.nix ./files.nix
./modules/env.nix ./env.nix
../../modules/features/home/theme.nix ../../modules/features/home/theme.nix
../../options/home/default.nix ../../options/home/default.nix

View file

@ -1,16 +1,19 @@
{ libs, pkgs, ... }: { libs, ... }:
{ {
imports = [ imports = [
./programs.nix ./programs.nix
./services.nix ./services.nix
./networking.nix ./networking.nix
./default.nix
(libs.root "/modules/features/system/docker.nix") (libs.root "/modules/features/system/docker.nix")
(libs.root "/modules/features/system/packages.nix") (libs.root "/modules/features/system/packages.nix")
(libs.root "/modules/features/system/nix-dl.nix")
(libs.root "/home/asakiyuki/configuration.nix") (libs.root "/home/asakiyuki/configuration.nix")
(libs.root "/home/junko/configuration.nix") (libs.root "/home/junko/configuration.nix")
(libs.root "/options/system/default.nix") (libs.root "/options/system/default.nix")
(libs.root "/overlays/nixpkgs.nix")
]; ];
} }

11
host/server/device.nix Normal file
View file

@ -0,0 +1,11 @@
{ ... }:
{
device = {
flake-name = "home-server";
programs = {
fastfetch.enable = true;
starship.enable = true;
};
};
}

View file

@ -1,6 +1,11 @@
{ ... }: { ... }:
{ {
programs = { programs = {
ffmpeg.enable = true;
nodejs.enable = true;
bun.enable = true;
ntfs3g.enable = true;
python.enable = true;
jdk.enable = true;
}; };
} }