diff --git a/modules/applications/alacritty.nix b/modules/applications/alacritty.nix new file mode 100644 index 0000000..e5a5c4b --- /dev/null +++ b/modules/applications/alacritty.nix @@ -0,0 +1,53 @@ +{ ... }: { + home-manager.users.adrielus.programs.alacritty = { + enable = true; + + settings = { + window = { + padding = { + x = 4; + y = 8; + }; + + gtk_theme_variant = "dark"; + }; + + fonts.normal.family = "Source Code Pro"; + + colors = { + cursor = { + text = "#1460d2"; + cursor = "#f0cc09"; + }; + selection = { + text = "#b5b5b5"; + background = "#18354f"; + }; + primary = { + background = "#132738"; + foreground = "#ffffff"; + }; + normal = { + black = "#000000"; + red = "#ff0000"; + green = "#38de21"; + yellow = "#ffe50a"; + blue = "#1460d2"; + magenta = "#ff005d"; + cyan = "#00bbbb"; + white = "#bbbbbb"; + }; + bright = { + black = "#555555"; + red = "#f40e17"; + green = "#3bd01d"; + yellow = "#edc809"; + blue = "#5555ff"; + magenta = "#ff55ff"; + cyan = "#6ae3fa"; + white = "#ffffff"; + }; + }; + }; + }; +} diff --git a/modules/applications/default.nix b/modules/applications/default.nix index d73a351..7ecac81 100644 --- a/modules/applications/default.nix +++ b/modules/applications/default.nix @@ -1,3 +1,12 @@ { ... }: { - imports = [ ./misc.nix ./locale.nix ./git ./shells ./wakatime ./memes.nix ]; + imports = [ + ./git + ./shells + ./wakatime + + ./misc.nix + ./locale.nix + ./memes.nix + ./alacritty.nix + ]; } diff --git a/modules/applications/misc.nix b/modules/applications/misc.nix index 2e57bc3..cf12270 100644 --- a/modules/applications/misc.nix +++ b/modules/applications/misc.nix @@ -5,6 +5,7 @@ exa # ls replacement mkpasswd # hash passwords gnupg + typespeed # editors vscodium @@ -13,8 +14,11 @@ discord slack - # gui studf + # browsers google-chrome + brave + + # other stuff spectacle # take screenshots unstable.elementary-planner # project planner ]; diff --git a/modules/default.nix b/modules/default.nix index 1b0f0df..3ab0c8b 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -2,6 +2,8 @@ imports = [ ./dev ./applications + ./theme + ./network.nix ./xserver.nix ./users.nix diff --git a/modules/overlay.nix b/modules/overlay.nix index 08e1d96..27428e4 100644 --- a/modules/overlay.nix +++ b/modules/overlay.nix @@ -12,6 +12,8 @@ in { cached-nix-shell = callPackage imports.cached-nix-shell { }; easy-purescript-nix = callPackage imports.easy-purescript-nix { }; + brave = unstable.brave; + inherit (import imports.niv { }) niv; inherit (import imports.all-hies { }) all-hies; }) diff --git a/modules/theme/default.nix b/modules/theme/default.nix new file mode 100644 index 0000000..f6b7acc --- /dev/null +++ b/modules/theme/default.nix @@ -0,0 +1 @@ +{ ... }: { imports = [ ./fonts.nix ]; } diff --git a/modules/theme/fonts.nix b/modules/theme/fonts.nix new file mode 100644 index 0000000..739705c --- /dev/null +++ b/modules/theme/fonts.nix @@ -0,0 +1,7 @@ +{ pkgs, ... }: { + home-manager.users.adrielus.home.packages = with pkgs; [ + fira-code + fira-code-symbols + source-code-pro + ]; +}