This commit is contained in:
Matt Nish-Lapidus 2024-11-09 14:14:31 -05:00
parent bdc0de8b47
commit b500763572
4 changed files with 63 additions and 20 deletions

View file

@ -0,0 +1,5 @@
#!/usr/bin/env fish
function yabup --description 'update yabridge'
yabridgectl sync --prune $argv
end

12
flake.lock generated
View file

@ -266,11 +266,11 @@
}, },
"nixpkgs-stable": { "nixpkgs-stable": {
"locked": { "locked": {
"lastModified": 1730741070, "lastModified": 1730963269,
"narHash": "sha256-edm8WG19kWozJ/GqyYx2VjW99EdhjKwbY3ZwdlPAAlo=", "narHash": "sha256-rz30HrFYCHiWEBCKHMffHbMdWJ35hEkcRVU0h7ms3x0=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "d063c1dd113c91ab27959ba540c0d9753409edf3", "rev": "83fb6c028368e465cd19bb127b86f971a5e41ebc",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -290,11 +290,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1730913476, "lastModified": 1731165699,
"narHash": "sha256-lnTw/I9EiMDS7g0kuZpj8f3djeuv2lCapqD0jdqibjg=", "narHash": "sha256-qkxvRHurayf5uLHCkynfVR2dam5PX7pIOE8GjMbN2mw=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixpkgs-wayland", "repo": "nixpkgs-wayland",
"rev": "555bbbedcfa9a167a2d7659f9346b891c90750d9", "rev": "a795450dbf55a9a184fa974e97f7cbe8fdae6e87",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -21,17 +21,20 @@
htop htop
dconf dconf
dconf2nix dconf2nix
readline
gnupg gnupg
gcc gcc
gnutls gnutls
gettext gettext
xorg.libX11 xorg.libX11
xorg.libxcb
freetype.dev freetype.dev
gnumake gnumake
flex flex
bison bison
mesa mesa
neofetch neofetch
xwayland
nitch nitch
ripgrep-all ripgrep-all
silver-searcher silver-searcher
@ -62,7 +65,8 @@
aspellDicts.en aspellDicts.en
aspellDicts.en-computers aspellDicts.en-computers
texlive.combined.scheme-full texlive.combined.scheme-full
appimage-run # appimage-run
# libappimage
transmission_4-gtk transmission_4-gtk
lsof lsof
ruby ruby
@ -124,7 +128,9 @@
libGL libGL
# fontconfig # fontconfig
# freetype # freetype
nix-ld # nix-ld
prusa-slicer
# node packages # node packages
nodePackages.typescript-language-server nodePackages.typescript-language-server
@ -137,6 +143,7 @@
nodePackages.js-beautify nodePackages.js-beautify
nixd nixd
nixdoc
# bottles-unwrapped # bottles-unwrapped
@ -248,7 +255,7 @@
# Audio plugins (LV2, VST2, VST3, LADSPA) # Audio plugins (LV2, VST2, VST3, LADSPA)
eq10q eq10q
lsp-plugins # lsp-plugins
geonkick geonkick
bespokesynth bespokesynth
pkgs-stable.helm pkgs-stable.helm
@ -261,8 +268,10 @@
chow-tape-model chow-tape-model
easyeffects easyeffects
vcv-rack vcv-rack
distrho-ports
cardinal cardinal
roomeqwizard roomeqwizard
guitarix
# Fonts # Fonts
fira-code fira-code
@ -284,7 +293,7 @@
sessionPath = [ "/home/emenel/.config/emacs/bin" "/home/emenel/.npm-packages/bin" "/home/emenel/Applications" "/home/emenel/.local/bin" "/home/emenel/.local/share" ]; sessionPath = [ "/home/emenel/.config/emacs/bin" "/home/emenel/.npm-packages/bin" "/home/emenel/Applications" "/home/emenel/.local/bin" "/home/emenel/.local/share" ];
sessionVariables = { sessionVariables = {
EDITOR = "emacsclient -r"; # EDITOR = "emacsclient -tr";
WINEFSYNC = 1; WINEFSYNC = 1;
PKG_CONFIG_PATH = "/home/emenel/.nix-profile/lib/pkgconfig:/home/emenel/.nix-profile/lib64/pkgconfig:/home/emenal/.nix-profile/share/pkgconfig"; PKG_CONFIG_PATH = "/home/emenel/.nix-profile/lib/pkgconfig:/home/emenel/.nix-profile/lib64/pkgconfig:/home/emenal/.nix-profile/share/pkgconfig";
GI_TYPELIB_PATH = "/run/current-system/sw/lib/girepository-1.0"; GI_TYPELIB_PATH = "/run/current-system/sw/lib/girepository-1.0";
@ -308,6 +317,7 @@
shellAliases = { shellAliases = {
"ls" = "eza"; "ls" = "eza";
".j" = "just -g"; ".j" = "just -g";
"em" = "emacsclient -n -r";
}; };
}; };
starship = { starship = {
@ -319,7 +329,6 @@
msmtp.enable = true; msmtp.enable = true;
emacs = { emacs = {
enable = true; enable = true;
package = pkgs.emacs;
extraPackages = epkgs: [ extraPackages = epkgs: [
epkgs.mu4e epkgs.mu4e
epkgs.vterm epkgs.vterm
@ -455,7 +464,7 @@
flatpak.enable = true; flatpak.enable = true;
syncthing = { syncthing = {
enable = true; enable = true;
#tray.enable = true; tray.enable = true;
}; };
borgmatic = { borgmatic = {
enable = true; enable = true;
@ -464,6 +473,13 @@
enable = true; enable = true;
enableFishIntegration = true; enableFishIntegration = true;
}; };
emacs = {
enable = true;
defaultEditor = true;
package = pkgs.emacs;
startWithUserSession = true;
socketActivation.enable = true;
};
}; };
xdg.systemDirs.data = [ xdg.systemDirs.data = [
@ -493,9 +509,9 @@
PartOf=["grapical-session.target"]; PartOf=["grapical-session.target"];
}; };
# Install = { Install = {
# WantedBy = [ "graphical-session.target" ]; after = [ "graphical-session.target" ];
# }; };
Service = { Service = {
ExecStart = ''${pkgs.ulauncher}/bin/ulauncher --hide-window''; ExecStart = ''${pkgs.ulauncher}/bin/ulauncher --hide-window'';

View file

@ -129,10 +129,25 @@
services.xserver.videoDrivers = [ "nvidia" ]; services.xserver.videoDrivers = [ "nvidia" ];
networking.hostName = "eddie"; networking = {
hostName = "eddie";
domain = "local";
nameservers = [ "1.1.1.1" "1.0.0.1" ];
networkmanager = {
enable = true;
wifi.powersave = true;
# connectionConfig = "connection.mdns=2";
};
};
# Enable networking services.resolved = {
networking.networkmanager.enable = true; enable = true;
extraConfig = ''
LLMNR=no
ReadEtcHosts=no
DNSSEC=no
'';
};
# Set your time zone. # Set your time zone.
time.timeZone = "America/Toronto"; time.timeZone = "America/Toronto";
@ -173,7 +188,6 @@
#services.emacs = { #services.emacs = {
# enable = true; # enable = true;
# package = pkgs.emacs;
#}; #};
# Enable sound with pipewire. # Enable sound with pipewire.
@ -260,6 +274,7 @@
config = builtins.readFile ../../dotfiles/dot_config/kmonad/snap.kbd; config = builtins.readFile ../../dotfiles/dot_config/kmonad/snap.kbd;
}; };
razer = { razer = {
extraGroups = [ "openrazer" ];
device = "/dev/input/by-id/usb-Razer_Razer_Blade-if01-event-kbd"; device = "/dev/input/by-id/usb-Razer_Razer_Blade-if01-event-kbd";
config = builtins.readFile ../../dotfiles/dot_config/kmonad/razer.kbd; config = builtins.readFile ../../dotfiles/dot_config/kmonad/razer.kbd;
}; };
@ -294,7 +309,7 @@
zlib zlib
zstd zstd
stdenv.cc.cc stdenv.cc.cc
curl curlFull
openssl openssl
attr attr
libssh libssh
@ -307,6 +322,8 @@
systemd systemd
fontconfig fontconfig
freetype freetype
gnutls
util-linux
]; ];
fonts.fontconfig.enable = true; fonts.fontconfig.enable = true;
@ -320,6 +337,11 @@
# enable the OpenSSH daemon. # enable the OpenSSH daemon.
services.openssh.enable = true; services.openssh.enable = true;
# services.avahi = {
# enable = true;
# nssmdns = true;
# };
# add user accounts # add user accounts
users.users.emenel = { users.users.emenel = {
isNormalUser = true; isNormalUser = true;