Update deployment_type for home-manager
This commit is contained in:
parent
13d42ab57a
commit
722deca86d
6 changed files with 6 additions and 15 deletions
README.md
home-manager
|
@ -147,8 +147,8 @@ Completed To Do List [here](./docs/complete.md)
|
|||
|
||||
# ℹ️ Troubleshooting
|
||||
1. To troubleshoot disko issues, this command can come in handy:
|
||||
```
|
||||
nix eval .#nixosConfigurations.`hostname`.config.disko.devices._config
|
||||
```bash
|
||||
nix eval .#nixosConfigurations.$(hostname).config.disko.devices._config | nixfmt
|
||||
```
|
||||
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, inputs, hostname, username, desktop, ... }: {
|
||||
{ lib, inputs, hostname, username, desktop, deployment_type, ... }: {
|
||||
imports = [
|
||||
# Common configs
|
||||
./common/software/cli
|
||||
|
@ -18,7 +18,7 @@
|
|||
]
|
||||
++ lib.optional (builtins.isString desktop) ./common/software/gui # GUI packages
|
||||
++ lib.optional (builtins.isString desktop) ./common/desktops/${desktop} # Machine-agnostic desktop configs
|
||||
++ lib.optional (builtins.isString desktop) ./hosts/${hostname}/desktops/${desktop} # Machine-specific desktop configs
|
||||
++ lib.optional (builtins.isString desktop) ./${deployment_type}/${hostname}/desktops/${desktop} # Machine-specific desktop configs
|
||||
;
|
||||
|
||||
news.display = "silent";
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, inputs, hostname, username, desktop, ... }: {
|
||||
{ lib, inputs, hostname, username, deployment_type, desktop, ... }: {
|
||||
imports = [
|
||||
# Common configs
|
||||
./common/software/cli/fish.nix
|
||||
|
@ -27,7 +27,7 @@
|
|||
]
|
||||
++ lib.optional (builtins.isString desktop) ./common/software/gui # GUI packages
|
||||
++ lib.optional (builtins.isString desktop) ./common/desktops/${desktop} # Machine-agnostic desktop configs
|
||||
++ lib.optional (builtins.isString desktop) ./hosts/${hostname}/desktops/${desktop} # Machine-specific desktop configs
|
||||
++ lib.optional (builtins.isString desktop) ./${deployment_type}/${hostname}/desktops/${desktop} # Machine-specific desktop configs
|
||||
;
|
||||
|
||||
news.display = "silent";
|
||||
|
|
Loading…
Add table
Reference in a new issue