mirror of
https://github.com/eRgo35/nix-config.git
synced 2026-02-04 16:56:11 +01:00
BREAKING-CHANGE: modified structure, hm is now standalone
This commit is contained in:
@@ -1,14 +1,8 @@
|
||||
{
|
||||
pkgs,
|
||||
hostname,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
imports =
|
||||
if hostname == "zion"
|
||||
then [inputs.chaotic.nixosModules.default]
|
||||
else [];
|
||||
|
||||
boot = {
|
||||
tmp.cleanOnBoot = true;
|
||||
|
||||
@@ -22,13 +16,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
kernelPackages =
|
||||
if hostname == "zion"
|
||||
then pkgs.linuxPackages_zen #linuxPackages_zen #linuxPackages #linuxPackages_latest #linuxPackages_xanmod_latest
|
||||
else if hostname == "thor"
|
||||
then pkgs.linuxPackages
|
||||
else if hostname == "server"
|
||||
then pkgs.linuxPackages
|
||||
else pkgs.linuxPackages_zen;
|
||||
kernelPackages = pkgs.linuxPackages_zen;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user