Skip to content

Commit

Permalink
patch(profiles/hardware-configuration): fetch latestKernel (6.8rc7) f…
Browse files Browse the repository at this point in the history
…rom pkgs-unstable (#108)

* feat(flake): add nixpkgs-unstable input (unstable-small)

* patch(profiles/hardware-configuration): fetch latestKernel from pkgs-unstable
  • Loading branch information
piyoki authored Mar 9, 2024
1 parent 23f5619 commit 0532e7e
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 5 deletions.
17 changes: 17 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,13 @@
inherit system;
config.allowUnfree = lib.mkDefault true;
};
pkgs-unstable = (import nixpkgs-unstable) {
inherit system;
config.allowUnfree = lib.mkDefault true;
};
inherit (nixpkgs) lib;
inherit (import ./shared/vars) user;
specialArgs = { inherit inputs pkgs system user; };
specialArgs = { inherit inputs pkgs pkgs-unstable system user; };
extraModules = [
sops-nix.nixosModules.sops
];
Expand Down Expand Up @@ -113,6 +117,7 @@
{
# public source
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable-small";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
Expand Down
4 changes: 2 additions & 2 deletions profiles/daily-drivers/nuc-12/hardware-configuration.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Do not modify this file! It was generated by ‘nixos-generate-config’
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{ config, lib, pkgs, pkgs-unstable, modulesPath, ... }:

{
imports =
Expand All @@ -11,7 +11,7 @@

boot = {
# Use the systemd-boot EFI boot loader.
kernelPackages = pkgs.linuxPackages_testing;
kernelPackages = pkgs-unstable.linuxPackages_testing;
# kernelPackages = pkgs.linuxPackages_latest;
supportedFilesystems = [ "ext4" "btrfs" "xfs" "fat" "vfat" "cifs" "nfs" ];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# https://wiki.archlinux.org/title/Lenovo_ThinkPad_X1_Carbon_(Gen_11)
# https://wiki.archlinux.org/title/Lenovo_ThinkPad_X1_Carbon_(Gen_10)
# https://wiki.archlinux.org/title/Lenovo_ThinkPad_X1_Carbon_(Gen_9)
{ config, lib, pkgs, modulesPath, ... }:
{ config, lib, pkgs, pkgs-unstable, modulesPath, ... }:

{
imports =
Expand All @@ -16,7 +16,7 @@

boot = {
# Use the systemd-boot EFI boot loader.
kernelPackages = pkgs.linuxPackages_testing;
kernelPackages = pkgs-unstable.linuxPackages_testing;
# kernelPackages = pkgs.linuxPackages_latest;
supportedFilesystems = [ "ext4" "btrfs" "xfs" "fat" "vfat" "cifs" "nfs" ];

Expand Down

0 comments on commit 0532e7e

Please sign in to comment.