moved home-manager options to the "home" namespace

this frees up the "host" namespace for host-wide options.
This commit is contained in:
Gabe Venberg 2024-04-23 16:56:34 -05:00
parent ec2a7506a3
commit 9eb783a3e8
17 changed files with 64 additions and 55 deletions

View file

@ -13,7 +13,7 @@ inputs.nixpkgs.lib.nixosSystem {
modules = [
inputs.home-manager.nixosModules.home-manager
./hardware-configuration.nix
../../modules/commonopts.nix
../../modules/hostopts.nix
../../modules/nixos/common.nix
../../modules/nixos/printing.nix
../../modules/both/sound.nix
@ -66,8 +66,9 @@ inputs.nixpkgs.lib.nixosSystem {
];
};
home-manager.users.${config.host.user} = {inputs, ...}: {
host = {
home-manager.users.${config.host.user} = {inputs, osConfig, ...}: {
host=osConfig.host;
home = {
enable-speech = true;
nvim = {
enable-lsp = true;

View file

@ -5,7 +5,7 @@
...
}: {
# machine specific options
host = {
home= {
enable-speech = true;
nvim = {
enable-lsp = true;

View file

@ -5,7 +5,7 @@
...
}: {
# machine specific options
host = {
home = {
enable-speech = true;
nvim = {
enable-lsp = true;

View file

@ -13,7 +13,7 @@ inputs.nixpkgs.lib.nixosSystem {
modules = [
inputs.home-manager.nixosModules.home-manager
./hardware-configuration.nix
../../modules/commonopts.nix
../../modules/hostopts.nix
../../modules/nixos/common.nix
../../modules/nixos/printing.nix
../../modules/both/sound.nix
@ -67,8 +67,9 @@ inputs.nixpkgs.lib.nixosSystem {
];
};
home-manager.users.${config.host.user} = {inputs, ...}: {
host = {
home-manager.users.${config.host.user} = {inputs, osConfig, ...}: {
host=osConfig.host;
home = {
enable-speech = true;
nvim = {
enable-lsp = true;