Used deadnix to clean-up code

This commit is contained in:
Johannes Jöns 2023-07-27 14:19:06 +02:00
parent fb0241023e
commit 23fe41c671
9 changed files with 10 additions and 12 deletions

View file

@ -30,10 +30,8 @@
}; };
outputs = inputs@{ outputs = inputs@{
self,
nixpkgs, nixpkgs,
home-manager, home-manager,
prismlauncher,
nur, nur,
nixos-hardware, nixos-hardware,
... ...

View file

@ -1,4 +1,4 @@
{ pkgs, ... }: { ... }:
{ {
security.rtkit.enable = true; security.rtkit.enable = true;

View file

@ -1,4 +1,4 @@
{ pkgs, ... }: { ... }:
{ {
hardware.bluetooth.enable = true; hardware.bluetooth.enable = true;

View file

@ -1,4 +1,4 @@
{ pkgs, ... }: { ... }:
{ {
services.minecraft-server = { services.minecraft-server = {

View file

@ -1,4 +1,4 @@
{ pkgs, ... }: { ... }:
{ {
hardware.steam-hardware.enable = true; hardware.steam-hardware.enable = true;

View file

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }: { config, pkgs, ... }:
let hcfg = config.home-manager.users.jopejoe1; let hcfg = config.home-manager.users.jopejoe1;
in { in {

View file

@ -1,4 +1,4 @@
{ pkgs, prismlauncher, nur, self, ... }: { prismlauncher, nur, self, ... }:
{ {
nixpkgs = { nixpkgs = {
@ -8,9 +8,9 @@
prismlauncher.overlays.default prismlauncher.overlays.default
nur.overlay nur.overlay
(slef: super: { (_self: super: {
tela-icon-theme = super.tela-icon-theme.overrideAttrs (old: { tela-icon-theme = super.tela-icon-theme.overrideAttrs (_old: {
src = self.inputs.tela-icon-theme; src = self.inputs.tela-icon-theme;
}); });

View file

@ -1,7 +1,7 @@
# 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, lib, modulesPath, ... }:
{ {
imports = [ (modulesPath + "/installer/scan/not-detected.nix") imports = [ (modulesPath + "/installer/scan/not-detected.nix")

View file

@ -1,7 +1,7 @@
# 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, ... }: { lib, modulesPath, ... }:
{ {
imports = [ (modulesPath + "/installer/scan/not-detected.nix") imports = [ (modulesPath + "/installer/scan/not-detected.nix")