1
0
Fork 0

Compare commits

..

2 commits

5 changed files with 52 additions and 11 deletions

View file

@ -8,7 +8,7 @@
;;; Font
(defvar priime--font-config
(cond ((string= (system-name) "framework") '("JetBrains Mono Medium" "Roboto" 10 0.9))
(cond ((string= (system-name) "minji") '("JetBrains Mono Medium" "Roboto" 10 0.9))
((eq system-type 'gnu/linux) '("Roboto Mono Medium" "Roboto" 12 0.8))
((eq system-type 'darwin) '("Menlo" "Verdana" 12 1))
(t '("Roboto Mono" "Roboto" 10 0.8))))
@ -121,10 +121,10 @@
(ring-bell-function 'ignore)
(initial-scratch-message nil)
(split-height-threshold
(cond ((string= (system-name) "framework") 100)
(cond ((string= (system-name) "minji") 100)
(t 80)))
(split-width-threshold
(cond ((string= (system-name) "framework") 180)
(cond ((string= (system-name) "minji") 180)
(t 160)))
;; Editing
(indent-tabs-mode nil)
@ -195,7 +195,7 @@
(keymap-global-unset "C--")
(keymap-global-set "C--" #'priime-font-)
(when (string= (system-name) "framework")
(when (string= (system-name) "minji")
(setenv "DISPLAY" ":0")
(setenv "WAYLAND_DISPLAY" "wayland-1")
(setenv "XDG_SESSION_TYPE" "wayland")

View file

@ -34,7 +34,7 @@
(load-library "priime-ai")
;; Legacy
(when (equal (system-name) "framework")
(when (equal (system-name) "minji")
(load-library "mu4econfig"))
(load-library "latexconfig")
(load-library "gpgconfig")

View file

@ -220,7 +220,7 @@
duskTime = "20:00-21:00";
temperature = {
day = 6500;
night = 3500;
night = 2500;
};
};
@ -287,8 +287,18 @@
programs.swaylock = {
enable = true;
settings = {
color = "000000";
};
settings = { color = "000000"; };
};
programs.waybar = {
enable = true;
# settings = {
# mainBar = {
# layer = "top";
# position = "top";
# height = 50;
# };
# };
# style = "\n";
};
}

View file

@ -1,8 +1,8 @@
{ inputs, config, pkgs, lib, ... }: {
imports = [ ./hw.nix ../../modules/swaynotificationcenter.nix ];
networking.hostName = "framework";
time.timeZone = "America/New_York";
networking.hostName = "minji";
time.timeZone = "Asia/Singapore";
# Bootloader
boot.loader.systemd-boot.enable = true;
@ -154,6 +154,37 @@
overrideDevices = true;
overrideFolders = false;
settings = {
devices = {
"server" = {
id =
"FDJDTBE-IZXSILI-GOCWGYS-NYZIQRH-43U36EB-NBBCTBU-4QYKPRI-2KBHZAC";
};
"xps13" = {
id =
"NQILTIK-3NWMWQN-RS3K7ZD-QCGFSKD-GI6GY6D-7NHSPIW-3XOODQ6-MLWUDQQ";
};
"pixel8" = {
id =
"XSGLHMM-LA2R5BF-B4PRZS3-TPUKMBZ-D42A5B2-UUXJ3BE-TA23YLU-VUBRGQM";
};
};
folders = {
"Books" = {
id = "8hb7r-dn7zj";
path = "/home/priime/docs/books";
devices = [ "server" "xps13" "pixel8" ];
};
"Sync" = {
id = "default";
path = "/home/priime/Sync";
devices = [ "server" "xps13" "pixel8" ];
};
"org" = {
id = "vsiqs-jtzzm";
path = "/home/priime/org";
devices = [ "server" "xps13" "pixel8" ];
};
};
gui = { user = "priime"; };
};
};