treewide: fix deadnix errors

This commit is contained in:
Felix Buehler 2023-11-07 22:00:00 +01:00
parent a36dccb271
commit 46881de8eb
59 changed files with 70 additions and 93 deletions

View file

@ -10,7 +10,7 @@ let
disko
;
nixosSystem = nixpkgs.lib.makeOverridable nixpkgs.lib.nixosSystem;
overlay-unstable = final: prev: {
overlay-unstable = final: _prev: {
unstable = import nixpkgs-unstable {
inherit (final) system;
config.allowUnfree = true;

View file

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }:
{ pkgs, ... }:
{
# Packages
environment.systemPackages = with pkgs; [

View file

@ -1,5 +1,4 @@
{ config, lib, pkgs, ... }:
{ ... }:
{
boot.initrd = {
availableKernelModules = [

View file

@ -1,5 +1,4 @@
{ config, lib, pkgs, ... }:
{ ... }:
{
networking.networkmanager = {
enable = true;

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, inputs, ... }:
{ config, pkgs, inputs, ... }:
{
nix = {
daemonCPUSchedPolicy = "idle";

View file

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }:
{ config, ... }:
{
sops.secrets."users/felix/password".neededForUsers = true;
sops.secrets."users/felix/password" = { };

View file

@ -1,4 +1,4 @@
{ config, ... }:
{ ... }:
{
boot.loader = {
timeout = 1;

View file

@ -1,4 +1,4 @@
{ config, ... }:
{ ... }:
{
imports = [
./boot.nix

View file

@ -1,4 +1,4 @@
{ config, pkgs, lib, modulesPath, ... }:
{ config, lib, modulesPath, ... }:
{
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ config, ... }:
let
ifname = "ens18";

View file

@ -1,5 +1,5 @@
# Deployed services
{ config, lib, ... }:
{ config, ... }:
let
secrets = config.sops.secrets;
in

View file

@ -1,8 +1,5 @@
# enabled system services
{ config, lib, ... }:
let
secrets = config.sops.secrets;
in
{ ... }:
{
my.system = {
podman.enable = true;

View file

@ -1,4 +1,4 @@
{ config, ... }:
{ ... }:
{
imports = [
./disko-config.nix

View file

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }:
{ ... }:
{
boot = {
loader = {

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ ... }:
{
networking.firewall.allowedTCPPorts = [
8080 # aria

View file

@ -1,5 +1,5 @@
# Deployed services
{ config, lib, ... }:
{ config, ... }:
let
secrets = config.sops.secrets;
in

View file

@ -1,8 +1,5 @@
# enabled system services
{ config, lib, ... }:
let
secrets = config.sops.secrets;
in
{ ... }:
{
my.system = {
avahi.enable = true;

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ pkgs, ... }:
{
sops.secrets."wifi/bismarck" = {
path = "/etc/NetworkManager/system-connections/Bismarck WLAN.nmconnection";

View file

@ -1,5 +1,4 @@
{ config, lib, pkgs, ... }:
{ ... }:
{
boot = {
loader = {

View file

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }:
{ ... }:
{
imports = [
./boot.nix

View file

@ -1,4 +1,4 @@
{ config, lib, ... }:
{ ... }:
let
cpuFlavor = "intel";
in

View file

@ -1,5 +1,5 @@
# network settings
{ config, lib, ... }:
{ ... }:
{
# hotfixes for dns settings
networking.extraHosts =

View file

@ -1,8 +1,5 @@
# enabled profiles
{ config, lib, ... }:
let
secrets = config.sops.secrets;
in
{ ... }:
{
my.profiles = {
"3d-design".enable = true;

View file

@ -1,5 +1,5 @@
# Deployed services
{ config, lib, ... }:
{ config, ... }:
let
secrets = config.sops.secrets;
in

View file

@ -1,8 +1,5 @@
# enabled system services
{ config, lib, ... }:
let
secrets = config.sops.secrets;
in
{ ... }:
{
my.system = {
avahi.enable = true;