mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-10 23:00:39 +02:00
refactor: move users/common to modules/config structure like for hosts
This commit is contained in:
parent
2087bbce07
commit
4b5507f374
15 changed files with 14 additions and 14 deletions
|
@ -1,11 +0,0 @@
|
||||||
{...}: {
|
|
||||||
imports = [
|
|
||||||
./modules/uid.nix
|
|
||||||
|
|
||||||
./htop.nix
|
|
||||||
./impermanence.nix
|
|
||||||
./neovim.nix
|
|
||||||
./shell
|
|
||||||
./utils.nix
|
|
||||||
];
|
|
||||||
}
|
|
|
@ -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
11
users/modules/default.nix
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{...}: {
|
||||||
|
imports = [
|
||||||
|
./uid.nix
|
||||||
|
|
||||||
|
./config/htop.nix
|
||||||
|
./config/impermanence.nix
|
||||||
|
./config/neovim.nix
|
||||||
|
./config/shell
|
||||||
|
./config/utils.nix
|
||||||
|
];
|
||||||
|
}
|
|
@ -28,7 +28,7 @@ in {
|
||||||
|
|
||||||
home-manager.users.${myuser} = {
|
home-manager.users.${myuser} = {
|
||||||
imports = [
|
imports = [
|
||||||
../common
|
../modules
|
||||||
./dev
|
./dev
|
||||||
./graphical
|
./graphical
|
||||||
./neovim
|
./neovim
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
home-manager.users.root = {
|
home-manager.users.root = {
|
||||||
imports = [
|
imports = [
|
||||||
../common
|
../modules
|
||||||
];
|
];
|
||||||
|
|
||||||
home = {
|
home = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue