mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-04-25 06:19:10 +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 {
|
config = lib.mkIf cfg.enable {
|
||||||
dconf.settings = {
|
dconf.settings = {
|
||||||
|
# My GNOME Shell and programs configuration.
|
||||||
"org/gnome/shell" = {
|
"org/gnome/shell" = {
|
||||||
favorite-apps =
|
favorite-apps =
|
||||||
lib.optional userCfg.programs.browsers.firefox.enable "firefox.desktop"
|
lib.optional userCfg.programs.browsers.firefox.enable "firefox.desktop"
|
@ -11,9 +11,9 @@ in
|
|||||||
extraGroups = [ "wheel" ];
|
extraGroups = [ "wheel" ];
|
||||||
useDefaultShell = true;
|
useDefaultShell = true;
|
||||||
openssh.authorizedKeys.keyFiles = [
|
openssh.authorizedKeys.keyFiles = [
|
||||||
../../home-manager/foo-dogsquared/files/ssh-key.pub
|
../../../home-manager/foo-dogsquared/files/ssh-key.pub
|
||||||
../../home-manager/foo-dogsquared/files/ssh-key-2.pub
|
../../../home-manager/foo-dogsquared/files/ssh-key-2.pub
|
||||||
../../../hosts/ni/files/ssh-key.pub
|
../../ni/files/ssh-key.pub
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
let
|
let
|
||||||
user = "plover";
|
user = "plover";
|
||||||
homeManagerUser = lib.private.getUser "home-manager" user;
|
homeManagerUser = lib.private.getConfig "home-manager" user;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
users.users.${user} = {
|
users.users.${user} = {
|
||||||
@ -15,9 +15,9 @@ in
|
|||||||
description = "The go-to user for server systems.";
|
description = "The go-to user for server systems.";
|
||||||
|
|
||||||
openssh.authorizedKeys.keyFiles = [
|
openssh.authorizedKeys.keyFiles = [
|
||||||
../../home-manager/foo-dogsquared/files/ssh-key.pub
|
../../../home-manager/foo-dogsquared/files/ssh-key.pub
|
||||||
../../home-manager/foo-dogsquared/files/ssh-key-2.pub
|
../../../home-manager/foo-dogsquared/files/ssh-key-2.pub
|
||||||
../../../hosts/ni/files/ssh-key.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