mirror of
https://github.com/jbowdre/dotfiles.git
synced 2024-12-22 12:22:17 +00:00
track nixos-unstable, update configs and overlays to match
This commit is contained in:
parent
7d7bb64ffc
commit
4e6a2a373d
5 changed files with 10 additions and 15 deletions
|
@ -6,15 +6,15 @@
|
|||
# - https://github.com/Misterio77/nix-config/
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.05";
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
# You can access packages and modules from different nixpkgs revs
|
||||
# at the same time. Here's a working example:
|
||||
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
# Also see the 'unstable-packages' overlay at 'nix/overlays/default.nix'.
|
||||
nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-23.05";
|
||||
# Also see the 'stable-packages' overlay at 'nix/overlays/default.nix'.
|
||||
|
||||
# Home manager
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager/release-23.05";
|
||||
url = "github:nix-community/home-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
# Common GUI apps
|
||||
imports = [
|
||||
./firefox.nix
|
||||
./obsidian.nix
|
||||
./vscode.nix
|
||||
];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
obsidian
|
||||
qFlipper
|
||||
];
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
{ pkgs, inputs, outputs, lib, ... }: {
|
||||
home.packages = with pkgs.unstable; [
|
||||
obsidian
|
||||
];
|
||||
}
|
|
@ -8,7 +8,7 @@
|
|||
enable = true;
|
||||
enableExtensionUpdateCheck = false;
|
||||
enableUpdateCheck = false;
|
||||
package = pkgs.unstable.vscode;
|
||||
package = pkgs.vscode;
|
||||
extensions = with pkgs.vscode-extensions; [
|
||||
# extensions available as nix packages
|
||||
bbenoist.nix
|
||||
|
|
|
@ -13,10 +13,10 @@
|
|||
# });
|
||||
};
|
||||
|
||||
# When applied, the unstable nixpkgs set (declared in the flake inputs) will
|
||||
# be accessible through 'pkgs.unstable'
|
||||
unstable-packages = final: _prev: {
|
||||
unstable = import inputs.nixpkgs-unstable {
|
||||
# When applied, the stable nixpkgs set (declared in the flake inputs) will
|
||||
# be accessible through 'pkgs.stable'
|
||||
stable-packages = final: _prev: {
|
||||
stable = import inputs.nixpkgs-stable {
|
||||
system = final.system;
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue