nix: switching to using flakes

This commit is contained in:
2023-03-17 11:07:39 +01:00
parent 7b9b3b2b07
commit 18b670ceec
5 changed files with 118 additions and 4 deletions

View File

@ -6,7 +6,7 @@
{
imports = [ # Include the results of the hardware scan.
/etc/nixos/hardware-configuration.nix
./hardware-configuration.nix
];
# Bootloader.
@ -139,9 +139,9 @@
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
nixpkgs.config.packageOverrides = pkgs: {
unstable = import <nixos-unstable> { config = config.nixpkgs.config; };
};
# nixpkgs.config.packageOverrides = pkgs: {
# unstable = import <nixos-unstable> { config = config.nixpkgs.config; };
# };
environment.etc."manual-links/xfce4-notifyd".source =
"${pkgs.xfce.xfce4-notifyd}/lib/xfce4/notifyd/xfce4-notifyd";