mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 08:53: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,16 +1,25 @@
|
|||
{
|
||||
pkgs,
|
||||
settings,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./librewolf.nix
|
||||
./sxhkd.nix
|
||||
./theme.nix
|
||||
./picom.nix
|
||||
./spicetify.nix
|
||||
./neovim
|
||||
];
|
||||
imports = let
|
||||
modules = [
|
||||
"librewolf"
|
||||
"sxhkd"
|
||||
"theme"
|
||||
"picom"
|
||||
"spicetify"
|
||||
];
|
||||
in
|
||||
lib.lists.forEach modules (
|
||||
m:
|
||||
./. + ("/" + m + ".nix")
|
||||
)
|
||||
++ [
|
||||
./neovim
|
||||
];
|
||||
xsession.numlock.enable = true;
|
||||
home = {
|
||||
homeDirectory = "/home/${settings.username}";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue