[Nix] Cleans up linux host root [neovim] Renames buffer picker
This commit is contained in:
@@ -6,7 +6,7 @@ return {
|
|||||||
function()
|
function()
|
||||||
Snacks.picker.buffers()
|
Snacks.picker.buffers()
|
||||||
end,
|
end,
|
||||||
desc = "Open Files",
|
desc = "Buffers",
|
||||||
},
|
},
|
||||||
{ "<leader><comma>", false },
|
{ "<leader><comma>", false },
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,33 +1,27 @@
|
|||||||
{ self, nixpkgs, inputs, ... }:
|
{ nixpkgs, inputs, ... }:
|
||||||
let
|
nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
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 = [
|
modules = [
|
||||||
./configuration.nix
|
./configuration.nix
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
inputs.home-manager.nixosModules.home-manager
|
inputs.home-manager.nixosModules.home-manager
|
||||||
{
|
{
|
||||||
home-manager.users.drew = { pkgs, inputs, ... }:
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
home-manager.users.drew =
|
||||||
|
{ ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./drew.nix
|
./drew.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
|
home-manager.useUserPackages = true;
|
||||||
home-manager.extraSpecialArgs = {
|
home-manager.extraSpecialArgs = {
|
||||||
inherit inputs;
|
inherit inputs;
|
||||||
inherit pkgs;
|
};
|
||||||
};
|
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit inputs;
|
inherit inputs;
|
||||||
inherit pkgs;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ pkgs, inputs, self, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
imports = map (x: ../../../home-manager + x) [
|
imports = map (x: ../../../home-manager + x) [
|
||||||
"/features/linux-desktop.nix"
|
"/features/linux-desktop.nix"
|
||||||
|
|||||||
Reference in New Issue
Block a user