forked from mirrors_public/oddlama_nix-config
refactor: split "real" modules and "config" modules
This commit is contained in:
parent
045f15239a
commit
cceae6c63c
60 changed files with 126 additions and 113 deletions
13
users/config/default.nix
Normal file
13
users/config/default.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
imports = [
|
||||
../modules
|
||||
|
||||
./htop.nix
|
||||
./impermanence.nix
|
||||
./neovim.nix
|
||||
./shell
|
||||
./utils.nix
|
||||
];
|
||||
|
||||
xdg.configFile."nixpkgs/config.nix".text = "{ allowUnfree = true; }";
|
||||
}
|
|
@ -1,14 +1,6 @@
|
|||
{...}: {
|
||||
{
|
||||
imports = [
|
||||
./uid.nix
|
||||
./secrets.nix
|
||||
|
||||
./config/htop.nix
|
||||
./config/impermanence.nix
|
||||
./config/neovim.nix
|
||||
./config/shell
|
||||
./config/utils.nix
|
||||
];
|
||||
|
||||
xdg.configFile."nixpkgs/config.nix".text = "{ allowUnfree = true; }";
|
||||
}
|
||||
|
|
|
@ -30,7 +30,7 @@ in
|
|||
|
||||
home-manager.users.${myuser} = {
|
||||
imports = [
|
||||
../modules
|
||||
../config
|
||||
./dev
|
||||
./graphical
|
||||
./neovim
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
home-manager.users.root = {
|
||||
imports = [
|
||||
../modules
|
||||
../config
|
||||
];
|
||||
|
||||
home = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue