From d9a3e99839075f98d6ae41fc30f9d5f34b45ac6f Mon Sep 17 00:00:00 2001 From: schererleander Date: Wed, 30 Jul 2025 23:33:38 +0200 Subject: chore: formatting --- hosts/desktop/configuration.nix | 2 +- hosts/macbook/configuration.nix | 4 +--- hosts/macbook/home.nix | 7 ++---- modules/home-manager/default.nix | 2 +- modules/home-manager/dev.nix | 51 ++++++++++++++++++++++------------------ modules/home-manager/zsh.nix | 2 +- 6 files changed, 34 insertions(+), 34 deletions(-) diff --git a/hosts/desktop/configuration.nix b/hosts/desktop/configuration.nix index 00011ff..0165a04 100644 --- a/hosts/desktop/configuration.nix +++ b/hosts/desktop/configuration.nix @@ -71,5 +71,5 @@ ]; nixpkgs.config.allowUnfree = true; - system.stateVersion = "25.05"; + system.stateVersion = "25.05"; } diff --git a/hosts/macbook/configuration.nix b/hosts/macbook/configuration.nix index 48789b0..867ca40 100644 --- a/hosts/macbook/configuration.nix +++ b/hosts/macbook/configuration.nix @@ -1,6 +1,4 @@ -{ - ... -}: +{ ... }: { users.users.schererleander.home = "/Users/schererleander"; diff --git a/hosts/macbook/home.nix b/hosts/macbook/home.nix index 6bacd85..297811e 100644 --- a/hosts/macbook/home.nix +++ b/hosts/macbook/home.nix @@ -1,7 +1,4 @@ -{ - pkgs, - ... -}: +{ pkgs, ... }: { imports = [ @@ -26,7 +23,7 @@ nerd-fonts.symbols-only ]; - dev.enable = true; + dev.enable = true; home.stateVersion = "25.05"; } diff --git a/modules/home-manager/default.nix b/modules/home-manager/default.nix index 4ab83fc..48050a4 100644 --- a/modules/home-manager/default.nix +++ b/modules/home-manager/default.nix @@ -11,7 +11,7 @@ ./gpg.nix ./nixcord.nix ./foot.nix - ./dev.nix + ./dev.nix ./sway.nix ./waybar.nix ./firefox.nix diff --git a/modules/home-manager/dev.nix b/modules/home-manager/dev.nix index db8513d..b148ad7 100644 --- a/modules/home-manager/dev.nix +++ b/modules/home-manager/dev.nix @@ -1,32 +1,37 @@ -{ config, lib, pkgs, ... }: +{ + config, + lib, + pkgs, + ... +}: { options.dev.enable = lib.mkEnableOption "Development tools"; - config = lib.mkIf config.dev.enable { - zsh.enable = true; - git.enable = true; - neovim.enable = true; - tmux.enable = true; - gpg.enable = true; + config = lib.mkIf config.dev.enable { + zsh.enable = true; + git.enable = true; + neovim.enable = true; + tmux.enable = true; + gpg.enable = true; - home.packages = with pkgs; [ - zoxide + home.packages = with pkgs; [ + zoxide - fzf - ffmpeg - imagemagick + fzf + ffmpeg + imagemagick - gcc - maven - cmake - jdk - go - lua - nodejs - tailwindcss + gcc + maven + cmake + jdk + go + lua + nodejs + tailwindcss - nerd-fonts.symbols-only - ]; - }; + nerd-fonts.symbols-only + ]; + }; } diff --git a/modules/home-manager/zsh.nix b/modules/home-manager/zsh.nix index f9f7548..f86425d 100644 --- a/modules/home-manager/zsh.nix +++ b/modules/home-manager/zsh.nix @@ -1,4 +1,4 @@ -{ config, lib, pkgs, ... }: +{ config, lib, ... }: { options.zsh.enable = lib.mkEnableOption "Configure zsh"; -- cgit v1.3.1