fix various flake erros

This commit is contained in:
Johannes Jöns 2024-07-12 21:38:33 +02:00
parent f51a53d7cb
commit 21688ed5bf
10 changed files with 15 additions and 155 deletions

View file

@ -23,17 +23,18 @@ in
package = pkgs.kodi-wayland;
};
displayManager = {
defaultSession = "plasmawayland";
autoLogin = {
enable = true;
user = "jopejoe1";
};
lightdm = {
enable = true;
autoLogin.timeout = 3;
};
};
};
services.displayManager = {
autoLogin = {
enable = true;
user = "jopejoe1";
};
sddm.enable = lib.mkForce false;
};
};
};
}

View file

@ -49,18 +49,7 @@ in
catppuccin-kde
#catppuccin-gtk
tela-icon-theme
(
(discord.overrideAttrs (old: {
desktopItem = old.desktopItem.override (old: {
exec = old.exec + " --disable-gpu-sandbox";
});
})).override
{
withOpenASAR = true;
withVencord = true;
withTTS = true;
}
)
vesktop
];
};
home-manager.users.jopejoe1 = {

View file

@ -40,10 +40,7 @@ in
yokai = mkSystem "aarch64-unknown-linux-gnu" "yokai";
sukuna-biko-na = mkSystem "aarch64-unknown-linux-gnu" "sukuna-biko-na";
benzaiten = mkSystem "x86_64-unknown-linux-gnu" "benzaiten";
kamimusubi = mkSystem "x86_64-unknown-linux-gnu" "kamimusubi";
ebisu = mkSystem "x86_64-unknown-linux-gnu" "ebisu";
hetzner = mkSystem "x86_64-unknown-linux-gnu" "hetzner";
zap = mkSystem "x86_64-unknown-linux-gnu" "zap";
pi4 = mkSystem "aarch64-unknown-linux-gnu" "pi4";
raspberry4 = mkSystem "aarch64-unknown-linux-gnu" "raspberry4";
}

View file

@ -1,4 +1,4 @@
{ pkgs }:
{ pkgs, ... }:
{
@ -19,4 +19,5 @@
environment.systemPackages = with pkgs; [ moonlight-qt ];
time.timeZone = "Europe/Berlin";
imports = [ ./hardware-configuration.nix ];
}

View file

@ -1,33 +0,0 @@
{
config,
pkgs,
lib,
...
}:
{
jopejoe1 = {
local.enable = true;
nix.enable = true;
user = {
root.enable = true;
};
ssh.enable = true;
};
time.timeZone = "Europe/Berlin";
services.openssh.settings.PermitRootLogin = lib.mkForce "yes";
boot.loader = {
efi = {
canTouchEfiVariables = false;
};
grub = {
efiSupport = true;
efiInstallAsRemovable = true;
device = "nodev";
forcei686 = true;
};
};
}

View file

@ -102,6 +102,6 @@
};
programs.nix-ld = {
enable = true;
libraries = with pkgs; [];
libraries = with pkgs; [ ];
};
}

View file

@ -1,43 +0,0 @@
{
modulesPath,
lib,
nixos-hardware,
...
}:
{
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
nixos-hardware.nixosModules.raspberry-pi-4
];
boot = {
initrd = {
availableKernelModules = [ "xhci_pci" ];
};
loader = {
generic-extlinux-compatible.enable = true;
};
};
hardware.raspberry-pi."4".fkms-3d.enable = true;
jopejoe1 = {
bluetooth.enable = true;
local.enable = true;
nix.enable = true;
user = {
jopejoe1.enable = true;
root.enable = true;
};
ssh.enable = true;
};
services.openssh.settings.PermitRootLogin = lib.mkForce "yes";
networking = {
useDHCP = lib.mkDefault true;
};
powerManagement.cpuFreqGovernor = "ondemand";
}

View file

@ -1,54 +0,0 @@
{
modulesPath,
lib,
nixos-hardware,
pkgs,
...
}:
{
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
nixos-hardware.nixosModules.raspberry-pi-4
];
boot = {
initrd = {
availableKernelModules = [ "xhci_pci" ];
};
kernelPackages = pkgs.linuxPackages_latest;
};
boot.supportedFilesystems = lib.mkForce [
"btrfs"
"cifs"
"f2fs"
"jfs"
"ntfs"
"reiserfs"
"vfat"
"xfs"
"bchachefs"
];
#hardware.raspberry-pi."4".fkms-3d.enable = true;
jopejoe1 = {
bluetooth.enable = true;
local.enable = true;
nix.enable = true;
user = {
jopejoe1.enable = true;
root.enable = true;
};
ssh.enable = true;
};
networking = {
useDHCP = lib.mkDefault true;
};
services.openssh.settings.PermitRootLogin = lib.mkForce "yes";
powerManagement.cpuFreqGovernor = "ondemand";
}

View file

@ -34,6 +34,7 @@
nix.enable = true;
kodi.enable = true;
plasma.enable = true;
gui.enable = true;
user = {
jopejoe1.enable = true;
root.enable = true;

View file

@ -16,6 +16,7 @@
local.enable = true;
nix.enable = true;
sway.enable = true;
gui.enable = true;
user = {
jopejoe1.enable = true;
root.enable = true;
@ -27,7 +28,7 @@
hostId = "af13bbec";
};
hardware.opengl.enable = true;
hardware.graphics.enable = true;
time.timeZone = "Europe/Berlin";
@ -49,7 +50,7 @@
keyMap = "us";
};
services.xserver = {
layout = "us";
xkb.layout = "us";
};
boot = {