Personal Nix setup
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Move fonts to home config

+18 -17
+2 -1
home/apps/ghostty.nix
··· 82 82 window-theme = ghostty 83 83 window-colorspace = display-p3 84 84 window-save-state = always 85 - window-decoration = client 85 + window-decoration = server 86 86 window-inherit-working-directory = true 87 87 unfocused-split-opacity = 0.9 88 88 freetype-load-flags = no-monochrome ··· 100 100 macos-titlebar-style = tabs 101 101 102 102 adw-toolbar-style = flat 103 + gtk-titlebar = false 103 104 104 105 shell-integration-features = no-cursor,sudo,title 105 106 shell-integration = zsh
+1
home/default.nix
··· 6 6 ./development 7 7 ./desktop 8 8 ./apps 9 + ./fonts 9 10 ]; 10 11 }
+5 -1
home/desktop/hyprland.nix
··· 16 16 config = mkIf cfg.hyprland.enable { 17 17 wayland.windowManager.hyprland = { 18 18 enable = true; 19 + 20 + package = null; 21 + portalPackage = null; 19 22 systemd.enable = false; 20 - xwayland.enable = true; 23 + xwayland.enable = false; 24 + 21 25 settings = { 22 26 "$mod" = "SUPER"; 23 27
-1
machines/fanta/configuration.nix
··· 4 4 imports = [ ]; 5 5 6 6 modules = { 7 - fonts.enable = true; 8 7 nvim.enable = true; 9 8 }; 10 9
-1
machines/pepper/configuration.nix
··· 13 13 14 14 modules = { 15 15 desktop.enable = true; 16 - fonts.enable = true; 17 16 server = { 18 17 enable = true; 19 18 sshd.enable = true;
-1
machines/sodacream/configuration.nix
··· 21 21 rawaccel.enable = false; 22 22 affinity.performanceCores = [ 4 5 6 7 ]; 23 23 }; 24 - fonts.enable = true; 25 24 server = { 26 25 enable = true; 27 26 tailscale.enable = true;
-1
machines/sprite/configuration.nix
··· 4 4 imports = [ ]; 5 5 6 6 modules = { 7 - fonts.enable = true; 8 7 nvim.enable = true; 9 8 }; 10 9
-1
modules/default.nix
··· 5 5 ./base 6 6 ./apps 7 7 ./desktop 8 - ./fonts 9 8 ./nvim 10 9 ./router 11 10 ./server
-1
modules/desktop/fonts.nix
··· 14 14 }; 15 15 16 16 config = mkIf cfg.fonts.enable { 17 - 18 17 fonts = { 19 18 fontDir.enable = true; 20 19
+4 -3
modules/fonts/default.nix home/fonts/default.nix
··· 3 3 with lib; 4 4 let 5 5 cfg = config.modules.fonts; 6 - fontsPath = if helpers.isDarwin then "/Library/Fonts" else "/usr/share/fonts/nonfree"; 6 + fontsPath = if helpers.isDarwin then "Library/Fonts" else "${config.xdg.dataHome}/fonts"; 7 7 in { 8 8 options.modules.fonts = { 9 9 enable = mkOption { 10 - default = false; 11 - example = true; 10 + default = true; 12 11 description = "Whether to enable fonts options."; 13 12 type = types.bool; 14 13 }; 15 14 }; 16 15 17 16 config = mkIf cfg.enable { 17 + fonts.fontconfig.enable = true; 18 + 18 19 age.secrets."DankMono-Regular.otf" = { 19 20 symlink = false; 20 21 file = ./encrypt/DankMono-Regular.otf.age;
modules/fonts/encrypt/DankMono-Bold.otf.age home/fonts/encrypt/DankMono-Bold.otf.age
modules/fonts/encrypt/DankMono-Italic.otf.age home/fonts/encrypt/DankMono-Italic.otf.age
modules/fonts/encrypt/DankMono-Regular.otf.age home/fonts/encrypt/DankMono-Regular.otf.age
modules/fonts/encrypt/codicon.otf.age home/fonts/encrypt/codicon.otf.age
modules/fonts/encrypt/faicon.ttf.age home/fonts/encrypt/faicon.ttf.age
+6 -6
secrets.nix
··· 6 6 { 7 7 "./modules/base/encrypt/nix-access-tokens.conf.age".publicKeys = keys; 8 8 9 - "./modules/fonts/encrypt/DankMono-Regular.otf.age".publicKeys = keys; 10 - "./modules/fonts/encrypt/DankMono-Bold.otf.age".publicKeys = keys; 11 - "./modules/fonts/encrypt/DankMono-Italic.otf.age".publicKeys = keys; 12 - "./modules/fonts/encrypt/codicon.otf.age".publicKeys = keys; 13 - "./modules/fonts/encrypt/faicon.ttf.age".publicKeys = keys; 14 - 15 9 "./modules/server/encrypt/tailscale.age".publicKeys = keys; 16 10 "./modules/server/encrypt/rclone.conf.age".publicKeys = keys; 11 + 12 + "./home/fonts/encrypt/DankMono-Regular.otf.age".publicKeys = keys; 13 + "./home/fonts/encrypt/DankMono-Bold.otf.age".publicKeys = keys; 14 + "./home/fonts/encrypt/DankMono-Italic.otf.age".publicKeys = keys; 15 + "./home/fonts/encrypt/codicon.otf.age".publicKeys = keys; 16 + "./home/fonts/encrypt/faicon.ttf.age".publicKeys = keys; 17 17 18 18 "./home/base/encrypt/pubring.kbx.age".publicKeys = keys; 19 19 "./home/base/encrypt/75EF1DBB30A59CFB56BCE06A88CCF363DA63B1A7.key.age".publicKeys = keys;