mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
more flake changes and added module impot helpers
This commit is contained in:
parent
fea6f8b961
commit
0a10e29581
6 changed files with 96 additions and 51 deletions
|
|
@ -1,8 +1,20 @@
|
|||
{settings, ...}: {
|
||||
imports = [
|
||||
./theme.nix
|
||||
./neovim
|
||||
];
|
||||
{
|
||||
settings,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
imports = let
|
||||
modules = [
|
||||
"theme"
|
||||
];
|
||||
in
|
||||
lib.lists.forEach modules (
|
||||
m:
|
||||
./. + ("/" + m + ".nix")
|
||||
)
|
||||
++ [
|
||||
./neovim
|
||||
];
|
||||
home = {
|
||||
username = "root";
|
||||
homeDirectory = "/root";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue