From 98c31cac3e931023b5afeb209af6b6eed2a025c7 Mon Sep 17 00:00:00 2001 From: Mike Vink Date: Sun, 14 Jul 2024 06:40:52 +0200 Subject: wip --- profiles/station/caldav.nix | 4 +- profiles/station/music.nix | 4 +- profiles/station/suckless.nix | 81 ------------------------------------- profiles/station/virtualisation.nix | 2 +- 4 files changed, 5 insertions(+), 86 deletions(-) delete mode 100644 profiles/station/suckless.nix (limited to 'profiles/station') diff --git a/profiles/station/caldav.nix b/profiles/station/caldav.nix index dc157c4..98674e4 100644 --- a/profiles/station/caldav.nix +++ b/profiles/station/caldav.nix @@ -25,7 +25,7 @@ }; remote = { type = "caldav"; - url = "https://cal.${ivi.domain}"; + url = "https://cal.${my.domain}"; userName = "mike"; passwordCommand = ["echo" "''"]; }; @@ -50,7 +50,7 @@ }; remote = { type = "carddav"; - url = "https://cal.${ivi.domain}"; + url = "https://cal.${my.domain}"; userName = "mike"; passwordCommand = ["echo" "''"]; }; diff --git a/profiles/station/music.nix b/profiles/station/music.nix index d991e5c..fbb316a 100644 --- a/profiles/station/music.nix +++ b/profiles/station/music.nix @@ -8,7 +8,7 @@ with lib; mkIf (!machine.isDarwin) { # TODO: what about secrets on nix-darwin... - # secrets.mopidy.owner = lib.ivi.username; + # secrets.mopidy.owner = lib.my.username; hm.home.packages = [pkgs.mpc-cli]; hm.services.mopidy = { enable = true; @@ -30,7 +30,7 @@ with lib; config.secrets.mopidy.path ]; }; - secrets.mopidy.owner = ivi.username; + secrets.mopidy.owner = my.username; hm.programs.ncmpcpp = { enable = true; diff --git a/profiles/station/suckless.nix b/profiles/station/suckless.nix deleted file mode 100644 index 5d1b8c0..0000000 --- a/profiles/station/suckless.nix +++ /dev/null @@ -1,81 +0,0 @@ -{ - self, - config, - pkgs, - lib, - machine, - ... -}: with lib; mkIf (!machine.isDarwin) { - nixpkgs.overlays = [(import (self + "/overlays/suckless.nix") {inherit pkgs; home = config.ivi.home;})]; - hm = { - xsession = { - enable = true; - initExtra = '' - ${pkgs.xorg.xset}/bin/xset r rate 230 30 - [ -z "$(lsusb | grep microdox)" ] && ${pkgs.xorg.setxkbmap}/bin/setxkbmap -option "ctrl:swapcaps" - wal -R - dwm - ''; - }; - services.picom = { - enable = true; - activeOpacity = 0.99; - inactiveOpacity = 0.7; - opacityRules = [ - "100:class_g = 'Wfica'" - "100:class_g = 'dwm'" - "100:class_g = 'Zathura'" - "100:name *= 'Firefox'" - "100:name *= 'mpv'" - "100:name *= 'LibreWolf'" - "100:name *= 'Steam'" - "100:name *= 'Risk of Rain'" - "100:name *= 'KVM'" - ]; - settings = { - inactive-opacity-override = false; - frame-opacity = 1; - }; - }; - services.dunst = { - enable = true; - settings = { - global = { - monitor = 0; - follow = "keyboard"; - width = 370; - height = 350; - offset = "0x19"; - padding = 2; - horizontal_padding = 2; - transparency = 0; - font = "Monospace 12"; - format = "%s\\n%b"; - }; - urgency_low = { - background = "#1d2021"; - foreground = "#928374"; - timeout = 3; - }; - urgency_normal = { - foreground = "#ebdbb2"; - background = "#458588"; - timeout = 5; - }; - urgency_critical = { - background = "#1cc24d"; - foreground = "#ebdbb2"; - frame_color = "#fabd2f"; - timeout = 10; - }; - }; - }; - home.packages = with pkgs; [ - libnotify - sxiv - st - dwm - dwmblocks - ]; - }; -} diff --git a/profiles/station/virtualisation.nix b/profiles/station/virtualisation.nix index 5646562..440dc6e 100644 --- a/profiles/station/virtualisation.nix +++ b/profiles/station/virtualisation.nix @@ -10,5 +10,5 @@ uris = ["qemu:///system"]; }; }; - ivi.extraGroups = [ "libvirtd" ]; + my.extraGroups = [ "libvirtd" ]; } -- cgit v1.2.3