stable
This commit is contained in:
parent
0ab3bf5dd0
commit
aad8bcdfd5
24
flake.nix
24
flake.nix
|
|
@ -14,33 +14,23 @@
|
|||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
overlays = {
|
||||
nixpkgs.overlays = [
|
||||
(final: prev: {
|
||||
stable = import nixpkgs-stable {
|
||||
system = prev.system;
|
||||
};
|
||||
})
|
||||
];
|
||||
};
|
||||
pkgs-stable = nixpkgs-stable.legacyPackages.${system};
|
||||
in {
|
||||
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
modules = [
|
||||
system/configuration.nix
|
||||
overlays
|
||||
];
|
||||
specialArgs = {
|
||||
inherit pkgs-stable;
|
||||
};
|
||||
modules = [ system/configuration.nix ];
|
||||
};
|
||||
homeConfigurations.ahnwuoa = home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
extraSpecialArgs = rec {
|
||||
inherit pkgs-stable;
|
||||
username = "ahnwuoa";
|
||||
homeDirectory = "/home/${username}";
|
||||
};
|
||||
modules = [
|
||||
user/home.nix
|
||||
overlays
|
||||
];
|
||||
modules = [ user/home.nix ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, username, homeDirectory, ... }:
|
||||
{ config, pkgs, pkgs-stable, username, homeDirectory, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
|
|
@ -12,7 +12,7 @@
|
|||
home.packages = with pkgs; [
|
||||
(pkgs.symlinkJoin {
|
||||
name = "firefox";
|
||||
paths = [ pkgs.stable.firefox ];
|
||||
paths = [ pkgs-stable.firefox ];
|
||||
buildInputs = [ pkgs.makeWrapper ];
|
||||
postBuild = ''
|
||||
wrapProgram $out/bin/firefox \
|
||||
|
|
@ -30,7 +30,7 @@
|
|||
picom
|
||||
obs-studio
|
||||
screenkey
|
||||
pkgs.stable.safeeyes
|
||||
pkgs-stable.safeeyes
|
||||
libsForQt5.kcalc
|
||||
libsForQt5.kolourpaint
|
||||
libsForQt5.filelight
|
||||
|
|
|
|||
Loading…
Reference in a new issue