From 9f5bae49e4d7cc8aa054435d522a3d31ee2bfcf1 Mon Sep 17 00:00:00 2001 From: cswimr Date: Mon, 18 Nov 2024 14:27:31 -0500 Subject: [PATCH] add `lorri` and `direnv` --- flake.nix | 1 + hosts/eclipse.nix | 10 +++++----- nixos/development.nix | 10 ++++++++++ nixos/zsh.nix | 1 + 4 files changed, 17 insertions(+), 5 deletions(-) create mode 100644 nixos/development.nix diff --git a/flake.nix b/flake.nix index bbcb524..56f21ae 100644 --- a/flake.nix +++ b/flake.nix @@ -24,6 +24,7 @@ ./hosts/eclipse.nix ./nixos/catppuccin.nix ./nixos/configuration.nix + ./nixos/development.nix ./nixos/environment.nix ./nixos/gaming.nix ./nixos/git.nix diff --git a/hosts/eclipse.nix b/hosts/eclipse.nix index bbe6a28..175c01e 100644 --- a/hosts/eclipse.nix +++ b/hosts/eclipse.nix @@ -18,17 +18,17 @@ fsType = "ext4"; }; - fileSystems."/bulk" = - { device = "/dev/disk/by-uuid/3b8e0789-def6-45dd-8eff-7b55b74569ce"; - fsType = "ext4"; - }; - fileSystems."/boot" = { device = "/dev/disk/by-uuid/484E-279A"; fsType = "vfat"; options = [ "fmask=0077" "dmask=0077" ]; }; + fileSystems."/bulk" = + { device = "/dev/disk/by-uuid/3b8e0789-def6-45dd-8eff-7b55b74569ce"; + fsType = "ext4"; + }; + swapDevices = [ { device = "/dev/disk/by-uuid/4eab8c8f-85c5-4a04-a03c-e111ada06ec0"; } ]; diff --git a/nixos/development.nix b/nixos/development.nix new file mode 100644 index 0000000..9d408d8 --- /dev/null +++ b/nixos/development.nix @@ -0,0 +1,10 @@ +{ pkgs, ... }: { + + services.lorri = { + enable = true; + }; + + environment.systemPackages = with pkgs; [ + direnv + ]; +} diff --git a/nixos/zsh.nix b/nixos/zsh.nix index b614450..9e0b1af 100755 --- a/nixos/zsh.nix +++ b/nixos/zsh.nix @@ -28,6 +28,7 @@ ohMyZsh = { enable = true; theme = "agnoster"; + plugins = [ "git" "direnv"]; }; shellAliases = let ezaArgs = "--time-style='+%Y-%m-%d %H:%M' --icons";