Compare commits
4 commits
4eb2a0dd1b
...
3e522cebfd
Author | SHA1 | Date | |
---|---|---|---|
![]() |
3e522cebfd | ||
![]() |
44ed4f7a5c | ||
![]() |
5446d3aace | ||
![]() |
6a911794f1 |
6 changed files with 34 additions and 11 deletions
|
@ -171,12 +171,7 @@ exec_always {
|
||||||
}
|
}
|
||||||
|
|
||||||
# autostarts
|
# autostarts
|
||||||
exec mako --font "$font" \
|
exec swaync
|
||||||
--background-color "$white" \
|
|
||||||
--border-colo "$red" \
|
|
||||||
--text-color "$black" \
|
|
||||||
--default-timeout 1000 \
|
|
||||||
--padding 10
|
|
||||||
exec emacs --daemon
|
exec emacs --daemon
|
||||||
exec swayidle before-sleep "$lock"
|
exec swayidle before-sleep "$lock"
|
||||||
exec /run/current-system/sw/libexec/polkit-gnome-authentication-agent-1
|
exec /run/current-system/sw/libexec/polkit-gnome-authentication-agent-1
|
||||||
|
|
|
@ -91,8 +91,20 @@ block = "battery"
|
||||||
device = "BAT1"
|
device = "BAT1"
|
||||||
interval = 10
|
interval = 10
|
||||||
format = " $icon $percentage ($time) "
|
format = " $icon $percentage ($time) "
|
||||||
|
full_format = " $icon $percentage "
|
||||||
|
|
||||||
[[block]]
|
[[block]]
|
||||||
block = "time"
|
block = "time"
|
||||||
interval = 60
|
interval = 60
|
||||||
format = " $timestamp.datetime(f:'%Y-%m-%d %H:%M') "
|
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"
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
{ pkgs, options, ... }:
|
{ pkgs, options, ... }:
|
||||||
|
|
||||||
let unstable = import <nixos-unstable> { };
|
let
|
||||||
|
unstable = import <nixos-unstable> { config.allowUnfree = true; };
|
||||||
in {
|
in {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
cryptsetup
|
cryptsetup
|
||||||
|
@ -42,5 +43,11 @@ in {
|
||||||
enable = true;
|
enable = true;
|
||||||
storageDriver = "zfs";
|
storageDriver = "zfs";
|
||||||
};
|
};
|
||||||
virtualisation.libvirtd.enable = true;
|
virtualisation.libvirtd = {
|
||||||
|
enable = true;
|
||||||
|
qemu = {
|
||||||
|
swtpm.enable = true;
|
||||||
|
ovmf.enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -90,6 +90,8 @@ in {
|
||||||
alias ls="ls --color=auto"
|
alias ls="ls --color=auto"
|
||||||
alias vim="nvim"
|
alias vim="nvim"
|
||||||
alias k="kubectl"
|
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() {
|
sink() {
|
||||||
VAULT_TOKEN=$(vault token lookup -format=json | jq -r .data.id) \
|
VAULT_TOKEN=$(vault token lookup -format=json | jq -r .data.id) \
|
||||||
|
@ -139,7 +141,12 @@ in {
|
||||||
|
|
||||||
services.fwupd.enable = true;
|
services.fwupd.enable = true;
|
||||||
services.resolved.enable = true;
|
services.resolved.enable = true;
|
||||||
|
|
||||||
services.lorri.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 = {
|
security.wrappers.gvfsd-nfs = {
|
||||||
source = "${pkgs.gnome.gvfs}/libexec/gvfsd-nfs";
|
source = "${pkgs.gnome.gvfs}/libexec/gvfsd-nfs";
|
||||||
|
|
|
@ -26,6 +26,7 @@ in
|
||||||
slurp
|
slurp
|
||||||
swayidle
|
swayidle
|
||||||
swaylock
|
swaylock
|
||||||
|
swaynotificationcenter
|
||||||
swayr
|
swayr
|
||||||
wf-recorder
|
wf-recorder
|
||||||
wofi
|
wofi
|
||||||
|
@ -170,10 +171,9 @@ in
|
||||||
pavucontrol
|
pavucontrol
|
||||||
pcmanfm
|
pcmanfm
|
||||||
qrencode
|
qrencode
|
||||||
uxplay
|
remmina
|
||||||
unstable.wezterm
|
unstable.wezterm
|
||||||
unstable.prusa-slicer
|
uxplay
|
||||||
unstable.super-slicer-latest
|
|
||||||
|
|
||||||
solaar
|
solaar
|
||||||
gdk-pixbuf
|
gdk-pixbuf
|
||||||
|
|
|
@ -41,6 +41,7 @@ in {
|
||||||
172.20.0.2 alert.kind
|
172.20.0.2 alert.kind
|
||||||
|
|
||||||
#192.168.2.111 hass.home.f2o.io
|
#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 auth-dev.thobits.com
|
||||||
127.0.0.1 database
|
127.0.0.1 database
|
||||||
|
@ -59,6 +60,7 @@ in {
|
||||||
anydesk
|
anydesk
|
||||||
chromium
|
chromium
|
||||||
nodejs
|
nodejs
|
||||||
|
vscodium
|
||||||
|
|
||||||
drone-cli
|
drone-cli
|
||||||
govc
|
govc
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue