configs: consolidate NixOS and home-manager config into one configs folder

Now we're going beyond these structuring as we might have to accomodate
non-system configurations like Nixvim.
This commit is contained in:
Gabriel Arazas 2024-01-15 07:45:43 +08:00
parent a6d6e224bb
commit 0760acb676
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC
115 changed files with 18 additions and 15 deletions

View File

@ -10,6 +10,7 @@ in
config = lib.mkIf cfg.enable {
dconf.settings = {
# My GNOME Shell and programs configuration.
"org/gnome/shell" = {
favorite-apps =
lib.optional userCfg.programs.browsers.firefox.enable "firefox.desktop"

View File

@ -11,9 +11,9 @@ in
extraGroups = [ "wheel" ];
useDefaultShell = true;
openssh.authorizedKeys.keyFiles = [
../../home-manager/foo-dogsquared/files/ssh-key.pub
../../home-manager/foo-dogsquared/files/ssh-key-2.pub
../../../hosts/ni/files/ssh-key.pub
../../../home-manager/foo-dogsquared/files/ssh-key.pub
../../../home-manager/foo-dogsquared/files/ssh-key-2.pub
../../ni/files/ssh-key.pub
];
};

View File

@ -3,7 +3,7 @@
let
user = "plover";
homeManagerUser = lib.private.getUser "home-manager" user;
homeManagerUser = lib.private.getConfig "home-manager" user;
in
{
users.users.${user} = {
@ -15,9 +15,9 @@ in
description = "The go-to user for server systems.";
openssh.authorizedKeys.keyFiles = [
../../home-manager/foo-dogsquared/files/ssh-key.pub
../../home-manager/foo-dogsquared/files/ssh-key-2.pub
../../../hosts/ni/files/ssh-key.pub
../../../home-manager/foo-dogsquared/files/ssh-key.pub
../../../home-manager/foo-dogsquared/files/ssh-key-2.pub
../../ni/files/ssh-key.pub
];
};

View File

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 58 KiB

Some files were not shown because too many files have changed in this diff Show More