Update slippi, add emacs, update router config to route a.lyte.dev

This commit is contained in:
Daniel Flanagan 2024-07-22 17:10:40 -05:00
parent 172a97176d
commit 462a0b8593
5 changed files with 35 additions and 3 deletions

View file

@ -477,11 +477,11 @@
"nixpkgs": "nixpkgs_4"
},
"locked": {
"lastModified": 1720625270,
"narHash": "sha256-7JGUXmp6LxPkinxy9kEnrdbZQPF8QGZwvRxWU/ZwJKY=",
"lastModified": 1721686199,
"narHash": "sha256-4rMu207y5HCLkRDbZXdFhFqAfDKxwCJ1r9UOsXmef4Q=",
"owner": "lytedev",
"repo": "slippi-nix",
"rev": "e86b5e46d53a929303b9ad6539cb6e64e7a8c5b4",
"rev": "2b9673de8ec491be1c3ad8d23461b1fe5f2736b0",
"type": "github"
},
"original": {

View file

@ -20,6 +20,7 @@
hardware.url = "github:nixos/nixos-hardware";
hyprland.url = "github:hyprwm/Hyprland";
slippi.url = "github:lytedev/slippi-nix";
# slippi.url = "git+file:///home/daniel/code/open-source/slippi-nix";
# nnf.url = "github:thelegy/nixos-nftables-firewall?rev=71fc2b79358d0dbacde83c806a0f008ece567b7b";
};

View file

@ -34,6 +34,23 @@
broot = {};
emacs = {pkgs, ...}: {
programs.emacs = {
enable = true;
# extraConfig = ''
# '';
extraPackages = epkgs: (with epkgs; [
magit
]);
};
programs.fish = {
shellAliases = {
e = "emacs";
};
};
};
cargo = {config, ...}: {
home.file."${config.home.homeDirectory}/.cargo/config.toml" = {
enable = true;

View file

@ -243,11 +243,24 @@
'';
};
emacs = {pkgs, ...}: {
environment.systemPackages = with pkgs; [
emacs
];
home-manager.users.daniel = {
imports = with homeManagerModules; [
emacs
];
};
};
development-tools = {pkgs, ...}: {
imports = with nixosModules; [
postgres
podman
troubleshooting-tools
emacs
];
environment.sessionVariables.NIXOS_OZONE_WL = "1";

View file

@ -42,6 +42,7 @@
"nix.h.lyte.dev"
"git.lyte.dev"
"video.lyte.dev"
"a.lyte.dev"
"bw.lyte.dev"
"files.lyte.dev"
"vpn.h.lyte.dev"