Compare commits

...

4 commits

Author SHA1 Message Date
Stefan Schwarz
3e522cebfd up 2024-03-15 11:16:02 +01:00
Stefan Schwarz
44ed4f7a5c fix lorri confi 2024-03-15 11:15:51 +01:00
Stefan Schwarz
5446d3aace libvirt uefi
still not working
2024-03-15 11:15:40 +01:00
Stefan Schwarz
6a911794f1 switch notify daemon 2024-03-15 11:15:14 +01:00
6 changed files with 34 additions and 11 deletions

View file

@ -171,12 +171,7 @@ exec_always {
}
# autostarts
exec mako --font "$font" \
--background-color "$white" \
--border-colo "$red" \
--text-color "$black" \
--default-timeout 1000 \
--padding 10
exec swaync
exec emacs --daemon
exec swayidle before-sleep "$lock"
exec /run/current-system/sw/libexec/polkit-gnome-authentication-agent-1

View file

@ -91,8 +91,20 @@ block = "battery"
device = "BAT1"
interval = 10
format = " $icon $percentage ($time) "
full_format = " $icon $percentage "
[[block]]
block = "time"
interval = 60
format = " $timestamp.datetime(f:'%Y-%m-%d %H:%M') "
[[block]]
block = "notify"
driver = "swaync"
format = " $icon {($notification_count.eng(w:1)) |}"
[[block.click]]
button = "left"
action = "show"
[[block.click]]
button = "right"
action = "toggle_paused"

View file

@ -1,6 +1,7 @@
{ pkgs, options, ... }:
let unstable = import <nixos-unstable> { };
let
unstable = import <nixos-unstable> { config.allowUnfree = true; };
in {
environment.systemPackages = with pkgs; [
cryptsetup
@ -42,5 +43,11 @@ in {
enable = true;
storageDriver = "zfs";
};
virtualisation.libvirtd.enable = true;
virtualisation.libvirtd = {
enable = true;
qemu = {
swtpm.enable = true;
ovmf.enable = true;
};
};
}

View file

@ -90,6 +90,8 @@ in {
alias ls="ls --color=auto"
alias vim="nvim"
alias k="kubectl"
alias n="nix-shell -p"
alias nu="nix-shell -I nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos-unstable -p"
sink() {
VAULT_TOKEN=$(vault token lookup -format=json | jq -r .data.id) \
@ -139,7 +141,12 @@ in {
services.fwupd.enable = true;
services.resolved.enable = true;
services.lorri.enable = true;
systemd.user.services.lorri.serviceConfig = {
ProtectSystem = pkgs.lib.mkForce "full";
ProtectHome = pkgs.lib.mkForce false;
};
security.wrappers.gvfsd-nfs = {
source = "${pkgs.gnome.gvfs}/libexec/gvfsd-nfs";

View file

@ -26,6 +26,7 @@ in
slurp
swayidle
swaylock
swaynotificationcenter
swayr
wf-recorder
wofi
@ -170,10 +171,9 @@ in
pavucontrol
pcmanfm
qrencode
uxplay
remmina
unstable.wezterm
unstable.prusa-slicer
unstable.super-slicer-latest
uxplay
solaar
gdk-pixbuf

View file

@ -41,6 +41,7 @@ in {
172.20.0.2 alert.kind
#192.168.2.111 hass.home.f2o.io
#192.168.2.111 sync.home.f2o.io
#127.0.0.1 auth-dev.thobits.com
127.0.0.1 database
@ -59,6 +60,7 @@ in {
anydesk
chromium
nodejs
vscodium
drone-cli
govc