mirror of
https://github.com/thilobillerbeck/dotfiles.git
synced 2025-06-15 00:44:35 +02:00
modularize nix version choice
This commit is contained in:
parent
df6cecdc98
commit
1e4fd788ed
5 changed files with 32 additions and 4 deletions
|
@ -21,6 +21,12 @@
|
|||
home.sessionVariables = {
|
||||
LD_LIBRARY_PATH = "${pkgs.libGL}/lib";
|
||||
};
|
||||
|
||||
nix = {
|
||||
package = pkgs.nixVersions.latest;
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [ pkgs.nixVersions.latest ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
{ inputs, pkgs, ... }:
|
||||
{
|
||||
inputs,
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
home-manager = {
|
||||
|
@ -16,6 +21,7 @@
|
|||
isGnome = false;
|
||||
noiseSuppression.enable = true;
|
||||
isGraphical = true;
|
||||
nixVersion = pkgs.lix;
|
||||
};
|
||||
|
||||
/*
|
||||
|
@ -30,7 +36,14 @@
|
|||
LD_LIBRARY_PATH = "${pkgs.libGL}/lib";
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [ libsForQt5.discover ];
|
||||
nix = {
|
||||
package = pkgs.lix;
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
pkgs.lix
|
||||
libsForQt5.discover
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -12,4 +12,10 @@
|
|||
};
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
nix = {
|
||||
package = pkgs.nixVersions.latest;
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [ pkgs.nixVersions.latest ];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue