refactor: remove unnecessary workstation feature
This commit is contained in:
@@ -4,7 +4,7 @@ let
|
|||||||
homeModules = config.flake.modules.homeManager;
|
homeModules = config.flake.modules.homeManager;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
flake.modules.nixos.workstation-base = {
|
flake.modules.nixos.workstation = {
|
||||||
imports = [
|
imports = [
|
||||||
nixosModules.audio
|
nixosModules.audio
|
||||||
nixosModules.bluetooth
|
nixosModules.bluetooth
|
||||||
@@ -30,14 +30,7 @@ in
|
|||||||
environment.localBinInPath = true;
|
environment.localBinInPath = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
flake.modules.nixos.workstation-host = {
|
flake.modules.homeManager.workstation = {
|
||||||
imports = [
|
|
||||||
nixosModules.workstation-base
|
|
||||||
nixosModules.qbittorrent-client
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
flake.modules.homeManager.workstation-base = {
|
|
||||||
imports = [
|
imports = [
|
||||||
homeModules.ai
|
homeModules.ai
|
||||||
homeModules.bitwarden
|
homeModules.bitwarden
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ let
|
|||||||
nixosModules = config.flake.modules.nixos;
|
nixosModules = config.flake.modules.nixos;
|
||||||
homeModules = config.flake.modules.homeManager;
|
homeModules = config.flake.modules.homeManager;
|
||||||
metaLib = config.meta.lib;
|
metaLib = config.meta.lib;
|
||||||
workstationHomeImports = [ homeModules.workstation-base ];
|
workstationHomeImports = [ homeModules.workstation ];
|
||||||
kiriHomeImports = workstationHomeImports ++ [
|
kiriHomeImports = workstationHomeImports ++ [
|
||||||
homeModules.syncthing
|
homeModules.syncthing
|
||||||
homeModules.qbittorrent-client
|
homeModules.qbittorrent-client
|
||||||
@@ -51,7 +51,7 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
nixosModules.workstation-host
|
nixosModules.workstation
|
||||||
nixosModules.steam
|
nixosModules.steam
|
||||||
./_hardware.nix
|
./_hardware.nix
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ let
|
|||||||
nixosModules = config.flake.modules.nixos;
|
nixosModules = config.flake.modules.nixos;
|
||||||
homeModules = config.flake.modules.homeManager;
|
homeModules = config.flake.modules.homeManager;
|
||||||
metaLib = config.meta.lib;
|
metaLib = config.meta.lib;
|
||||||
workstationHomeImports = [ homeModules.workstation-base ];
|
workstationHomeImports = [ homeModules.workstation ];
|
||||||
portableNoctalia = homeModules.noctalia-portable;
|
portableNoctalia = homeModules.noctalia-portable;
|
||||||
kiriHomeImports = workstationHomeImports ++ [
|
kiriHomeImports = workstationHomeImports ++ [
|
||||||
homeModules.syncthing
|
homeModules.syncthing
|
||||||
@@ -71,7 +71,7 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
nixosModules.workstation-host
|
nixosModules.workstation
|
||||||
nixosModules.laptop-power
|
nixosModules.laptop-power
|
||||||
{
|
{
|
||||||
hardware.enableRedistributableFirmware = true;
|
hardware.enableRedistributableFirmware = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user