Remove SnowLib

This commit is contained in:
jopejoe1 2023-05-16 14:55:15 +02:00
parent ff44c8a5e0
commit 7fa434b6f8
42 changed files with 363 additions and 1300 deletions

View file

@ -1,35 +0,0 @@
{ pkgs, config, lib, channel, ... }:
with lib;
#with lib.internal;
{
networking.networkmanager.enable = true;
networking.wireless.enable = mkForce false;
hardware.opengl.enable = true;
environment.systemPackages = with pkgs; [
gparted
parted
gnufdisk
partition-manager
];
hardware.enableRedistributableFirmware = true;
programs = {
dconf.enable = true;
xwayland.enable = true;
};
# System
custom.system.boot.uboot.enable = true;
custom.system.ssh.enable = true;
custom.nix.enable = true;
custom.hardware.audio.enable = true;
custom.desktop.plasma.enable = true;
# User
custom.user.jopejoe1.enable = true;
custom.user.root.enable = true;
}

View file

@ -1,36 +0,0 @@
{ pkgs, config, lib, channel, ... }:
with lib;
#with lib.internal;
{
imports = [ ./hardware.nix ];
networking.networkmanager.enable = true;
networking.hostName = "yokai";
time.timeZone = "Europe/Berlin";
hardware.opengl.enable = true;
programs = {
dconf.enable = true;
droidcam.enable = true;
xwayland.enable = true;
};
# System
custom.system.boot.uboot.enable = true;
custom.system.xdg.enable = true;
custom.system.fonts.enable = true;
custom.system.locale.enable = true;
custom.system.locale.layout = "us";
custom.system.ssh.enable = true;
custom.nix.enable = true;
custom.hardware.audio.enable = true;
custom.hardware.printing.enable = true;
custom.desktop.plasma.enable = true;
custom.hardware.bluetooth.enable = true;
# User
custom.user.jopejoe1.enable = true;
custom.user.root.enable = true;
}

View file

@ -1,35 +0,0 @@
{ pkgs, config, lib, channel, ... }:
with lib;
#with lib.internal;
{
networking.networkmanager.enable = true;
networking.wireless.enable = mkForce false;
hardware.opengl.enable = true;
environment.systemPackages = with pkgs; [
gparted
parted
gnufdisk
partition-manager
];
hardware.enableRedistributableFirmware = true;
programs = {
dconf.enable = true;
xwayland.enable = true;
};
# System
custom.system.boot.uefi.enable = true;
custom.system.ssh.enable = true;
custom.nix.enable = true;
custom.hardware.audio.enable = true;
custom.desktop.plasma.enable = true;
# User
custom.user.jopejoe1.enable = true;
custom.user.root.enable = true;
}

82
systems/kami/default.nix Normal file
View file

@ -0,0 +1,82 @@
{ config, pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware.nix
];
services.ivpn.enable = true;
networking.hostName = "kami";
networking.hostId = "16c22faf";
boot.supportedFilesystems = [ "ntfs" "btrfs" "zfs" ];
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
networking.networkmanager.enable = true;
time.timeZone = "Europe/Berlin";
services.xserver.videoDrivers = [ "nvidia" ];
hardware.opengl.enable = true;
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.stable;
#boot.kernelParams = [ "module_blacklist=i915" ];
#services.boinc.enable = true;
environment.systemPackages = with pkgs; [
prismlauncher
libsForQt5.discover
skypeforlinux
discord
jetbrains.pycharm-professional
carla
tela-icon-theme
#devolo-dlan-cockpit
# Fonts
google-fonts
noto-fonts
noto-fonts-emoji
noto-fonts-cjk-sans
noto-fonts-cjk-serif
noto-fonts-emoji-blob-bin
nerdfonts
league-of-moveable-type
twitter-color-emoji
];
hardware.nvidia.modesetting.enable = true;
services.flatpak.enable = true;
programs = {
dconf.enable = true;
droidcam.enable = true;
sysdig.enable = true;
xwayland.enable = true;
kdeconnect.enable = true;
};
console = {
enable = true;
keyMap = "de";
};
services.xserver = {
layout = "de";
};
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.efi.efiSysMountPoint = "/boot/efi";
boot.loader.systemd-boot.configurationLimit = 10;
# https://github.com/NixOS/nixpkgs/blob/c32c39d6f3b1fe6514598fa40ad2cf9ce22c3fb7/nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nix#L66
boot.loader.systemd-boot.editor = false;
}

28
systems/oni/default.nix Normal file
View file

@ -0,0 +1,28 @@
{ pkgs, config, lib, channel, ... }:
with lib;
#with lib.internal;
{
imports = [ ./hardware.nix ];
networking.networkmanager.enable = true;
networking.hostName = "oni";
time.timeZone = "Europe/Berlin";
hardware.opengl.enable = true;
programs = {
dconf.enable = true;
droidcam.enable = true;
sysdig.enable = true;
xwayland.enable = true;
};
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.efi.efiSysMountPoint = "/boot/efi";
boot.loader.systemd-boot.configurationLimit = 10;
# https://github.com/NixOS/nixpkgs/blob/c32c39d6f3b1fe6514598fa40ad2cf9ce22c3fb7/nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nix#L66
boot.loader.systemd-boot.editor = false;
}

View file

@ -9,14 +9,14 @@ in
common-cpu-amd
common-gpu-amd
common-pc
#common-pc-ssd
common-pc-ssd
];
boot = {
kernelPackages = pkgs.linuxPackages_zen;
initrd = {
# kernelModules = [ "amdgpu" ];
kernelModules = [ "amdgpu" ];
availableKernelModules = [ "xhci_pci" "ahci" "ehci_pci" "usb_storage" "sd_mod" "sr_mod" ];
};
@ -46,7 +46,4 @@ in
hardware.enableRedistributableFirmware = true;
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
# high-resolution display
hardware.video.hidpi.enable = lib.mkDefault true;
}

View file

@ -1,35 +0,0 @@
{ pkgs, config, lib, channel, ... }:
with lib;
#with lib.internal;
{
networking.networkmanager.enable = true;
networking.wireless.enable = mkForce false;
hardware.opengl.enable = true;
environment.systemPackages = with pkgs; [
gparted
parted
gnufdisk
partition-manager
];
hardware.enableRedistributableFirmware = true;
programs = {
dconf.enable = true;
xwayland.enable = true;
};
# System
custom.system.boot.uefi.enable = true;
custom.system.ssh.enable = true;
custom.nix.enable = true;
custom.hardware.audio.enable = true;
custom.desktop.plasma.enable = true;
# User
custom.user.jopejoe1.enable = true;
custom.user.root.enable = true;
}

View file

@ -1,101 +0,0 @@
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware.nix
];
services.ivpn.enable = true;
networking.hostName = "kami";
networking.hostId = "16c22faf";
boot.supportedFilesystems = [ "ntfs" "btrfs" "zfs" ];
boot.binfmt.emulatedSystems = [ "aarch64-linux" "i686-linux" "armv6l-linux" "armv7l-linux" "aarch64_be-linux" "i386-linux" "i486-linux" "i586-linux" "alpha-linux" "sparc64-linux" "sparc-linux" "powerpc-linux" "powerpc64-linux" "powerpc64le-linux" "mips-linux" "mipsel-linux" "mips64-linux" "mips64el-linux" "riscv32-linux" "riscv64-linux" "wasm32-wasi" "wasm64-wasi" "x86_64-windows" "i686-windows" ];
boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
networking.networkmanager.enable = true;
time.timeZone = "Europe/Berlin";
services.xserver.videoDrivers = [ "nvidia" ];
hardware.opengl.enable = true;
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.stable;
#boot.kernelParams = [ "module_blacklist=i915" ];
services.boinc.enable = true;
environment.systemPackages = with pkgs; [
prismlauncher
libsForQt5.discover
skypeforlinux
discord
jetbrains.pycharm-professional
python3
python3Packages.numpy
python3Packages.pandas
python3Packages.requests
python3Packages.json5
python3Packages.pyperclip
python3Packages.plotly
carla
tela-icon-theme
#devolo-dlan-cockpit
# Fonts
google-fonts
noto-fonts
noto-fonts-emoji
noto-fonts-cjk-sans
noto-fonts-cjk-serif
noto-fonts-emoji-blob-bin
nerdfonts
league-of-moveable-type
twitter-color-emoji
];
hardware.nvidia.modesetting.enable = true;
services.flatpak.enable = true;
programs = {
dconf.enable = true;
droidcam.enable = true;
sysdig.enable = true;
xwayland.enable = true;
kdeconnect.enable = true;
};
# Migrated Stuff
custom.user.jopejoe1.enable = true;
custom.user.root.enable = true;
custom.system.locale.enable = true;
custom.system.locale.layout = "de";
custom.nix.enable = true;
custom.desktop.plasma.enable = true;
custom.system.boot.uefi.enable = true;
custom.system.xdg.enable = true;
custom.system.fonts.enable = true;
custom.hardware.audio.enable = true;
custom.hardware.printing.enable = true;
custom.system.ssh.enable = true;
custom.hardware.rgb.enable = true;
custom.hardware.rgb.motherboard = "intel";
custom.hardware.bluetooth.enable = true;
custom.programs.steam.enable = true;
# Currently broken
#custom.system.dns.enable = true;
}

View file

@ -1,39 +0,0 @@
{ pkgs, config, lib, channel, ... }:
with lib;
#with lib.internal;
{
imports = [ ./hardware.nix ];
networking.networkmanager.enable = true;
custom.system.boot.uefi.enable = true;
#custom.system.xdg.enable = true;
#custom.system.fonts.enable = true;
custom.system.locale.enable = true;
custom.system.locale.layout = "de";
#custom.system.ssh.enable = true;
custom.nix.enable = true;
#custom.hardware.audio.enable = true;
#custom.hardware.printing.enable = true;
custom.desktop.plasma.enable = true;
custom.user.jopejoe1.enable =true;
custom.user.root.enable =true;
networking.hostName = "kami";
time.timeZone = "Europe/Berlin";
hardware.opengl.enable = true;
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.stable;
boot.kernelParams = [ "module_blacklist=i915" ];
programs = {
dconf.enable = true;
#droidcam.enable = true;
#sysdig.enable = true;
#xwayland.enable = true;
};
}

View file

@ -1,70 +0,0 @@
{ config, lib, pkgs, modulesPath, inputs, ... }:
let
inherit (inputs) nixos-hardware;
in
{
imports = with nixos-hardware.nixosModules; [
(modulesPath + "/installer/scan/not-detected.nix")
#common-cpu-intel
#common-gpu-nvidia
#common-pc
#common-pc-ssd
];
#hardware.nvidia.prime = {
# offload.enable = false;
#sync.enable = false;
# Bus ID of the Intel GPU. You can find it using lspci, either under 3D or VGA
#intelBusId = "PCI:0:2:0";
# Bus ID of the NVIDIA GPU. You can find it using lspci, either under 3D or VGA
#nvidiaBusId = "PCI:1:0:0";
# };
boot = {
#kernelPackages = pkgs.linuxPackages_5_10;
initrd = {
# kernelModules = [ "amdgpu" ];
availableKernelModules =
[ "vmd" "xhci_pci" "ahci" "nvme" "usbhid" "sd_mod" "sr_mod" ];
};
extraModulePackages = [ ];
};
fileSystems."/" =
{ device = "/dev/disk/by-uuid/99a47ace-7e69-4520-b914-d4fe5b31dc79";
fsType = "btrfs";
options = [ "subvol=@" ];
};
fileSystems."/boot/efi" =
{ device = "/dev/disk/by-uuid/1F26-8168";
fsType = "vfat";
};
fileSystems."/home" =
{ device = "/dev/disk/by-uuid/78d6db21-b823-4ca4-b495-7782d3e56ddc";
fsType = "ext4";
};
swapDevices = [ ];
# @NOTE(jakehamilton): NetworkManager will handle DHCP.
networking.interfaces.enp6s0.useDHCP = true;
networking.interfaces.wlo1.useDHCP = true;
hardware.enableRedistributableFirmware = true;
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
# high-resolution display
hardware.video.hidpi.enable = lib.mkDefault true;
services.xserver.videoDrivers = [ "nvidia" ];
#hardware.bluetooth.enable = false;
}

View file

@ -1,40 +0,0 @@
{ pkgs, config, lib, channel, ... }:
with lib;
#with lib.internal;
{
imports = [ ./hardware.nix ];
networking.networkmanager.enable = true;
networking.hostName = "oni";
time.timeZone = "Europe/Berlin";
hardware.opengl.enable = true;
programs = {
dconf.enable = true;
droidcam.enable = true;
sysdig.enable = true;
xwayland.enable = true;
};
# System
custom.system.boot.uefi.enable = true;
custom.system.xdg.enable = true;
custom.system.fonts.enable = true;
custom.system.locale.enable = true;
custom.system.locale.layout = "de";
custom.system.ssh.enable = true;
custom.nix.enable = true;
custom.hardware.audio.enable = true;
custom.hardware.printing.enable = true;
custom.desktop.plasma.enable = true;
custom.system.ssh.enable = true;
custom.hardware.bluetooth.enable = true;
custom.programs.steam.enable = true;
# Users
custom.user.jopejoe1.enable =true;
custom.user.root.enable =true;
}

27
systems/yokai/default.nix Normal file
View file

@ -0,0 +1,27 @@
{ pkgs, config, ... }:
{
imports = [ ./hardware.nix ];
networking.networkmanager.enable = true;
networking.hostName = "yokai";
time.timeZone = "Europe/Berlin";
hardware.opengl.enable = true;
programs = {
dconf.enable = true;
droidcam.enable = true;
xwayland.enable = true;
};
boot = {
# Boot loader configutation
loader = {
# Use the extlinux boot loader. (NixOS wants to enable GRUB by default)
grub.enable = false;
# Enables the generation of /boot/extlinux/extlinux.conf
generic-extlinux-compatible.enable = true;
systemd-boot.configurationLimit = 10;
};
}

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, modulesPath, inputs, ... }:
{ config, pkgs, modulesPath, ... }:
{
imports = [
@ -9,7 +9,6 @@
kernelPackages = pkgs.linuxPackages_zen;
initrd = {
# kernelModules = [ "amdgpu" ];
availableKernelModules = [ "usbhid" ];
};