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

19
flake.lock generated
View file

@ -53,11 +53,28 @@
"type": "github" "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": { "root": {
"inputs": { "inputs": {
"home-manager": "home-manager", "home-manager": "home-manager",
"nix-flatpak": "nix-flatpak", "nix-flatpak": "nix-flatpak",
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs",
"nixpkgs-unstable": "nixpkgs-unstable"
} }
} }
}, },

View file

@ -12,6 +12,9 @@
nix-flatpak = { nix-flatpak = {
url = "github:gmodena/nix-flatpak/?ref=latest"; url = "github:gmodena/nix-flatpak/?ref=latest";
}; };
nixpkgs-unstable = {
url = "github:nixos/nixpkgs/nixos-unstable";
};
}; };
outputs = inputs @ { outputs = inputs @ {
@ -19,6 +22,7 @@
nixpkgs, nixpkgs,
home-manager, home-manager,
nix-flatpak, nix-flatpak,
nixpkgs-unstable,
... ...
}: let }: let
system = "x86_64-linux"; system = "x86_64-linux";
@ -28,9 +32,22 @@
inherit system; inherit system;
specialArgs = {inherit inputs;}; specialArgs = {inherit inputs;};
modules = [ 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 ./hosts/phostron/default.nix
./profiles/kde.nix ./profiles/kde.nix
./users/coyote/default.nix ./users/coyote/default.nix
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
{ {
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 = { environment = {
systemPackages = with pkgs; [ systemPackages = with pkgs.kdePackages; [
kdePackages.kate kate
kdePackages.bluez-qt bluez-qt
kdePackages.kalk kalk
kdePackages.filelight filelight
kdePackages.kamoso kamoso
];
plasma6.excludePackages = with pkgs.kdePackages; [
discover
]; ];
plasma6.excludePackages = with pkgs; [kdePackages.discover];
}; };
} }

View file

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

View file

@ -7,10 +7,11 @@
shell.enableShellIntegration = true; shell.enableShellIntegration = true;
packages = with pkgs; [ packages = with pkgs; [
# productivity # productivity
libreoffice libreoffice-fresh
karp karp
keepassxc keepassxc
# multimedia # multimedia
unstable.audacity
obs-studio obs-studio
furnace furnace
corrscope corrscope
@ -31,10 +32,18 @@
update.onActivation = false; update.onActivation = false;
uninstallUnmanaged = false; uninstallUnmanaged = false;
packages = [ packages = [
"org.audacityteam.Audacity" # { appId = "app.Id.here"; origin = "flathub"; commit = "<hash>" }
"com.usebottles.bottles" "com.usebottles.bottles"
"org.nickvision.tubeconverter" "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 = { programs = {