moved to stable

This commit is contained in:
MichaelFisher1997 2025-05-10 19:38:58 +01:00
parent ab0558eaf3
commit 99bea024e8
4 changed files with 16 additions and 5 deletions

8
flake.lock generated
View File

@ -2,16 +2,16 @@
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1746663147,
"narHash": "sha256-Ua0drDHawlzNqJnclTJGf87dBmaO/tn7iZ+TCkTRpRc=",
"lastModified": 1746557022,
"narHash": "sha256-QkNoyEf6TbaTW5UZYX0OkwIJ/ZMeKSSoOMnSDPQuol0=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "dda3dcd3fe03e991015e9a74b22d35950f264a54",
"rev": "1d3aeb5a193b9ff13f63f4d9cc169fb88129f860",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"ref": "nixos-24.11",
"repo": "nixpkgs",
"type": "github"
}

View File

@ -2,7 +2,7 @@
description = "NixOS configuration for hypr-nix";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
};
outputs = { self, nixpkgs, ... }@inputs: {

View File

@ -25,6 +25,12 @@
boot.loader.grub.useOSProber = true;
boot.initrd.kernelModules = [ "amdgpu" ];
boot.kernelPackages = pkgs.linuxPackages_latest;
nix.package = pkgs.nixVersions.latest;
# Optional but recommended:
nix.extraOptions = ''
experimental-features = nix-command flakes
'';
boot.kernelParams = [
"cgroup_enable=cpuset,cpu,cpuacct,blkio,devices,freezer,net_cls,perf_event,net_prio,hugetlb,pids"
];

View File

@ -1,4 +1,9 @@
{ config, pkgs, ... }:
let
unstable = import
(builtins.fetchTarball "channel:nixos-unstable")
{ config = config.nixpkgs.config; };
in
{
environment.systemPackages = with pkgs; [
# Text Editors