updated flake structure

This commit is contained in:
serenity-F 2024-11-19 16:54:54 +10:00
parent fdc0126f0f
commit 7cf7cd6a60
No known key found for this signature in database
11 changed files with 59 additions and 14 deletions

View file

@ -1,20 +1,22 @@
{ inputs, lib, ... }:
{
imports = [
## Not sure wei need the home-manager import here
inputs.home-manager.nixosModules.home-manager
## Semi-modularised config
./desktop-misc.nix # stuff that doesn't work in home-manager :(
./packages.nix # system-level packages here - needs tidying
./display.nix # declarations for display management
./gaming.nix # for gaming stuff, ideally would be in home/
./audio.nix # sound go bwuuuaaaahhhhhhhh
../home/users # user-level packages here
];
## Crikey !
time.timeZone = "Australia/Brisbane";
i18n.defaultLocale = "en_GB.UTF-8";
i18n.defaultLocale = "en_AU.UTF-8";
## Genuinely dunno what these do hey, like isnt sudo
## already restricted to @wheel only?

15
core/modules/default.nix Normal file
View file

@ -0,0 +1,15 @@
{ ... }:
{
imports = [
## Semi-modularised config
./jellyfin.nix
./regreet.nix
./desktop.nix # stuff that doesn't work in home-manager :(
./display.nix # declarations for display management
./gaming.nix # for gaming stuff, ideally would be in home/
];
}

View file

@ -1,11 +1,20 @@
{ ... }:
{
imports = [
## Selected modules for import
./zfs.nix # zfs storage config
./hardware.nix # hardware config
./network.nix # network/internet config
## Selected host modules for import
./hardware.nix # hardware configuration
./network.nix # network configuration
./zfs.nix # zfs configuration
## Selected core modules for import
../../../core/modules/display.nix # display stuff
../../../core/modules/regreet.nix # regreet customisation
../../../core/modules/desktop.nix # didnt work in home-manager :(
../../../core/modules/gaming.nix # didnt work in home-manager :(
];
}

View file

@ -1,10 +1,17 @@
{ ... }:
{
imports = [
## Selected modules for import
#./zfs.nix # zfs storage config
./network.nix # network/internet config
## Selected core modules for import
../../../core/modules/display.nix # display stuff
../../../core/modules/regreet.nix # regreet customisation
../../../core/modules/desktop.nix # didnt work in home-manager :(
];
}

View file

@ -1,10 +1,17 @@
{ ... }:
{
imports = [
## Selected modules for import
./zfs.nix # zfs storage config
./network.nix # network/internet config
#./hardware.nix # hardware configuration
./network.nix # network configuration
./zfs.nix # zfs configuration
## Selected core modules for import
../../../core/modules/jellyfin.nix
];
}

View file

@ -1,12 +1,17 @@
{ ... }:
{
imports = [
## Selected modules for import
#./disko.nix # disk/partition config
./network.nix # network/internet config
## Selected host modules for import
./hardware.nix # hardware configuration
./network.nix # network configuration
## Selected core modules for import
../../../core/modules/display.nix # display stuff
../../../core/modules/regreet.nix # regreet customisation
../../../core/modules/desktop.nix # didnt work in home-manager :(
];