mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-04-18 18:19:12 +00:00
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:
parent
a6d6e224bb
commit
0760acb676
@ -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"
|
@ -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
|
||||
];
|
||||
};
|
||||
|
@ -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
|
||||
];
|
||||
};
|
||||
|
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB |
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
Loading…
Reference in New Issue
Block a user