refactor: move users/common to modules/config structure like for hosts

This commit is contained in:
oddlama 2023-09-10 12:44:58 +02:00
parent 2087bbce07
commit 4b5507f374
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
15 changed files with 14 additions and 14 deletions

View file

@ -1,11 +0,0 @@
{...}: {
imports = [
./modules/uid.nix
./htop.nix
./impermanence.nix
./neovim.nix
./shell
./utils.nix
];
}

View file

@ -32,7 +32,7 @@
hostname = { hostname = {
format = "[$ssh_symbol$hostname]($style)"; format = "[$ssh_symbol$hostname]($style)";
ssh_only = false; ssh_only = false;
ssh_symbol = "🌐"; ssh_symbol = "->";
style = "cyan"; style = "cyan";
}; };
directory = { directory = {

11
users/modules/default.nix Normal file
View file

@ -0,0 +1,11 @@
{...}: {
imports = [
./uid.nix
./config/htop.nix
./config/impermanence.nix
./config/neovim.nix
./config/shell
./config/utils.nix
];
}

View file

@ -28,7 +28,7 @@ in {
home-manager.users.${myuser} = { home-manager.users.${myuser} = {
imports = [ imports = [
../common ../modules
./dev ./dev
./graphical ./graphical
./neovim ./neovim

View file

@ -15,7 +15,7 @@
home-manager.users.root = { home-manager.users.root = {
imports = [ imports = [
../common ../modules
]; ];
home = { home = {