[Nix] Cleans up linux host root [neovim] Renames buffer picker

This commit is contained in:
2025-03-02 14:29:35 -08:00
parent 2fa15c9e2a
commit 4c5ea117f9
3 changed files with 10 additions and 16 deletions

View File

@@ -6,7 +6,7 @@ return {
function()
Snacks.picker.buffers()
end,
desc = "Open Files",
desc = "Buffers",
},
{ "<leader><comma>", false },
},

View File

@@ -1,33 +1,27 @@
{ self, nixpkgs, inputs, ... }:
let
{ nixpkgs, inputs, ... }:
nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
# TODO: Fix this so it doesn't warn about wanting readOnlyPkgs
pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
};
in nixpkgs.lib.nixosSystem {
inherit system;
modules = [
./configuration.nix
./hardware-configuration.nix
inputs.home-manager.nixosModules.home-manager
{
home-manager.users.drew = { pkgs, inputs, ... }:
nixpkgs.config.allowUnfree = true;
home-manager.users.drew =
{ ... }:
{
imports = [
./drew.nix
];
};
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.extraSpecialArgs = {
inherit inputs;
inherit pkgs;
};
inherit inputs;
};
}
];
specialArgs = {
inherit inputs;
inherit pkgs;
};
}

View File

@@ -1,4 +1,4 @@
{ pkgs, inputs, self, ... }:
{ pkgs, ... }:
{
imports = map (x: ../../../home-manager + x) [
"/features/linux-desktop.nix"