refactoring hosts too big
This commit is contained in:
1 parent
da102d5b47
commit
b5bde292d2
112 files changed
+2270
-1625
No files matched your search
@@ -0,0 +1,46 @@
|
||||
{ lib, pkgs, config, determinate, ... }:
|
||||
{
|
||||
imports = [
|
||||
./hardware-configuration
|
||||
./hardware.nix
|
||||
./systemd.nix
|
||||
];
|
||||
|
||||
skyg.user.enable
|
||||
skyg = {
|
||||
user.enable = true;
|
||||
nixos = {
|
||||
common.ssh-server.enable = true;
|
||||
common.hardware.pipewire.enable = true;
|
||||
desktop = {
|
||||
enable = true;
|
||||
tiler = {
|
||||
enable = true;
|
||||
hyprland.enable = true;
|
||||
hyprland.configLink.enable = false;
|
||||
noctalia.enable = false;
|
||||
quickshell.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
nix.package = lib.mkForce (
|
||||
determinate.inputs.nix.packages.${pkgs.stdenv.hostPlatform.system}.default.overrideAttrs (old: {
|
||||
doCheck = false;
|
||||
})
|
||||
);
|
||||
|
||||
programs.dms-greeter = {
|
||||
enable = true;
|
||||
compositor.name = "hyprland";
|
||||
configHome = "/home/${config.skyg.user.name}";
|
||||
};
|
||||
services.displayManager.autoLogin = {
|
||||
enable = true;
|
||||
user = config.skyg.user.name;
|
||||
};
|
||||
services.displayManager.defaultSession = "hyprland";
|
||||
|
||||
environment.systemPackages = with pkgs; [ foot ];
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
#
|
||||
# Clanker ! Do not modify this file!
|
||||
#
|
||||
{ lib, modulesPath, ... }:
|
||||
{
|
||||
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "usbhid" "usb_storage" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ ];
|
||||
boot.extraModulePackages = [ ];
|
||||
boot.zfs.forceImportRoot = false;
|
||||
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
#
|
||||
# Clanker ! Do not modify this file!
|
||||
#
|
||||
{ lib, modulesPath, ... }:
|
||||
{
|
||||
imports = [
|
||||
./boot.nix
|
||||
./file-system.nix
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
#
|
||||
# Clanker ! Do not modify this file!
|
||||
#
|
||||
{ lib, modulesPath, ... }:
|
||||
{
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-label/NIXOS_SD";
|
||||
fsType = "ext4";
|
||||
};
|
||||
fileSystems."/boot/firmware" = {
|
||||
device = "/dev/disk/by-label/FIRMWARE";
|
||||
fsType = "vfat";
|
||||
options = [ "nofail" "noauto" ];
|
||||
};
|
||||
swapDevices = [ ];
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{ ... }:
|
||||
{
|
||||
boot.kernelParams = [ "console=ttyS0,115200n8" "console=tty0" ];
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{ ... }:
|
||||
{
|
||||
boot.loader.grub.enable = false;
|
||||
boot.loader.generic-extlinux-compatible.enable = true;
|
||||
zramSwap.enable = true;
|
||||
}
|
||||
Reference in new issue
Block a user