refactor(treewide): format with alejandra
This commit is contained in:
parent
7fefb94400
commit
61cef505da
216 changed files with 5995 additions and 3969 deletions
|
|
@ -1,11 +1,11 @@
|
|||
{ lib, config, ... }:
|
||||
|
||||
let
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf;
|
||||
desktop = config.ooknet.desktop;
|
||||
in
|
||||
|
||||
{
|
||||
in {
|
||||
config = mkIf (desktop.environment == "hyprland") {
|
||||
ooknet.wayland = {
|
||||
enable = true;
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
{ osConfig, lib, ... }:
|
||||
|
||||
let
|
||||
{
|
||||
osConfig,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf;
|
||||
inherit (builtins) elem;
|
||||
profiles = osConfig.ooknet.host.profiles;
|
||||
in
|
||||
|
||||
{
|
||||
in {
|
||||
config = mkIf (elem "console-tools" profiles) {
|
||||
ooknet.tools = {
|
||||
btop.enable = true;
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
{ osConfig, lib, ... }:
|
||||
|
||||
let
|
||||
{
|
||||
osConfig,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf;
|
||||
inherit (builtins) elem;
|
||||
profiles = osConfig.ooknet.host.profiles;
|
||||
in
|
||||
|
||||
{
|
||||
in {
|
||||
config = mkIf (elem "creative" profiles) {
|
||||
ooknet.creative = {
|
||||
audacity.enable = true;
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
{ osConfig, lib, ... }:
|
||||
|
||||
let
|
||||
{
|
||||
osConfig,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf;
|
||||
inherit (builtins) elem;
|
||||
profiles = osConfig.ooknet.host.profiles;
|
||||
in
|
||||
|
||||
{
|
||||
in {
|
||||
config = mkIf (elem "gaming" profiles) {
|
||||
ooknet.gaming = {
|
||||
wine.enable = true;
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
{ osConfig, lib, ... }:
|
||||
|
||||
let
|
||||
{
|
||||
osConfig,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf;
|
||||
inherit (builtins) elem;
|
||||
profiles = osConfig.ooknet.host.profiles;
|
||||
in
|
||||
|
||||
{
|
||||
in {
|
||||
config = mkIf (elem "media" profiles) {
|
||||
ooknet.media = {
|
||||
image = {
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
{ osConfig, lib, ... }:
|
||||
|
||||
let
|
||||
{
|
||||
osConfig,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf;
|
||||
inherit (builtins) elem;
|
||||
profiles = osConfig.ooknet.host.profiles;
|
||||
in
|
||||
|
||||
{
|
||||
in {
|
||||
config = mkIf (elem "productiviy" profiles) {
|
||||
ooknet.productivity = {
|
||||
notes.obsidian.enable = true;
|
||||
|
|
|
|||
|
|
@ -1,15 +1,16 @@
|
|||
{ lib, config, pkgs, inputs, ... }:
|
||||
|
||||
let
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}: let
|
||||
inherit (inputs.nix-colors) colorSchemes;
|
||||
inherit (lib) mkIf;
|
||||
theme = config.ooknet.theme;
|
||||
in
|
||||
|
||||
{
|
||||
imports = [ inputs.nix-colors.homeManagerModule ];
|
||||
in {
|
||||
imports = [inputs.nix-colors.homeManagerModule];
|
||||
config = mkIf (theme == "minimal") {
|
||||
|
||||
colorscheme = colorSchemes.gruvbox-material-dark-medium;
|
||||
home.file.".colorscheme".text = config.colorscheme.slug;
|
||||
home.sessionVariables.COLOR_SCHEME = "${config.colorscheme.slug}";
|
||||
|
|
@ -22,7 +23,7 @@ in
|
|||
};
|
||||
fonts.monospace = {
|
||||
family = "JetBrainsMono Nerd Font";
|
||||
package = pkgs.nerdfonts.override { fonts = [ "JetBrainsMono" ]; };
|
||||
package = pkgs.nerdfonts.override {fonts = ["JetBrainsMono"];};
|
||||
};
|
||||
|
||||
cursor.enable = true;
|
||||
|
|
@ -35,7 +36,7 @@ in
|
|||
wallpaper = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
|
||||
gtk.enable = true;
|
||||
qt.enable = true;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,14 +1,15 @@
|
|||
{ lib, config, pkgs, inputs, ... }:
|
||||
|
||||
let
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}: let
|
||||
inherit (inputs.nix-colors) colorSchemes;
|
||||
inherit (lib) mkIf;
|
||||
theme = config.ooknet.theme;
|
||||
in
|
||||
|
||||
{
|
||||
in {
|
||||
config = mkIf (theme == "phone") {
|
||||
|
||||
colorscheme = colorSchemes.gruvbox-material-dark-soft;
|
||||
home.file.".colorscheme".text = config.colorscheme.slug;
|
||||
home.sessionVariables.COLOR_SCHEME = "${config.colorscheme.slug}";
|
||||
|
|
@ -21,7 +22,7 @@ in
|
|||
};
|
||||
fonts.monospace = {
|
||||
family = "JetBrainsMono Nerd Font";
|
||||
package = pkgs.nerdfonts.override { fonts = [ "JetBrainsMono" ]; };
|
||||
package = pkgs.nerdfonts.override {fonts = ["JetBrainsMono"];};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue