refactor(treewide): statix
This commit is contained in:
parent
366fa0ce80
commit
7f2cd7a343
71 changed files with 84 additions and 84 deletions
|
|
@ -4,7 +4,7 @@
|
|||
...
|
||||
}: let
|
||||
inherit (lib) mkIf;
|
||||
desktop = config.ooknet.desktop;
|
||||
inherit (config.ooknet) desktop;
|
||||
in {
|
||||
config = mkIf (desktop.environment == "hyprland") {
|
||||
ooknet.wayland = {
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
}: let
|
||||
inherit (lib) mkIf;
|
||||
inherit (builtins) elem;
|
||||
profiles = osConfig.ooknet.host.profiles;
|
||||
inherit (osConfig.ooknet.host) profiles;
|
||||
in {
|
||||
config = mkIf (elem "console-tools" profiles) {
|
||||
ooknet.tools = {
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
}: let
|
||||
inherit (lib) mkIf;
|
||||
inherit (builtins) elem;
|
||||
profiles = osConfig.ooknet.host.profiles;
|
||||
inherit (osConfig.ooknet.host) profiles;
|
||||
in {
|
||||
config = mkIf (elem "creative" profiles) {
|
||||
ooknet.creative = {
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
}: let
|
||||
inherit (lib) mkIf;
|
||||
inherit (builtins) elem;
|
||||
profiles = osConfig.ooknet.host.profiles;
|
||||
inherit (osConfig.ooknet.host) profiles;
|
||||
in {
|
||||
config = mkIf (elem "gaming" profiles) {
|
||||
ooknet.gaming = {
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
}: let
|
||||
inherit (lib) mkIf;
|
||||
inherit (builtins) elem;
|
||||
profiles = osConfig.ooknet.host.profiles;
|
||||
inherit (osConfig.ooknet.host) profiles;
|
||||
in {
|
||||
config = mkIf (elem "media" profiles) {
|
||||
ooknet.media = {
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
}: let
|
||||
inherit (lib) mkIf;
|
||||
inherit (builtins) elem;
|
||||
profiles = osConfig.ooknet.host.profiles;
|
||||
inherit (osConfig.ooknet.host) profiles;
|
||||
in {
|
||||
config = mkIf (elem "productiviy" profiles) {
|
||||
ooknet.productivity = {
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
...
|
||||
}: let
|
||||
inherit (lib) mkIf;
|
||||
theme = config.ooknet.theme;
|
||||
inherit (config.ooknet) theme;
|
||||
in {
|
||||
imports = [inputs.nix-colors.homeManagerModule];
|
||||
config = mkIf (theme == "minimal") {
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
}: let
|
||||
inherit (inputs.nix-colors) colorSchemes;
|
||||
inherit (lib) mkIf;
|
||||
theme = config.ooknet.theme;
|
||||
inherit (config.ooknet) theme;
|
||||
in {
|
||||
config = mkIf (theme == "phone") {
|
||||
colorscheme = colorSchemes.gruvbox-material-dark-soft;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue