feat: switch to unstable channel

This commit is contained in:
Jacob Bachmann 2023-08-31 11:15:36 +02:00
parent a002b74366
commit 8f1e1ea06e
Signed by: bchmnn
GPG key ID: 732A612DAD28067D
5 changed files with 34 additions and 15 deletions

17
flake.lock generated
View file

@ -7,31 +7,30 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1692099905, "lastModified": 1693399033,
"narHash": "sha256-/pSusGhmIdSdAaywQRFA5dVbfdIzlWQTecM+E46+cJ0=", "narHash": "sha256-yXhiMo8MnE86sGtPIHAKaLHhmhe8v9tqGGotlUgKJvY=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "2a6679aa9cc3872c29ba2a57fe1b71b3e3c5649f", "rev": "f5c15668f9842dd4d5430787d6aa8a28a07f7c10",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nix-community", "owner": "nix-community",
"ref": "release-23.05",
"repo": "home-manager", "repo": "home-manager",
"type": "github" "type": "github"
} }
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1692447944, "lastModified": 1693377291,
"narHash": "sha256-fkJGNjEmTPvqBs215EQU4r9ivecV5Qge5cF/QDLVn3U=", "narHash": "sha256-vYGY9bnqEeIncNarDZYhm6KdLKgXMS+HA2mTRaWEc80=",
"owner": "NixOS", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "d680ded26da5cf104dd2735a51e88d2d8f487b4d", "rev": "e7f38be3775bab9659575f192ece011c033655f0",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "nixos",
"ref": "nixos-unstable", "ref": "nixos-unstable",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"

View file

@ -1,11 +1,18 @@
{ {
description = "Nix los hier"; description = "Nix los hier";
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
home-manager = { #nixpkgs.url = "github:nixos/nixpkgs/nixos-23.05";
url = "github:nix-community/home-manager/release-23.05"; #nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
inputs.nixpkgs.follows = "nixpkgs"; nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
};
#home-manager.url = "github:nix-community/home-manager/release-23.05";
#home-manager.inputs.nixpkgs.follows = "nixpkgs";
#home-manager-unstable.url = "github:nix-community/home-manager";
#home-manager-unstable.inputs.nixpkgs.follows = "nixpkgs-unstable";
home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
}; };
outputs = { self, nixpkgs, home-manager, ... }@inputs: { outputs = { self, nixpkgs, home-manager, ... }@inputs: {
nixosConfigurations = { nixosConfigurations = {

View file

@ -1,4 +1,4 @@
{ pkgs, ... }: { pkgs, unstable, ... }:
let let
aliases = import ../../modules/aliases.nix; aliases = import ../../modules/aliases.nix;
in in
@ -18,6 +18,9 @@ in
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true; home-manager.useUserPackages = true;
home-manager.extraSpecialArgs = {
inherit unstable;
};
home-manager.users.gandalf = { pkgs, ... }: { home-manager.users.gandalf = { pkgs, ... }: {
imports = [ ./modules ]; imports = [ ./modules ];

View file

@ -5,6 +5,7 @@
./git.nix ./git.nix
./gnupg.nix ./gnupg.nix
./neovim.nix ./neovim.nix
./ssh.nix
./sway.nix ./sway.nix
./tmux.nix ./tmux.nix
./udiskie.nix ./udiskie.nix

View file

@ -0,0 +1,9 @@
{ ... }: {
programs.ssh = {
enable = true;
};
services.ssh-agent = {
enable = true;
};
}