aboutsummaryrefslogtreecommitdiff
path: root/home/modules/profiles/base/default.nix
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2022-01-18 17:38:31 +0900
committersefidel <contact@sefidel.net>2022-01-18 17:38:31 +0900
commit7a372ed81256ce5d6aa608be9bebe173ab4e042e (patch)
tree29c7ee0a316ae0dc21ce3fe22342ec2c36ee0f4c /home/modules/profiles/base/default.nix
parent2bdc141bebd35cc38396271c42b23b6f89d032a0 (diff)
downloadnixrc-7a372ed81256ce5d6aa608be9bebe173ab4e042e.zip
project: rewrite
Diffstat (limited to 'home/modules/profiles/base/default.nix')
-rw-r--r--home/modules/profiles/base/default.nix176
1 files changed, 0 insertions, 176 deletions
diff --git a/home/modules/profiles/base/default.nix b/home/modules/profiles/base/default.nix
deleted file mode 100644
index 3d75618..0000000
--- a/home/modules/profiles/base/default.nix
+++ /dev/null
@@ -1,176 +0,0 @@
-{ config, lib, pkgs, self, ... }:
-let
- cfg = config.profiles.base;
-
- neotheme = config.neotheme;
-
- inherit (self.packages.x86_64-linux) neovim iosevka-pure-bin phocus;
-
- inherit (self.non-flake) wallpapers;
-in
-{
- options.profiles.base.enable = lib.mkEnableOption
- "The base profile, should be always enabled";
-
- config = lib.mkIf cfg.enable {
- home.sessionVariables = rec {
- EDITOR = "nvim";
- VISUAL = "nvim";
- GIT_EDITOR = EDITOR;
- };
-
- gtk.enable = true;
- gtk.iconTheme.package = pkgs.papirus-icon-theme;
- gtk.iconTheme.name = "Papirus-Dark";
- gtk.theme.package = phocus;
- gtk.theme.name = "phocus";
-
- home.file.".icons/default".source = "${pkgs.vanilla-dmz}/share/icons/Vanilla-DMZ-AA";
-
- neotheme = {
- name = "Nightlamp Theme - Iceberg Variant";
- identifier = "nightlamp-iceberg";
-
- colors = {
- background = "18191f";
- foreground = "cbc0ab";
- alt0 = "404147";
- alt1 = "54555b";
- color0 = "222329";
- color1 = "b17f81";
- color2 = "8aa387";
- color3 = "d4ae80";
- color4 = "84a0c6";
- color5 = "a093c7";
- color6 = "7aacaa";
- color7 = "d0d0c7";
- bright0 = "36373d";
- bright1 = "c59395";
- bright2 = "9eb79b";
- bright3 = "e8c294";
- bright4 = "a2bee4";
- bright5 = "beb1e5";
- bright6 = "8ec0be";
- bright7 = "e4e4db";
- };
-
- wallpaper = "${wallpapers}/nixos/nix-glow-fg-d4ae80.png";
- };
-
- home.keyboard.layout = "us";
- home.packages = [
- pkgs.hydra-check
- neovim
-
- # Fonts
- iosevka-pure-bin
- pkgs.dina-font
- pkgs.sarasa-gothic
- pkgs.scientifica
- pkgs.jetbrains-mono
- pkgs.twemoji-color-font
- pkgs.symbola
- pkgs.emacs-all-the-icons-fonts
- (pkgs.nerdfonts.override { fonts = [ "Iosevka" "JetBrainsMono" ]; })
- ];
-
-
- wayland.windowManager.sway = {
- enable = true;
-
- config = {
- bars = [{ command = "${pkgs.waybar}/bin/waybar"; }];
- keybindings = { };
- };
-
- extraConfig = import ./config/sway.nix { inherit pkgs neotheme; };
- };
-
- programs = {
- bat.enable = true;
- direnv.enable = true;
- direnv.nix-direnv.enable = true;
- exa.enable = true;
- exa.enableAliases = true;
- home-manager.enable = true;
- htop.enable = true;
-
- foot = {
- enable = true;
-
- settings = import ./config/foot.nix { inherit neotheme; };
- };
-
- password-store.enable = true;
-
- waybar = {
- enable = config.wayland.windowManager.sway.enable;
-
- settings = [ (import ./config/waybar-settings.nix { inherit neotheme; }) ];
-
- style = import ./config/waybar-style.nix { inherit neotheme; };
- };
-
- zsh = {
- enable = true;
-
- enableCompletion = true;
- enableAutosuggestions = true;
-
- autocd = true;
-
- dotDir = ".config/zsh";
-
- plugins = [
- {
- name = "powerlevel10k";
- src = pkgs.zsh-powerlevel10k;
- file = "share/zsh-powerlevel10k/powerlevel10k.zsh-theme";
- }
-
- {
- name = "powerlevel10k-config";
- src = lib.cleanSource ./p10k-config;
- file = "p10k.zsh";
- }
-
- {
- name = "zsh-syntax-highlighting";
- src = pkgs.fetchFromGitHub {
- owner = "zsh-users";
- repo = "zsh-syntax-highlighting";
- rev = "0.7.1";
- sha256 = "03r6hpb5fy4yaakqm3lbf4xcvd408r44jgpv4lnzl9asp4sb9qc0";
- };
- }
- ];
-
- shellAliases = config.programs.zshell.aliases;
- };
-
- zshell.aliases = {
- e = "nvim";
- };
-
- zoxide = {
- enable = true;
- enableZshIntegration = true;
- };
- };
-
- services = {
- dunst = {
- enable = true;
- settings = import ./config/dunst.nix { inherit neotheme; };
- };
-
- wlsunset = {
- enable = true;
- latitude = "36.5";
- longitude = "127.2";
- };
- };
-
- nixpkgs.allowedUnfree = [ "symbola" ];
- };
-}