Added config for xiaoxuan

This commit is contained in:
niten 2021-09-18 22:57:22 -07:00
parent 0d213bdbf0
commit dcab43275a
4 changed files with 20 additions and 32 deletions

View File

@ -9,8 +9,8 @@ let
}; };
in { in {
generate-config = { username, user-email, home-dir }: generate-config = { username, user-email, home-dir, ... }:
{ enable-gui ? false, ... }: pkgs.callPackage user-configs.${username} { { enable-gui ? false, ... }: import user-configs.${username} {
inherit username user-email home-dir enable-gui; inherit config lib pkgs username user-email home-dir enable-gui;
}; };
} }

View File

@ -24,16 +24,6 @@ in {
buildInputs = esuper.buildInputs buildInputs = esuper.buildInputs
++ [ pkgs.cmake pkgs.libclang pkgs.clang ]; ++ [ pkgs.cmake pkgs.libclang pkgs.clang ];
}); });
spinner = let version = "1.7.4";
in prev.trivialBuild {
inherit version;
pname = "spinner";
src = builtins.fetchTarball {
url = "https://elpa.gnu.org/packages/spinner-${version}.tar";
sha256 = "1jj40d68lmz91ynzwqg0jqdjpa9cn5md1hmvjfhy0cr3l16qpfw5";
};
buildPhase = ":";
};
}; };
}; };

View File

@ -135,8 +135,8 @@ in {
redshift = { redshift = {
enable = true; enable = true;
latitude = 47; latitude = "47";
longitude = 122; longitude = "122";
}; };
}; };
@ -149,17 +149,15 @@ in {
realName = "Niten"; realName = "Niten";
imap = { imap = {
host = "mail.fudo.org"; host = "mail.fudo.org";
tls = {
enable = true;
port = 993; port = 993;
}; tls.enable = true;
}; };
smtp = { smtp = {
host = "mail.fudo.org"; host = "mail.fudo.org";
port = 587;
tls = { tls = {
enable = true; enable = true;
useStartTls = true; useStartTls = true;
port = 587;
}; };
}; };
}; };

View File

@ -2,8 +2,9 @@
with lib; if !enable-gui then {} else { with lib; if !enable-gui then {} else {
home = { home = {
programs = with pkgs; [ packages = with pkgs; [
fcitx5-configtool fcitx5-configtool
fcitx5-gtk
firefox firefox
gnome.gnome-tweaks gnome.gnome-tweaks
google-chrome google-chrome
@ -23,10 +24,11 @@ with lib; if !enable-gui then {} else {
username = username; username = username;
}; };
i18n.inputMethod = { ## Sigh...have to wait for this
enabled = "fcitx5"; # i18n.inputMethod = {
fcitx5.addons = [ pkgs.fcitx5-rime ]; # enabled = "fcitx5";
}; # fcitx5.addons = [ pkgs.fcitx5-rime ];
# };
programs = { programs = {
firefox.enable = true; firefox.enable = true;
@ -43,8 +45,8 @@ with lib; if !enable-gui then {} else {
redshift = { redshift = {
enable = true; enable = true;
latitude = 47; latitude = "47";
longitude = 122; longitude = "122";
}; };
}; };
@ -57,17 +59,15 @@ with lib; if !enable-gui then {} else {
realName = "Xiaoxuan Jin"; realName = "Xiaoxuan Jin";
imap = { imap = {
host = "mail.fudo.org"; host = "mail.fudo.org";
tls = { tls.enable = true;
enable = true;
port = 993; port = 993;
}; };
};
smtp = { smtp = {
host = "mail.fudo.org"; host = "mail.fudo.org";
port = 587;
tls = { tls = {
enable = true; enable = true;
useStartTls = true; useStartTls = true;
port = 587;
}; };
}; };
}; };