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" "nixpkgs": "nixpkgs_4"
}, },
"locked": { "locked": {
"lastModified": 1720625270, "lastModified": 1721686199,
"narHash": "sha256-7JGUXmp6LxPkinxy9kEnrdbZQPF8QGZwvRxWU/ZwJKY=", "narHash": "sha256-4rMu207y5HCLkRDbZXdFhFqAfDKxwCJ1r9UOsXmef4Q=",
"owner": "lytedev", "owner": "lytedev",
"repo": "slippi-nix", "repo": "slippi-nix",
"rev": "e86b5e46d53a929303b9ad6539cb6e64e7a8c5b4", "rev": "2b9673de8ec491be1c3ad8d23461b1fe5f2736b0",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -20,6 +20,7 @@
hardware.url = "github:nixos/nixos-hardware"; hardware.url = "github:nixos/nixos-hardware";
hyprland.url = "github:hyprwm/Hyprland"; hyprland.url = "github:hyprwm/Hyprland";
slippi.url = "github:lytedev/slippi-nix"; 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"; # nnf.url = "github:thelegy/nixos-nftables-firewall?rev=71fc2b79358d0dbacde83c806a0f008ece567b7b";
}; };

View file

@ -34,6 +34,23 @@
broot = {}; broot = {};
emacs = {pkgs, ...}: {
programs.emacs = {
enable = true;
# extraConfig = ''
# '';
extraPackages = epkgs: (with epkgs; [
magit
]);
};
programs.fish = {
shellAliases = {
e = "emacs";
};
};
};
cargo = {config, ...}: { cargo = {config, ...}: {
home.file."${config.home.homeDirectory}/.cargo/config.toml" = { home.file."${config.home.homeDirectory}/.cargo/config.toml" = {
enable = true; 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, ...}: { development-tools = {pkgs, ...}: {
imports = with nixosModules; [ imports = with nixosModules; [
postgres postgres
podman podman
troubleshooting-tools troubleshooting-tools
emacs
]; ];
environment.sessionVariables.NIXOS_OZONE_WL = "1"; environment.sessionVariables.NIXOS_OZONE_WL = "1";

View file

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