SDDM added, prompt changed, and cal sync fixed
This commit is contained in:
parent
568d51dbaf
commit
2f94e9b5ff
3 changed files with 49 additions and 5 deletions
|
@ -90,6 +90,35 @@
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
console.keyMap = "sv-latin1";
|
console.keyMap = "sv-latin1";
|
||||||
|
|
||||||
|
systemd.services.vdirsyncer = {
|
||||||
|
serviceConfig.Type = "oneshot";
|
||||||
|
serviceConfig.User = "fw";
|
||||||
|
path = with pkgs; [ vdirsyncer ];
|
||||||
|
script = ''
|
||||||
|
vdirsyncer -c "/home/fw/.config/vdirsyncer/config" sync
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
systemd.timers.vdirsyncer = {
|
||||||
|
wantedBy = [ "timers.target" ];
|
||||||
|
partOf = [ "vdirsyncer.service" ];
|
||||||
|
timerConfig = {
|
||||||
|
OnBootSec = "5m";
|
||||||
|
OnUnitActiveSec = "5m";
|
||||||
|
Unit = "vdirsyncer.service";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
environment.systemPackages = [(
|
||||||
|
pkgs.catppuccin-sddm.override {
|
||||||
|
flavor = "mocha";
|
||||||
|
font = "FiraCode Nerd Font Bold";
|
||||||
|
fontSize = "17";
|
||||||
|
background = "${../wallpapers/inverted.png}";
|
||||||
|
loginBackground = true;
|
||||||
|
}
|
||||||
|
)];
|
||||||
|
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
openssh = {
|
openssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -107,9 +136,11 @@
|
||||||
variant = "";
|
variant = "";
|
||||||
};
|
};
|
||||||
displayManager = {
|
displayManager = {
|
||||||
startx = {
|
sddm = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
theme = "catppuccin-mocha";
|
||||||
|
package = pkgs.kdePackages.sddm;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
windowManager = {
|
windowManager = {
|
||||||
dwm = {
|
dwm = {
|
||||||
|
|
|
@ -79,6 +79,10 @@
|
||||||
libsecret
|
libsecret
|
||||||
|
|
||||||
#Terminal
|
#Terminal
|
||||||
|
sc-im
|
||||||
|
gnuplot
|
||||||
|
bison
|
||||||
|
|
||||||
vdirsyncer
|
vdirsyncer
|
||||||
todoman
|
todoman
|
||||||
calcure
|
calcure
|
||||||
|
@ -179,7 +183,7 @@
|
||||||
programs.fish.enable = true;
|
programs.fish.enable = true;
|
||||||
|
|
||||||
xsession.enable = true;
|
xsession.enable = true;
|
||||||
xsession.windowManager.command = "exec dwm";
|
xsession.windowManager.command = "/home/fw/nix/.xinitrc";
|
||||||
|
|
||||||
home.username = "fw";
|
home.username = "fw";
|
||||||
home.homeDirectory = "/home/fw";
|
home.homeDirectory = "/home/fw";
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
"closer"= "p:os";
|
"closer"= "p:os";
|
||||||
"pink"= "#F5BDE6";
|
"pink"= "#F5BDE6";
|
||||||
"lavender"= "#B7BDF8";
|
"lavender"= "#B7BDF8";
|
||||||
"blue"= "#8AADF4";
|
"blue"= "#8aadf4";
|
||||||
"peach" = "#f5a97f";
|
"peach" = "#f5a97f";
|
||||||
"red" = "#ed8796";
|
"red" = "#ed8796";
|
||||||
"green" = "#a6da95";
|
"green" = "#a6da95";
|
||||||
|
@ -22,6 +22,15 @@
|
||||||
"newline" = true;
|
"newline" = true;
|
||||||
"type"= "prompt";
|
"type"= "prompt";
|
||||||
"segments" = [
|
"segments" = [
|
||||||
|
{
|
||||||
|
"background"= "transparent";
|
||||||
|
"foreground"= "p:blue";
|
||||||
|
# "powerline_symbol"= "\ue0b4";
|
||||||
|
# "leading_diamond"= "\ue0b6";
|
||||||
|
"style"= "diamond";
|
||||||
|
"template"= "{{.Icon}} ";
|
||||||
|
"type"= "os";
|
||||||
|
}
|
||||||
{
|
{
|
||||||
"foreground"= "p:peach";
|
"foreground"= "p:peach";
|
||||||
"properties"= {
|
"properties"= {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue