Compare commits

..

No commits in common. "64c7debf350f86780c8cdf19f52ab98deabd4429" and "f481fd5f3f58fe7ac42fb5d07703be8d59fb4502" have entirely different histories.

17 changed files with 19 additions and 214 deletions

View File

@ -18,22 +18,15 @@
qemu
virt-manager
deepin.deepin-album
libreoffice
nomacs
vscodium
thunderbird
kitty
];
services.hardware.bolt.enable = true; # thunderbolt support
hardware.bluetooth = {
enable = true;
settings = {
General = {
Enable = "Source,Sink,Media,Socket";
ControllerMode = "bredr";
};
};
};
services.hardware.bolt.enable = true;
services.openssh.enable = true;
services.ssh-phone-home = {
@ -61,13 +54,9 @@
services.avahi.nssmdns = true; # enables the mDNS NSS plug-in
services.avahi.openFirewall = true; # opens the firewall for UDP port 5353
powerManagement.cpuFreqGovernor = "performance";
nixpkgs.config.allowUnfree = true;
networking = {
hostName = "mlg";
firewall.enable = true;
};
system.stateVersion = "23.11"; # don't change this, lol
}

View File

@ -17,6 +17,14 @@
xscreensaver
thunderbird
hue-cli
bluetuith
brave
vdirsyncer
isync
khal
todoman
lisgd
vscodium
];
hardware.bluetooth = {

View File

@ -6,7 +6,6 @@
# shell scripts stuff
, makeWrapper
, sshuttle
, scrcpy
, sxhkd
, bash
, feh
@ -28,7 +27,7 @@ stdenv.mkDerivation rec {
src = ./utils;
nativeBuildInputs = [ makeWrapper pkg-config libxcb ];
buildInputs = [ libxcb bash feh xrandr jq curl fzy ytfzf ffmpeg sshuttle svkbd scrcpy libsForQt5.kolourpaint ];
buildInputs = [ libxcb bash feh xrandr jq curl fzy ytfzf ffmpeg sshuttle svkbd libsForQt5.kolourpaint ];
buildPhase = ''
ls
@ -41,11 +40,7 @@ stdenv.mkDerivation rec {
for i in $(ls $src/sh); do
cp $src/sh/$i $out/bin
ln -sf $out/bin/tmenu_run $out/bin/regenerate
<<<<<<< HEAD
wrapProgram $out/bin/$i --prefix PATH : ${lib.makeBinPath [ sxhkd bash feh xrandr jq figlet curl fzy ytfzf ffmpeg sshuttle scrcpy ]}
=======
wrapProgram $out/bin/$i --prefix PATH : ${lib.makeBinPath [ sxhkd bash feh xrandr jq figlet curl fzy ytfzf ffmpeg sshuttle svkbd libsForQt5.kolourpaint ]}
>>>>>>> f481fd5f3f58fe7ac42fb5d07703be8d59fb4502
done
cp c/status/main $out/bin/statusbar

View File

@ -9,7 +9,7 @@ set_walls() {
screensaver () {
pkill xscreensaver
HOME=".config/xscreensaver" xscreensaver --no-splash & 2>&1 > /dev/null
HOME=".config/xscreensaver" xscreensaver --no-splash &
}
keyboard () {
@ -54,31 +54,11 @@ case "$(hostname)" in
bspc monitor HDMI-1 -d 2 4 6 8 0
;;
"mlg")
if exists DP-1-2; then
xrandr --output HDMI-0 --primary --mode 1920x1080 --rate 120 --pos 0x0 --rotate normal \
--output DP-1-2 --mode 1920x1080 --rate 120 --pos 1920x0 --rotate normal \
--output DP-0 --off \
--output DP-1-1 --off
bspc monitor DP-1-2 -d 2 4 6 8
elif exists DP-1-1; then
xrandr --output HDMI-0 --primary --mode 1920x1080 --rate 120 --pos 0x0 --rotate normal \
--output DP-1-1 --mode 1920x1080 --rate 120 --pos 1920x0 --rotate normal \
--output DP-0 --off \
--output DP-1-2 --off
bspc monitor DP-1-1 -d 2 4 6 8
fi
xinput set-prop 'INSTANT USB GAMING MOUSE ' 'libinput Accel Speed' -1
bspc monitor HDMI-0 -d 1 3 5 7 9
# setup synchronization
pkill sshfs
rm $HOME/doc # this is safe, as doc is a dir if it mattered,
# but it's just a link, so it's a regular file.
# in conclusion, good either way
mkdir -p $HOME/.cache/mount_point
sshfs usr@mainsail:./doc $HOME/.cache/mount_point
ln -sf $HOME/.cache/mount_point $HOME/doc
xrandr --output HDMI-0 --primary --mode 1920x1080 --rate 120 --pos 0x0 --rotate normal \
--output DP-1-2 --mode 1920x1080 --rate 120 --pos 1920x0 --rotate normal \
--output DP-0 --off \
--output DP-1-1 --off
xinput set-prop 'INSTANT USB GAMING MOUSE ' 338 -1
;;
"x230t")
echo "x230t"

View File

@ -1,19 +0,0 @@
IMAPStore main-remote
Host mail.beepboop.systems
Port 993
User ryan@beepboop.systems
SSLType IMAPS
CertificateFile /etc/ssl/certs/ca-certificates.crt
MaildirStore main-local
Path ~/Mail/main/
Inbox ~/Mail/main/INBOX
Subfolders Verbatim
Channel main
Far :main-remote:
Near :main-local:
Create Both
Expunge Both
Patterns *
SyncState *

View File

@ -1,9 +0,0 @@
{ lib, config, pkgs, home, ... }:
{
home.file = {
".config/isync/config" = {
source = ./config;
};
};
}

View File

@ -1,7 +0,0 @@
[calendars]
[[home]]
path = "~/vdir/calendar/personal/edfbeaf1-e9f3-4d94-a512-40cdafdbc7a0"
color = dark green
[[band]]
path = "~/vdir/calendar/band"
color = dark green

View File

@ -1,9 +0,0 @@
{ lib, config, pkgs, home, ... }:
{
home.file = {
".config/khal/config" = {
source = ./config;
};
};
}

View File

@ -1,9 +0,0 @@
{ lib, config, pkgs, home, ... }:
{
home.file = {
".config/neomutt/neomuttrc" = {
source = ./neomuttrc;
};
};
}

View File

@ -1,26 +0,0 @@
set editor = "nvim"
set my_name = "Ryan Marina"
set fast_reply
set mbox_type = Maildir
set folder = "~/Mail/main"
set sidebar_visible
set sidebar_format = "%B%<F? [%F}>%* %<N?%N/>%S"
set mail_check_stats
set from = "ryan@beepboop.systems"
set spoolfile = +INBOX
set record = "+Sent"
set trash = "+Trash"
set postponed = "+Drafts"
mailboxes +SMS +INBOX "+College Messages"
unset wait_key
macro index S "<shell-escape>mbsync --config=/home/usr/.config/isync/config main; vdirsyncer sync<enter>"
set use_threads = yes
set sort_aux = reverse-last-date-received
set imap_keepalive = 300

View File

@ -1,4 +0,0 @@
path = "~/vdir/calendar/personal/*"
date_format = "%m-%d-%Y"
time_format = "%H:%M"
default_list = "edfbeaf1-e9f3-4d94-a512-40cdafdbc7a0"

View File

@ -1,9 +0,0 @@
{ lib, config, pkgs, home, ... }:
{
home.file = {
".config/todoman/config.py" = {
source = ./config.py;
};
};
}

View File

@ -1,51 +0,0 @@
[general]
status_path = "~/vdir/status"
[pair contacts]
a = "contacts_local"
b = "contacts_remote"
collections = ["from a", "from b"]
[pair calendar]
a = "calendar_local"
b = "calendar_remote"
collections = ["from a", "from b"]
[pair band_calendar]
a = "band_calendar_local"
b = "band_calendar_remote"
collections = null
[storage contacts_local]
type = "filesystem"
path = "~/vdir/people/main"
fileext = ".vcf"
[storage calendar_local]
type = "filesystem"
path = "~/vdir/calendar/personal"
fileext = ".ics"
[storage band_calendar_local]
type = "filesystem"
path = "~/vdir/calendar/band"
fileext = ".ics"
[storage contacts_remote]
type = "carddav"
url = "https://radicale.beepboop.systems/ryan/20cda0dd-5922-4905-8956-859c989a6519/"
username = "ryan"
password.fetch = ["prompt", "password for radicale"]
[storage band_calendar_remote]
type = "http"
url = "https://calendar.google.com/calendar/ical/i6bong6iferbcuf1u25jg47t7k%40group.calendar.google.com/public/basic.ics"
[storage calendar_remote]
type = "caldav"
url = "https://radicale.beepboop.systems/ryan/edfbeaf1-e9f3-4d94-a512-40cdafdbc7a0/"
username = "ryan"
password.fetch = ["prompt", "password for radicale"]

View File

@ -1,9 +0,0 @@
{ lib, config, pkgs, home, ... }:
{
home.file = {
".config/vdirsyncer/config" = {
source = ./config;
};
};
}

View File

@ -11,11 +11,6 @@
./wallpapers
./firefox
./emacs
./vdirsyncer
./khal
./isync
./todoman
./neomutt
./x11-progs.nix
./tty.nix

View File

@ -7,7 +7,7 @@
};
environment.systemPackages = with pkgs; [
(prismlauncher.override { jdks = [ zulu8 zulu17 ]; })
prismlauncher
xonotic
minetest
];

View File

@ -12,16 +12,6 @@
bspwm
sxhkd
xscreensaver
# non-x11 things, but common to the desktops
bluetuith
brave
vdirsyncer
isync
khal
todoman
sshfs
rsync
];
services.xserver = {