moved home-manager options to the "home" namespace
this frees up the "host" namespace for host-wide options.
This commit is contained in:
parent
ec2a7506a3
commit
9eb783a3e8
17 changed files with 64 additions and 55 deletions
|
@ -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;
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
...
|
||||
}: {
|
||||
# machine specific options
|
||||
host = {
|
||||
home= {
|
||||
enable-speech = true;
|
||||
nvim = {
|
||||
enable-lsp = true;
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
...
|
||||
}: {
|
||||
# machine specific options
|
||||
host = {
|
||||
home = {
|
||||
enable-speech = true;
|
||||
nvim = {
|
||||
enable-lsp = true;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue