Archived
Watch
1
0
Fork
You've already forked nixos
0

LTS kernel & unstable pkgs

This commit is contained in:
asnev 2026-07-03 14:45:56 +07:00
commit 86668f7707
Signed by: asnev
SSH key fingerprint: SHA256:8hagYq9hDUuS5clQ78FKhIoQDvg5crdkYMHX+3g7wB4
6 changed files with 57 additions and 32 deletions

View file

@ -15,7 +15,7 @@
];
initrd.verbose = false;
consoleLogLevel = 3;
kernelPackages = pkgs.linuxPackages_latest;
kernelPackages = pkgs.linuxPackages;
};
time.timeZone = "Asia/Jakarta";
@ -46,8 +46,6 @@
};
};
nixpkgs.config.allowUnfree = true;
environment = {
systemPackages = with pkgs; [
# Nix

19
flake.lock generated
View file

@ -53,11 +53,28 @@
"type": "github"
}
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1782723713,
"narHash": "sha256-oPXCU/SSUokcGaJREHibG1CBX3+s/W7orDWQOZDsEeQ=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "b5aa0fbd538984f6e3d201be0005b4463d8b09f8",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"home-manager": "home-manager",
"nix-flatpak": "nix-flatpak",
"nixpkgs": "nixpkgs"
"nixpkgs": "nixpkgs",
"nixpkgs-unstable": "nixpkgs-unstable"
}
}
},

View file

@ -12,6 +12,9 @@
nix-flatpak = {
url = "github:gmodena/nix-flatpak/?ref=latest";
};
nixpkgs-unstable = {
url = "github:nixos/nixpkgs/nixos-unstable";
};
};
outputs = inputs @ {
@ -19,6 +22,7 @@
nixpkgs,
home-manager,
nix-flatpak,
nixpkgs-unstable,
...
}: let
system = "x86_64-linux";
@ -28,9 +32,22 @@
inherit system;
specialArgs = {inherit inputs;};
modules = [
({config, pkgs, ...}: {
nixpkgs.config.allowUnfree = true;
nixpkgs.overlays = [
(final: prev: {
unstable = import nixpkgs-unstable {
inherit (prev) system;
config.allowUnfree = true;
};
})
];
})
./hosts/phostron/default.nix
./profiles/kde.nix
./users/coyote/default.nix
home-manager.nixosModules.home-manager
{
home-manager = {
@ -45,24 +62,6 @@
}
];
};
devShells.${system}.default = let
pkgs = import nixpkgs {
inherit system;
overlays = [
(final: prev: {
openblas =
if prev.stdenv.hostPlatform.system == "i686-linux"
then prev.openblas.overrideAttrs (_: {doCheck = false;})
else prev.openblas;
})
];
};
in {
pkgs.mkShell = {
buildInputs = with pkgs; [openblas];
};
};
};
};
}

View file

@ -5,13 +5,15 @@
};
environment = {
systemPackages = with pkgs; [
kdePackages.kate
kdePackages.bluez-qt
kdePackages.kalk
kdePackages.filelight
kdePackages.kamoso
systemPackages = with pkgs.kdePackages; [
kate
bluez-qt
kalk
filelight
kamoso
];
plasma6.excludePackages = with pkgs.kdePackages; [
discover
];
plasma6.excludePackages = with pkgs; [kdePackages.discover];
};
}

View file

@ -22,7 +22,7 @@ in {
biwascheme
chicken
guile
racket
unstable.racket
sbcl
# LSPs
ty

View file

@ -7,10 +7,11 @@
shell.enableShellIntegration = true;
packages = with pkgs; [
# productivity
libreoffice
libreoffice-fresh
karp
keepassxc
# multimedia
unstable.audacity
obs-studio
furnace
corrscope
@ -31,10 +32,18 @@
update.onActivation = false;
uninstallUnmanaged = false;
packages = [
"org.audacityteam.Audacity"
# { appId = "app.Id.here"; origin = "flathub"; commit = "<hash>" }
"com.usebottles.bottles"
"org.nickvision.tubeconverter"
];
overrides = {
global = { Context.sockets = ["wayland" "!x11" "!fallback-x11"]; };
settings = {
Environment = {
XCURSOR_PATH = "/run/host/user-share/icons:/run/host/share/icons";
};
};
};
};
programs = {