Don't depend on external nixos-unstable channel

modules can now use unstablePkgs argument
This commit is contained in:
Wroclaw 2024-02-19 06:42:58 +01:00
parent fca3744086
commit ffb6be2ea2
4 changed files with 51 additions and 13 deletions

View file

@ -1,9 +1,9 @@
{ config, pkgs, ... }:
{ config, pkgs, unstablePkgs, ... }:
let
unstable = import <nixos-unstable> { config = config.nixpkgs.config; };
in
{
imports = [
./unstable-packages.nix
];
users.users.wroclaw = {
isNormalUser = true;
description = "Rafał";
@ -20,7 +20,7 @@ in
firefox
vivaldi
discord-canary
unstable.vscode
unstablePkgs.vscode
];
};
users.groups.wroclaw.gid = 1000;