switch to using specialArgs for inputs

made dummy option for deadnix to shutup about disko

update flake.lock

stopped using neovim overlay
This commit is contained in:
Gerg-L 2023-05-17 22:03:25 -04:00
parent a3e18f9a36
commit 0d2e560191
36 changed files with 162 additions and 164 deletions

View file

@ -1,4 +1,4 @@
inputs: {
{
pkgs,
config,
...
@ -24,6 +24,7 @@ inputs: {
];
environment = {
systemPackages = [
pkgs.neovim
pkgs.heroic
pkgs.legendary-gl
pkgs.prismlauncher

View file

@ -1,5 +1,10 @@
{disko, ...}: {disks ? [], ...}: {
imports = [disko.nixosModules.disko];
{
inputs,
disks ? [],
...
}: {
dummyvalue = {inherit disks;};
imports = [inputs.disko.nixosModules.disko];
disko.devices = {
disk.nvme0n1 = {
device = "/dev/disk/by-id/nvme-WDC_PC_SN530_SDBPNPZ-512G-1006_21311N802456";

View file

@ -1,4 +1,4 @@
_: {config, ...}: {
{config, ...}: {
hardware.nvidia = {
package = config.boot.kernelPackages.nvidiaPackages.latest;
prime = {

View file

@ -1,4 +1,4 @@
_: {
{
containers."minecraft" = {
ephemeral = true;
autoStart = true;

View file

@ -1,4 +1,5 @@
inputs: {
{
inputs,
pkgs,
config,
...
@ -30,21 +31,17 @@ inputs: {
videoDrivers = ["nvidia" "amdgpu"];
};
nixpkgs = {
allowedUnfree = [
"nvidia-x11"
"steam"
"steam-original"
];
nixpkgs.allowedUnfree = [
"nvidia-x11"
"steam"
"steam-original"
];
overlays = [
inputs.nvim-flake.overlay
];
};
nix.settings.system-features = ["kvm" "big-parallel" "nixos-test" "benchmark"];
environment = {
systemPackages = [
inputs.nvim-flake.packages.${pkgs.system}.default
pkgs.bitwarden #store stuff
pkgs.qbittorrent #steal stuff
pkgs.pavucontrol #gui volume control

View file

@ -1,5 +1,10 @@
{disko, ...}: {disks ? [], ...}: {
imports = [disko.nixosModules.disko];
{
inputs,
disks ? [],
...
}: {
dummyvalue = {inherit disks;};
imports = [inputs.disko.nixosModules.disko];
disko.devices = {
disk = {
nvme0 = {

View file

@ -1,4 +1,4 @@
_: {lib, ...}: {
{lib, ...}: {
systemd.tmpfiles.rules = [
"d /mnt - - - - -"
"L+ /etc/ssh/ssh_host_ed25519_key - - - - /persist/ssh/ssh_host_ed25519_key"

View file

@ -1,4 +1,4 @@
_: {
{
pkgs,
config,
self,

View file

@ -1,9 +1,13 @@
{spicetify-nix, ...}: {pkgs, ...}: let
spicePkgs = spicetify-nix.packages.${pkgs.system}.default;
{
inputs,
pkgs,
...
}: let
spicePkgs = inputs.spicetify-nix.packages.${pkgs.system}.default;
ex = spicePkgs.extensions;
in {
nixpkgs.allowedUnfree = ["spotify"];
imports = [spicetify-nix.nixosModule];
imports = [inputs.spicetify-nix.nixosModule];
programs.spicetify = {
spotifyPackage = pkgs.spotify-unwrapped;
spicetifyPackage = pkgs.spicetify-cli;

View file

@ -1,4 +1,4 @@
_: {
{
pkgs,
self,
config,

View file

@ -1,4 +1,4 @@
_: {config, ...}: {
{config, ...}: {
boot = {
zfs = {
devNodes = "/dev/disk/by-id/";
@ -22,7 +22,6 @@ _: {config, ...}: {
grub = {
enable = true;
efiInstallAsRemovable = true;
version = 2;
copyKernels = true;
efiSupport = true;
zfsSupport = true;

View file

@ -1,4 +1,4 @@
_: {
{
pkgs,
config,
...
@ -18,6 +18,7 @@ _: {
};
environment.systemPackages = [
pkgs.neovim
pkgs.vlc
pkgs.nomacs
pkgs.gnome.gnome-calculator

View file

@ -1,5 +1,10 @@
{disko, ...}: {disks ? [], ...}: {
imports = [disko.nixosModules.disko];
{
inputs,
disks ? [],
...
}: {
dummyvalue = {inherit disks;};
imports = [inputs.disko.nixosModules.disko];
disko.devices = {
disk.sda = {
device = "/dev/disk/by-id/ata-WDC_WDS240G2G0A-00JH30_180936803144";

View file

@ -1,4 +1,4 @@
_: {pkgs, ...}: {
{pkgs, ...}: {
nixpkgs.allowedUnfree = ["hplip"];
environment.systemPackages = [
pkgs.gimp