diff options
Diffstat (limited to 'home/ebisu/core/system')
| -rw-r--r-- | home/ebisu/core/system/default.nix | 13 | ||||
| -rw-r--r-- | home/ebisu/core/system/encryption/bitwarden.nix | 8 | ||||
| -rw-r--r-- | home/ebisu/core/system/encryption/default.nix | 7 | ||||
| -rw-r--r-- | home/ebisu/core/system/fonts/default.nix | 75 | ||||
| -rw-r--r-- | home/ebisu/core/system/fonts/meowsans/MeowSans_Font/MeowSans-Regular.ttf | bin | 0 -> 10524000 bytes | |||
| -rw-r--r-- | home/ebisu/core/system/fonts/meowsans/MeowSans_Font/MeowSans.ttf | bin | 0 -> 8666420 bytes | |||
| -rw-r--r-- | home/ebisu/core/system/fonts/meowsans/default.nix | 1 | ||||
| -rw-r--r-- | home/ebisu/core/system/xdg.nix | 33 |
8 files changed, 137 insertions, 0 deletions
diff --git a/home/ebisu/core/system/default.nix b/home/ebisu/core/system/default.nix new file mode 100644 index 0000000..ffa08f2 --- /dev/null +++ b/home/ebisu/core/system/default.nix @@ -0,0 +1,13 @@ +{ pkgs, ... }: +{ + imports = [ + ./encryption + ./fonts + ./xdg.nix + ]; + + home.packages = with pkgs; [ + gnome-logs + procs + ]; +} diff --git a/home/ebisu/core/system/encryption/bitwarden.nix b/home/ebisu/core/system/encryption/bitwarden.nix new file mode 100644 index 0000000..2e5cb32 --- /dev/null +++ b/home/ebisu/core/system/encryption/bitwarden.nix @@ -0,0 +1,8 @@ +{ pkgs, ... }: +{ + home.packages = with pkgs; [ + bitwarden-desktop + # bitwarden-cli + # bitwarden-menu + ]; +} diff --git a/home/ebisu/core/system/encryption/default.nix b/home/ebisu/core/system/encryption/default.nix new file mode 100644 index 0000000..06b7c90 --- /dev/null +++ b/home/ebisu/core/system/encryption/default.nix @@ -0,0 +1,7 @@ +{ pkgs, ... }: +{ + home.packages = with pkgs; [ + libsForQt5.ksshaskpass + seahorse + ]; +} diff --git a/home/ebisu/core/system/fonts/default.nix b/home/ebisu/core/system/fonts/default.nix new file mode 100644 index 0000000..0a7776f --- /dev/null +++ b/home/ebisu/core/system/fonts/default.nix @@ -0,0 +1,75 @@ +{ pkgs, inputs, ... }: +{ + imports = [ ./meowsans ]; + + fonts = { + fontconfig = { + enable = true; + + defaultFonts = { + serif = [ + "New York Medium" + "Hiragino Sans" + "JoyPixels" + "Noto Color Emoji" + "FontAwesome" + ]; + + sansSerif = [ + "SF Pro Text" + "Hiragino Sans" + "JoyPixels" + "Noto Color Emoji" + "FontAwesome" + ]; + + monospace = [ + "SF Mono" + "Hiragino Sans" + "JoyPixels" + "FontAwesome" + "Braille" + ]; + }; + }; + }; + + home.packages = + with pkgs; + with inputs.apple-fonts.packages.${pkgs.system}; + [ + source-code-pro + source-han-sans + noto-fonts + noto-fonts-cjk-sans + noto-fonts-cjk-serif + noto-fonts-color-emoji + lmodern + hanazono + jigmo + iosevka + libertine + sarasa-gothic + nerdfonts + cantarell-fonts + inter + font-awesome + joypixels + hiragino-sans + weather-icons + material-design-icons + meslo-lgs-nf + sf-pro + sf-pro-nerd + sf-compact + sf-compact-nerd + sf-mono + sf-mono-nerd + sf-arabic + sf-arabic-nerd + ny + ny-nerd + ]; + + nixpkgs.config.joypixels.acceptLicense = true; +} diff --git a/home/ebisu/core/system/fonts/meowsans/MeowSans_Font/MeowSans-Regular.ttf b/home/ebisu/core/system/fonts/meowsans/MeowSans_Font/MeowSans-Regular.ttf Binary files differnew file mode 100644 index 0000000..0d12d34 --- /dev/null +++ b/home/ebisu/core/system/fonts/meowsans/MeowSans_Font/MeowSans-Regular.ttf diff --git a/home/ebisu/core/system/fonts/meowsans/MeowSans_Font/MeowSans.ttf b/home/ebisu/core/system/fonts/meowsans/MeowSans_Font/MeowSans.ttf Binary files differnew file mode 100644 index 0000000..8bb6c1a --- /dev/null +++ b/home/ebisu/core/system/fonts/meowsans/MeowSans_Font/MeowSans.ttf diff --git a/home/ebisu/core/system/fonts/meowsans/default.nix b/home/ebisu/core/system/fonts/meowsans/default.nix new file mode 100644 index 0000000..fbf57fc --- /dev/null +++ b/home/ebisu/core/system/fonts/meowsans/default.nix @@ -0,0 +1 @@ +{ home.file.".local/share/fonts/MeowSans_Font".source = ./MeowSans_Font; } diff --git a/home/ebisu/core/system/xdg.nix b/home/ebisu/core/system/xdg.nix new file mode 100644 index 0000000..7a0bf32 --- /dev/null +++ b/home/ebisu/core/system/xdg.nix @@ -0,0 +1,33 @@ +{ pkgs, config, ... }: +{ + home.packages = with pkgs; [ + xdg-utils + xdg-ninja + ]; + + xdg = { + enable = true; + cacheHome = "${config.home.homeDirectory}/.cache"; + configHome = "${config.home.homeDirectory}/.config"; + dataHome = "${config.home.homeDirectory}/.local/share"; + stateHome = "${config.home.homeDirectory}/.local/state"; + + userDirs = { + enable = pkgs.stdenv.isLinux; + createDirectories = true; + download = "${config.home.homeDirectory}/Downloads"; + desktop = "${config.home.homeDirectory}/Desktop"; + documents = "${config.home.homeDirectory}/Documents"; + publicShare = null; # "${config.home.homeDirectory}/Public"; + templates = null; # "${config.home.homeDirectory}/Templates"; + music = "${config.home.homeDirectory}/Music"; + pictures = "${config.home.homeDirectory}/Pictures"; + videos = "${config.home.homeDirectory}/Videos"; + + extraConfig = { + XDG_SCREENSHOTS_DIR = "${config.xdg.userDirs.pictures}/Screenshots"; + XDG_MAIL_DIR = "${config.home.homeDirectory}/Mail"; + }; + }; + }; +} |