refac: restructure home-manager configs

This commit is contained in:
Dmitriy Pleshevskiy 2023-03-18 23:38:11 +03:00
parent 36d066f355
commit a119a94925
Signed by: pleshevskiy
GPG key ID: 79C4487B44403985
46 changed files with 28 additions and 27 deletions

View file

@ -37,5 +37,5 @@
nix.settings.trusted-users = lib.mkAfter [ "jan" ]; nix.settings.trusted-users = lib.mkAfter [ "jan" ];
age.secrets.users-jan-passfile.file = ../../secrets/users-jan-passfile.age; age.secrets.users-jan-passfile.file = ../../../secrets/users-jan-passfile.age;
} }

View file

@ -4,23 +4,23 @@
imports = [ imports = [
./accounts.secret.nix ./accounts.secret.nix
../modules/window_manager ../../modules/window_manager
../modules/terminal.nix ../../modules/terminal.nix
../modules/shell.nix ../../modules/shell.nix
../modules/notifications ../../modules/notifications
../modules/file_manager ../../modules/file_manager
../modules/mail ../../modules/mail
../modules/pass.nix ../../modules/pass.nix
../modules/git.nix ../../modules/git.nix
../modules/dev_tools.nix ../../modules/dev_tools.nix
../modules/editor.nix ../../modules/editor.nix
../modules/work_tools.nix ../../modules/work_tools.nix
../modules/themes ../../modules/themes
../modules/themes/catppuccin/frappe.nix ../../modules/themes/catppuccin/frappe.nix
]; ];
xdg.enable = true; xdg.enable = true;
@ -51,7 +51,8 @@
# ungoogled-chromium # ungoogled-chromium
tor-browser-bundle-bin tor-browser-bundle-bin
(pkgs.callPackage ../../packages/myip.nix { }) (pkgs.callPackage ../../../packages/myip.nix { })
(pkgs.callPackage ../../../packages/woodpecker { }).woodpecker-cli
]; ];
local.git = { local.git = {

View file

Before

Width:  |  Height:  |  Size: 5.4 MiB

After

Width:  |  Height:  |  Size: 5.4 MiB

View file

Before

Width:  |  Height:  |  Size: 2.6 MiB

After

Width:  |  Height:  |  Size: 2.6 MiB

View file

Before

Width:  |  Height:  |  Size: 4.7 MiB

After

Width:  |  Height:  |  Size: 4.7 MiB

View file

Before

Width:  |  Height:  |  Size: 1.9 MiB

After

Width:  |  Height:  |  Size: 1.9 MiB

View file

Before

Width:  |  Height:  |  Size: 4.5 MiB

After

Width:  |  Height:  |  Size: 4.5 MiB

View file

Before

Width:  |  Height:  |  Size: 4.9 MiB

After

Width:  |  Height:  |  Size: 4.9 MiB

View file

Before

Width:  |  Height:  |  Size: 3.5 MiB

After

Width:  |  Height:  |  Size: 3.5 MiB

View file

Before

Width:  |  Height:  |  Size: 4.5 MiB

After

Width:  |  Height:  |  Size: 4.5 MiB

View file

Before

Width:  |  Height:  |  Size: 2.7 MiB

After

Width:  |  Height:  |  Size: 2.7 MiB

View file

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 47 KiB

View file

Before

Width:  |  Height:  |  Size: 2.7 MiB

After

Width:  |  Height:  |  Size: 2.7 MiB

View file

Before

Width:  |  Height:  |  Size: 4.3 MiB

After

Width:  |  Height:  |  Size: 4.3 MiB

View file

Before

Width:  |  Height:  |  Size: 3.3 MiB

After

Width:  |  Height:  |  Size: 3.3 MiB

View file

Before

Width:  |  Height:  |  Size: 2.6 MiB

After

Width:  |  Height:  |  Size: 2.6 MiB

View file

@ -25,5 +25,5 @@
home.stateVersion = config.system.stateVersion; home.stateVersion = config.system.stateVersion;
}; };
age.secrets.users-nas-passfile.file = ../../secrets/users-nas-passfile.age; age.secrets.users-nas-passfile.file = ../../../secrets/users-nas-passfile.age;
} }

View file

@ -2,14 +2,14 @@
{ {
imports = [ imports = [
../modules/window_manager ../../modules/window_manager
../modules/terminal.nix ../../modules/terminal.nix
../modules/shell.nix ../../modules/shell.nix
../modules/notifications ../../modules/notifications
../modules/themes ../../modules/themes
../modules/themes/catppuccin/frappe.nix ../../modules/themes/catppuccin/frappe.nix
]; ];
xdg.enable = true; xdg.enable = true;

View file

@ -70,7 +70,7 @@
# Wireguard client # Wireguard client
age.secrets.wireguard-asus-gl553vd-private = { age.secrets.wireguard-asus-gl553vd-private = {
file = ../../../../secrets/wireguard-asus-gl553vd-private.age; file = ../../../secrets/wireguard-asus-gl553vd-private.age;
mode = "0400"; mode = "0400";
}; };
local.wireguard = { local.wireguard = {

View file

@ -11,8 +11,8 @@ in
hardware.common-gpu-amd hardware.common-gpu-amd
../modules/nix.nix ../modules/nix.nix
../modules/wireguard-client.nix ../modules/wireguard-client.nix
../../users/jan ../../home/users/jan
../../users/nas ../../home/users/nas
]; ];
extraHomeModule = { ... }: { extraHomeModule = { ... }: {
@ -28,8 +28,8 @@ in
hardware.common-cpu-intel hardware.common-cpu-intel
../modules/nix.nix ../modules/nix.nix
../modules/wireguard-client.nix ../modules/wireguard-client.nix
../../users/jan ../../home/users/jan
../../users/nas ../../home/users/nas
]; ];
extraHomeModule = { ... }: { extraHomeModule = { ... }: {