mirror of
https://github.com/davegallant/nix-config
synced 2025-08-07 09:12:28 +00:00
Move to stable with the idea of transitioning a subset of packages to
unstable
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
system.stateVersion = "unstable";
|
system.stateVersion = "stable";
|
||||||
system.autoUpgrade.enable = true;
|
system.autoUpgrade.enable = true;
|
||||||
|
|
||||||
# Automatically optimize the Nix store.
|
# Automatically optimize the Nix store.
|
||||||
|
@@ -76,7 +76,7 @@ in
|
|||||||
|
|
||||||
# lua
|
# lua
|
||||||
lua53Packages.luacheck
|
lua53Packages.luacheck
|
||||||
stylua
|
# stylua
|
||||||
|
|
||||||
# golang
|
# golang
|
||||||
golangci-lint
|
golangci-lint
|
||||||
@@ -133,7 +133,7 @@ in
|
|||||||
|
|
||||||
## aws
|
## aws
|
||||||
aws-connect
|
aws-connect
|
||||||
aws-role-play
|
# aws-role-play
|
||||||
aws-vault
|
aws-vault
|
||||||
awscli2
|
awscli2
|
||||||
awslogs
|
awslogs
|
||||||
@@ -142,10 +142,9 @@ in
|
|||||||
# python
|
# python
|
||||||
python39
|
python39
|
||||||
python39Packages.black
|
python39Packages.black
|
||||||
python39Packages.ipython
|
# python39Packages.ipython
|
||||||
python39Packages.pip
|
python39Packages.pip
|
||||||
python39Packages.pipx
|
# python39Packages.poetry
|
||||||
python39Packages.poetry
|
|
||||||
python39Packages.setuptools
|
python39Packages.setuptools
|
||||||
python39Packages.virtualenv
|
python39Packages.virtualenv
|
||||||
|
|
||||||
@@ -154,7 +153,7 @@ in
|
|||||||
rubocop
|
rubocop
|
||||||
ruby
|
ruby
|
||||||
rufo
|
rufo
|
||||||
rubyPackages.solargraph
|
# rubyPackages.solargraph # not in 21.05
|
||||||
|
|
||||||
# news
|
# news
|
||||||
srv
|
srv
|
||||||
@@ -211,7 +210,6 @@ in
|
|||||||
tailscale
|
tailscale
|
||||||
teams
|
teams
|
||||||
wireshark-qt
|
wireshark-qt
|
||||||
yuzu
|
|
||||||
zoom-us
|
zoom-us
|
||||||
netdata # TODO: Enable launchd support with nix-darwin
|
netdata # TODO: Enable launchd support with nix-darwin
|
||||||
]);
|
]);
|
||||||
|
20
flake.lock
generated
20
flake.lock
generated
@@ -81,11 +81,11 @@
|
|||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"dir": "contrib",
|
"dir": "contrib",
|
||||||
"lastModified": 1637944485,
|
"lastModified": 1638043901,
|
||||||
"narHash": "sha256-78FOxFL8UonKZbueovs3Qc55KkTjc5mbqwcKYI/lOqw=",
|
"narHash": "sha256-/ptPh9yDIFYik13bOv6nhPWlWaozOI9SVPe7F/nCzrw=",
|
||||||
"owner": "neovim",
|
"owner": "neovim",
|
||||||
"repo": "neovim",
|
"repo": "neovim",
|
||||||
"rev": "afbf89dc0120b1db5782a0bf807dc7c8db70ccf6",
|
"rev": "07223fae54b5b8095da16c598fc1395ec3677691",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -102,11 +102,11 @@
|
|||||||
"nixpkgs": "nixpkgs"
|
"nixpkgs": "nixpkgs"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1638000798,
|
"lastModified": 1638087178,
|
||||||
"narHash": "sha256-dqK12CEwqiTgAs5Gdn5tTLWb4He+oGvzHZI5uzS1vSE=",
|
"narHash": "sha256-2Z1bFOdtqJz3259xIXaAqu3n0iD0uaKOG53uSCQEr34=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "neovim-nightly-overlay",
|
"repo": "neovim-nightly-overlay",
|
||||||
"rev": "ecdf29639837b6cb1e22ba531dabdbe8c908b2e1",
|
"rev": "e1a53537b1c7ad2a16da1493cd75b773635a9319",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -149,16 +149,16 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1637841632,
|
"lastModified": 1637973395,
|
||||||
"narHash": "sha256-QYqiKHdda0EOnLGQCHE+GluD/Lq2EJj4hVTooPM55Ic=",
|
"narHash": "sha256-wp/QgsnnKJAIMZeQgJT1bWQ/OutZ+80lHwtpYAUWDfE=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "73369f8d0864854d1acfa7f1e6217f7d6b6e3fa1",
|
"rev": "4f37689c8a219a9d756c5ff38525ad09349f422f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"ref": "nixos-unstable",
|
"ref": "nixos-21.05",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-21.05";
|
||||||
|
|
||||||
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
||||||
|
|
||||||
|
@@ -11,16 +11,16 @@ let
|
|||||||
sha256 = "sha256-FDeyGH5OPAYV7zePCfDujsj+nGd5AFnqySPStJYEY2E=";
|
sha256 = "sha256-FDeyGH5OPAYV7zePCfDujsj+nGd5AFnqySPStJYEY2E=";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
hound-nvim = pkgs.vimUtils.buildVimPlugin {
|
# hound-nvim = pkgs.vimUtils.buildVimPlugin {
|
||||||
name = "hound-nvim";
|
# name = "hound-nvim";
|
||||||
nativeBuildInputs = with pkgs; [ lua53Packages.luacheck stylua ];
|
# nativeBuildInputs = with pkgs; [ lua53Packages.luacheck ];
|
||||||
src = pkgs.fetchFromGitHub {
|
# src = pkgs.fetchFromGitHub {
|
||||||
owner = "davegallant";
|
# owner = "davegallant";
|
||||||
repo = "hound.nvim";
|
# repo = "hound.nvim";
|
||||||
rev = "e85ba4f65ece79fe6332d8a0ccc594a0d367f4ed";
|
# rev = "e85ba4f65ece79fe6332d8a0ccc594a0d367f4ed";
|
||||||
sha256 = "sha256-fxPtixVB6dVjrxpJ1oP+eA00JSiKxWuii8pMxVeuyMY=";
|
# sha256 = "sha256-fxPtixVB6dVjrxpJ1oP+eA00JSiKxWuii8pMxVeuyMY=";
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
inherit (pkgs) stdenv;
|
inherit (pkgs) stdenv;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
@@ -320,10 +320,10 @@ in
|
|||||||
plugins = with pkgs.vimPlugins; [
|
plugins = with pkgs.vimPlugins; [
|
||||||
completion-nvim
|
completion-nvim
|
||||||
git-blame-nvim
|
git-blame-nvim
|
||||||
gitlinker-nvim
|
# gitlinker-nvim # not in 21.05
|
||||||
glow-nvim
|
glow-nvim
|
||||||
gruvbox-nvim
|
gruvbox-nvim
|
||||||
hound-nvim
|
# hound-nvim
|
||||||
lualine-nvim
|
lualine-nvim
|
||||||
nvim-lspconfig
|
nvim-lspconfig
|
||||||
nvim-tree-lua
|
nvim-tree-lua
|
||||||
|
@@ -106,7 +106,7 @@ require("lspconfig").gopls.setup({})
|
|||||||
require("lspconfig").pyright.setup({})
|
require("lspconfig").pyright.setup({})
|
||||||
require("lspconfig").rls.setup({})
|
require("lspconfig").rls.setup({})
|
||||||
require("lspconfig").rnix.setup({})
|
require("lspconfig").rnix.setup({})
|
||||||
require("lspconfig").solargraph.setup({})
|
-- require("lspconfig").solargraph.setup({}) # not in 21.05
|
||||||
require("lspconfig").terraformls.setup({})
|
require("lspconfig").terraformls.setup({})
|
||||||
require("lspconfig").tflint.setup({})
|
require("lspconfig").tflint.setup({})
|
||||||
require("lspconfig").yamlls.setup({})
|
require("lspconfig").yamlls.setup({})
|
||||||
@@ -129,7 +129,7 @@ end)
|
|||||||
-- Plugins {{{1 ---------------------------------------------------------------
|
-- Plugins {{{1 ---------------------------------------------------------------
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
-- gitlinker
|
-- gitlinker
|
||||||
require("gitlinker").setup()
|
-- require("gitlinker").setup()
|
||||||
|
|
||||||
-- status line
|
-- status line
|
||||||
require("lualine").setup({
|
require("lualine").setup({
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
services.tailscale = { enable = true; };
|
services.tailscale = { enable = true; };
|
||||||
|
|
||||||
# services.xserver.videoDrivers = [ "nvidia" ];
|
services.xserver.videoDrivers = [ "nvidia" ];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user