add lorri and direnv

This commit is contained in:
Seaswimmer 2024-11-18 14:27:31 -05:00
parent 54fcd874f1
commit 9f5bae49e4
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087
4 changed files with 17 additions and 5 deletions

View file

@ -24,6 +24,7 @@
./hosts/eclipse.nix ./hosts/eclipse.nix
./nixos/catppuccin.nix ./nixos/catppuccin.nix
./nixos/configuration.nix ./nixos/configuration.nix
./nixos/development.nix
./nixos/environment.nix ./nixos/environment.nix
./nixos/gaming.nix ./nixos/gaming.nix
./nixos/git.nix ./nixos/git.nix

View file

@ -18,17 +18,17 @@
fsType = "ext4"; fsType = "ext4";
}; };
fileSystems."/bulk" =
{ device = "/dev/disk/by-uuid/3b8e0789-def6-45dd-8eff-7b55b74569ce";
fsType = "ext4";
};
fileSystems."/boot" = fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/484E-279A"; { device = "/dev/disk/by-uuid/484E-279A";
fsType = "vfat"; fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ]; options = [ "fmask=0077" "dmask=0077" ];
}; };
fileSystems."/bulk" =
{ device = "/dev/disk/by-uuid/3b8e0789-def6-45dd-8eff-7b55b74569ce";
fsType = "ext4";
};
swapDevices = swapDevices =
[ { device = "/dev/disk/by-uuid/4eab8c8f-85c5-4a04-a03c-e111ada06ec0"; } [ { device = "/dev/disk/by-uuid/4eab8c8f-85c5-4a04-a03c-e111ada06ec0"; }
]; ];

10
nixos/development.nix Normal file
View file

@ -0,0 +1,10 @@
{ pkgs, ... }: {
services.lorri = {
enable = true;
};
environment.systemPackages = with pkgs; [
direnv
];
}

View file

@ -28,6 +28,7 @@
ohMyZsh = { ohMyZsh = {
enable = true; enable = true;
theme = "agnoster"; theme = "agnoster";
plugins = [ "git" "direnv"];
}; };
shellAliases = let ezaArgs = "--time-style='+%Y-%m-%d %H:%M' --icons"; shellAliases = let ezaArgs = "--time-style='+%Y-%m-%d %H:%M' --icons";