Compare commits
No commits in common. "6a4c1b34bf84735b6cbef75cf3a29c6a46851a74" and "743258bb44e2af77798ee74c9d4f6ec2d895eb9f" have entirely different histories.
6a4c1b34bf
...
743258bb44
6 changed files with 156 additions and 166 deletions
21
flake.nix
21
flake.nix
|
@ -12,7 +12,10 @@
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
hardware.url = "github:nixos/nixos-hardware";
|
hardware = {
|
||||||
|
url = "github:nixos/nixos-hardware";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
|
||||||
disko = {
|
disko = {
|
||||||
url = "github:nix-community/disko";
|
url = "github:nix-community/disko";
|
||||||
|
@ -70,12 +73,13 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = {
|
outputs =
|
||||||
self,
|
{ self
|
||||||
nixpkgs,
|
, nixpkgs
|
||||||
home-manager,
|
, home-manager
|
||||||
...
|
, ...
|
||||||
} @ inputs: let
|
} @ inputs:
|
||||||
|
let
|
||||||
inherit (self) outputs;
|
inherit (self) outputs;
|
||||||
# Supported systems for your flake packages, shell, etc.
|
# Supported systems for your flake packages, shell, etc.
|
||||||
systems = [
|
systems = [
|
||||||
|
@ -89,7 +93,8 @@
|
||||||
# pass to it, with each system as an argument
|
# pass to it, with each system as an argument
|
||||||
forAllSystems = nixpkgs.lib.genAttrs systems;
|
forAllSystems = nixpkgs.lib.genAttrs systems;
|
||||||
vars = import ./vars.nix;
|
vars = import ./vars.nix;
|
||||||
in {
|
in
|
||||||
|
{
|
||||||
# Your custom packages
|
# Your custom packages
|
||||||
# Accessible through 'nix build', 'nix shell', etc
|
# Accessible through 'nix build', 'nix shell', etc
|
||||||
packages = forAllSystems (system: import ./pkgs nixpkgs.legacyPackages.${system});
|
packages = forAllSystems (system: import ./pkgs nixpkgs.legacyPackages.${system});
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
key = "<leader>ch";
|
key = "<leader>ch";
|
||||||
action = "<cmd>noh<CR>";
|
action = "<cmd>noh<CR>";
|
||||||
options = {
|
options = {
|
||||||
silent = true;
|
|
||||||
desc = "Clear Highlighting";
|
desc = "Clear Highlighting";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -42,7 +41,6 @@
|
||||||
key = "<C-n>";
|
key = "<C-n>";
|
||||||
action = "<Cmd>Neotree toggle<CR>";
|
action = "<Cmd>Neotree toggle<CR>";
|
||||||
options = {
|
options = {
|
||||||
silent = true;
|
|
||||||
desc = "Toggle Neotree";
|
desc = "Toggle Neotree";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -83,7 +81,6 @@
|
||||||
key = "<c-k>";
|
key = "<c-k>";
|
||||||
action = ":wincmd k<CR>";
|
action = ":wincmd k<CR>";
|
||||||
options = {
|
options = {
|
||||||
silent = true;
|
|
||||||
desc = "Go Up";
|
desc = "Go Up";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -92,7 +89,6 @@
|
||||||
key = "<c-j>";
|
key = "<c-j>";
|
||||||
action = ":wincmd j<CR>";
|
action = ":wincmd j<CR>";
|
||||||
options = {
|
options = {
|
||||||
silent = true;
|
|
||||||
desc = "Go Down";
|
desc = "Go Down";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -101,7 +97,6 @@
|
||||||
key = "<c-h>";
|
key = "<c-h>";
|
||||||
action = ":wincmd h<CR>";
|
action = ":wincmd h<CR>";
|
||||||
options = {
|
options = {
|
||||||
silent = true;
|
|
||||||
desc = "Go Left";
|
desc = "Go Left";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -110,7 +105,6 @@
|
||||||
key = "<c-l>";
|
key = "<c-l>";
|
||||||
action = ":wincmd l<CR>";
|
action = ":wincmd l<CR>";
|
||||||
options = {
|
options = {
|
||||||
silent = true;
|
|
||||||
desc = "Go Right";
|
desc = "Go Right";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
{
|
{
|
||||||
programs.nixvim.plugins = {
|
programs.nixvim.plugins.lsp = {
|
||||||
rustaceanvim.enable = true;
|
|
||||||
|
|
||||||
lsp = {
|
|
||||||
enable = true;
|
enable = true;
|
||||||
inlayHints = true;
|
inlayHints = true;
|
||||||
|
|
||||||
|
@ -25,5 +22,4 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
{
|
{ inputs
|
||||||
inputs,
|
, pkgs
|
||||||
pkgs,
|
, vars
|
||||||
vars,
|
, ...
|
||||||
...
|
|
||||||
}: {
|
}: {
|
||||||
imports = [ inputs.arkenfox.hmModules.default ];
|
imports = [ inputs.arkenfox.hmModules.default ];
|
||||||
home.file.".mozilla/native-messaging-hosts/org.kde.plasma.browser_integration.json".source = "${pkgs.plasma5Packages.plasma-browser-integration}/lib/mozilla/native-messaging-hosts/org.kde.plasma.browser_integration.json";
|
home.file.".mozilla/native-messaging-hosts/org.kde.plasma.browser_integration.json".source = "${pkgs.plasma5Packages.plasma-browser-integration}/lib/mozilla/native-messaging-hosts/org.kde.plasma.browser_integration.json";
|
||||||
|
|
|
@ -1,15 +1,11 @@
|
||||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||||
# and may be overwritten by future invocations. Please make changes
|
# and may be overwritten by future invocations. Please make changes
|
||||||
# to /etc/nixos/configuration.nix instead.
|
# to /etc/nixos/configuration.nix instead.
|
||||||
|
{ config, lib, pkgs, modulesPath, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
config,
|
imports =
|
||||||
lib,
|
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||||
pkgs,
|
|
||||||
modulesPath,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
imports = [
|
|
||||||
(modulesPath + "/installer/scan/not-detected.nix")
|
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" ];
|
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" ];
|
||||||
|
|
Loading…
Reference in a new issue