trying hyperland

This commit is contained in:
Matt Nish-Lapidus 2024-10-04 10:35:41 -04:00
parent 512e2113f9
commit becb262e17
3 changed files with 135 additions and 69 deletions

View file

@ -6,7 +6,6 @@
home = {
packages = with pkgs; [
just
jq
yt-dlp
erdtree
age
@ -32,7 +31,11 @@
flex
bison
mesa
neofetch
nitch
ripgrep-all
silver-searcher
xclip
maestral
maestral-gui
sane-airscan
@ -46,10 +49,19 @@
pciutils
util-linux
coreutils
binutils
libgcc
raylib
SDL2.dev
protonplus
ispell
aspell
aspellDicts.en
aspellDicts.en-computers
texlive.combined.scheme-full
appimage-run
#transmission_4
#transmission_4-gtk
ruby
janet
@ -60,12 +72,22 @@
nodejs_18
platformio-core
kanata-with-cmd
lazygit
icloudpd
jetbrains-mono
libheif
libheif.out
# node packages
nodePackages.typescript-language-server
nodePackages.vscode-langservers-extracted
nodePackages.prettier
nodePackages.javascript-typescript-langserver
nodePackages.stylelint
nodePackages.svelte-language-server
nodePackages.typescript
nixd
fishPlugins.foreign-env
@ -80,7 +102,7 @@
rbw
tailscale
protonplus
font-manager
gnomeExtensions.just-perfection
gnomeExtensions.dash-to-dock
gnomeExtensions.solaar-extension
@ -107,10 +129,11 @@
spice-gtk
spice-protocol
virt-viewer
virt-manager
solaar
logitech-udev-rules
syncthingtray
impression
zoom-us
nyxt
@ -144,11 +167,17 @@
kicad
openscad-unstable
openscad-lsp
picard
evolutionWithPlugins
mpv
plugdata
pavucontrol
qpwgraph
alsa-utils
clapper
amberol
parinfer-rust-emacs
# Audio plugins (LV2, VST2, VST3, LADSPA)
distrho
@ -160,12 +189,25 @@
FIL-plugins
geonkick
bespokesynth
# Fonts
fira-code
fira
cooper-hewitt
ibm-plex
jetbrains-mono
iosevka
# bitmap
spleen
fira-code-symbols
powerline-fonts
nerdfonts
];
username = "emenel";
homeDirectory = "/home/emenel";
sessionPath = [ "/home/emenel/.config/emacs/bin" "/home/emenel/.npm-packages/bin" ];
sessionPath = [ "/home/emenel/.config/emacs/bin" "/home/emenel/.npm-packages/bin" "/home/emenel/Applications" ];
sessionVariables = {
EDITOR = "emacsclient -r";
@ -175,6 +217,8 @@
stateVersion = "24.05";
};
fonts.fontconfig.enable = true;
programs = {
home-manager.enable = true;
direnv = {
@ -240,19 +284,37 @@
pandoc.enable = true;
password-store.enable = true;
#waybar.enable = true;
lazygit.enable = true;
jq.enable = true;
};
wayland.windowManager.sway = {
enable = true;
systemd = {
enable = true;
};
wrapperFeatures = {
gtk = true;
};
# config = rec {
# };
wayland.windowManager.hyprland = {
enable = true; # enable Hyprland
xwayland.enable = true;
#systemd.variables = ["--all"];
settings = {
"$mod" = "SUPER";
# bind =
# [
# "$mod, F, exec, firefox"
# ", Print, exec, grimblast copy area"
# ]
# ++ (
# # workspaces
# # binds $mod + [shift +] {1..9} to [move to] workspace {1..9}
# builtins.concatLists (builtins.genList (i:
# let ws = i + 1;
# in [
# "$mod, code:1${toString i}, workspace, ${toString ws}"
# "$mod SHIFT, code:1${toString i}, movetoworkspace, ${toString ws}"
# ]
# )
# 9)
# );
};
};
home.sessionVariables.NIXOS_OZONE_WL = "1";
dconf.settings = {
"org/gnome/desktop/background" = {
@ -284,6 +346,10 @@
services = {
flatpak.enable = true;
syncthing = {
enable = true;
tray.enable = true;
};
};
xdg.systemDirs.data = [
@ -324,19 +390,34 @@
############ ACCOUNTS
accounts.calendar = {
basePath = ".calendar";
accounts = {
"emenel" = {
name = "matt@emenel.ca";
primary = true;
remote = {
passwordCommand = [ "rbw get nixos-fastmail" ];
type = "caldav";
url = "caldav.fastmail.com";
userName = "matt@emenel.ca";
};
};
};
};
# accounts.calendar = {
# basePath = ".calendars";
# accounts = {
# emenel = {
# primaryCollection = "Primary";
# name = "matt@emenel.ca";
# primary = true;
# remote = {
# passwordCommand = [ "rbw" "get" "nixos-fastmail" ];
# type = "caldav";
# url = "https://caldav.fastmail.com";
# userName = "matt@emenel.ca";
# };
# local = {
# fileExt = ".ics";
# type = "filesystem";
# };
# vdirsyncer = {
# enable = true;
# collections = [ "87220838-CCD7-11ED-AB3D-F5DBFBDED781" ];
# itemTypes = ["VEVENT"];
# metadata = ["displayname" "color"];
# };
# khal.enable = true;
# khal.color = "dark cyan";
# khal.type = "discover";
# khal.addresses = [ "matt@emenel.ca" ];
# };
# };
# };
}