mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
messed with disko and zfs, removed direnv module as it got upstreamed
This commit is contained in:
parent
3e0398f799
commit
29fa4dff1d
11 changed files with 109 additions and 297 deletions
|
|
@ -1,6 +1,7 @@
|
|||
{nvim-flake, ...}: {
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
local = {
|
||||
|
|
@ -18,6 +19,11 @@
|
|||
enable = true;
|
||||
kmscon.enable = true;
|
||||
};
|
||||
allowedUnfree = [
|
||||
"nvidia-x11"
|
||||
"steam"
|
||||
"steam-original"
|
||||
];
|
||||
};
|
||||
boot.binfmt.emulatedSystems = ["aarch64-linux"];
|
||||
hardware.nvidia = {
|
||||
|
|
@ -31,11 +37,6 @@
|
|||
videoDrivers = ["nvidia" "amdgpu"];
|
||||
};
|
||||
|
||||
nixpkgs.allowedUnfree = [
|
||||
"nvidia-x11"
|
||||
"steam"
|
||||
"steam-original"
|
||||
];
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
loadInNixShell = false;
|
||||
|
|
@ -67,8 +68,8 @@
|
|||
inherit (nvim-flake.packages.${pkgs.system}) neovim;
|
||||
};
|
||||
etc = {
|
||||
"jdks/17".source = "${pkgs.openjdk17}/bin";
|
||||
"jdks/8".source = "${pkgs.openjdk8}/bin";
|
||||
"jdks/17".source = lib.getBin pkgs.openjdk17;
|
||||
"jdks/8".source = lib.getBin pkgs.openjdk8;
|
||||
};
|
||||
shellAliases.lint = "deadnix -e && statix fix && alejandra ./";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue