Compare commits

...

3 commits

4 changed files with 37 additions and 26 deletions

View file

@ -238,7 +238,17 @@
in
{
formatter."${system}" = pkgs.nixpkgs-fmt;
packages."${system}" = import ./pkgs { inherit pkgs lib config; };
packages."${system}" =
import ./pkgs { inherit pkgs lib config; }
// {
rescue-iso =
let
mod = "${inputs.nixos-images}/nix/image-installer/module.nix";
os = nixpkgs.legacyPackages.${system}.nixos [ mod ];
iso = os.config.system.build.isoImage;
in
iso;
};
diskoConfigurations = {
nixos-desk = import ./systems/nixos-desk/disko.nix;
nixos-pulse = import ./systems/nixos-pulse/disko.nix;

View file

@ -363,6 +363,7 @@ in
imagemagick
libtool
neofetch
fastfetch
nil
nixpkgs-fmt
nodejs_20

View file

@ -18,7 +18,6 @@
, relyUdev ? true
,
}:
let
gstreamerPluginPaths = lib.concatMapStrings (pth: pth + "/lib/gstreamer-1.0:") [
(lib.getLib gst_all_1.gstreamer)

View file

@ -129,13 +129,13 @@
specialisation = {
linux-latest.configuration = {
boot.kernelPackages = lib.mkForce pkgs.linuxPackages_latest; # bootstrap
};
linux-lts.configuration = {
boot.kernelPackages = lib.mkForce pkgs.linuxPackages_lts; # bootstrap
boot.kernelPackages = lib.mkForce pkgs.linuxPackages_latest;
};
linux-zen.configuration = {
boot.kernelPackages = lib.mkForce pkgs.linuxPackages_zen; # bootstrap
boot.kernelPackages = lib.mkForce pkgs.linuxPackages_zen;
};
linux-cachyos.configuration = {
boot.kernelPackages = lib.mkForce pkgs.linuxPackages_cachyos;
};
};
boot = {
@ -145,7 +145,7 @@
# kernelPackages = pkgs.pkgsAMD64Microarchs.znver4.linuxPackages_cachyos;
# 6.14 rc wohooo
kernelPackages = pkgs.linuxPackages_cachyos;
kernelPackages = pkgs.linuxPackages_latest;
# kernelPackages = pkgs.pkgsAMD64Microarchs.znver4.linuxPackages_cachyos-rc;
# kernelPackages = pkgs.pkgsAMD64Microarchs.znver2.linuxPackages_cachyos-rc;
# kernelPackages = pkgs.pkgsAMD64Microarchs.znver2.linuxPackages_cachyos;
@ -225,24 +225,25 @@
'';
interfaces = {
eth0 = {
useDHCP = false;
ipv4.addresses = [
{
address = "192.168.0.21";
prefixLength = 24;
}
];
ipv4.routes = [
{
address = "192.168.0.0";
prefixLength = 24;
}
{
address = "0.0.0.0";
prefixLength = 0;
via = "192.168.0.5";
}
];
# useDHCP = false;
useDHCP = true;
# ipv4.addresses = [
# {
# address = "192.168.0.21";
# prefixLength = 24;
# }
# ];
# ipv4.routes = [
# {
# address = "192.168.0.0";
# prefixLength = 24;
# }
# {
# address = "0.0.0.0";
# prefixLength = 0;
# via = "192.168.0.5";
# }
# ];
};
};
};