Switch to unstable

This commit is contained in:
Paul-Henri Froidmont 2024-10-13 22:52:21 +02:00
parent d23beebddf
commit 683972662b
Signed by: phfroidmont
GPG key ID: BE948AFD7E7873BE
16 changed files with 93 additions and 117 deletions

View file

@ -38,7 +38,7 @@ in
};
theme = ./theme.rasi;
};
home.packages = with pkgs.unstable; [
home.packages = with pkgs; [
paper-icon-theme
rofi-power-menu
];

View file

@ -23,7 +23,7 @@ in
config = lib.mkIf config.modules.desktop.wm.enable {
fonts = {
packages = with pkgs.unstable; [
packages = with pkgs; [
corefonts # Microsoft free fonts
noto-fonts-emoji
meslo-lg
@ -151,7 +151,7 @@ in
sessionVariables.EDITOR = "vim";
packages =
(with pkgs.unstable; [
(with pkgs; [
brave
ungoogled-chromium
mullvad-browser

View file

@ -17,7 +17,7 @@ in
programs.yazi = {
enable = true;
package = pkgs.unstable.yazi;
package = pkgs.yazi;
enableZshIntegration = true;
settings = {
manager = {
@ -73,7 +73,7 @@ in
};
home = {
packages = with pkgs.unstable; [
packages = with pkgs; [
ffmpegthumbnailer
unar
poppler

View file

@ -37,7 +37,7 @@ in
};
};
};
home.packages = with pkgs.unstable; [ grim ];
home.packages = [ pkgs.grim ];
};
};

View file

@ -28,7 +28,7 @@ in
"ctrl+shift+semicolon" = "scroll_to_prompt 1";
"ctrl+shift+t" = "new_tab_with_cwd";
};
theme = "Gruvbox Dark";
themeFile = "gruvbox-dark";
};
};
};

View file

@ -39,11 +39,11 @@ in
gtk = {
enable = true;
cursorTheme = {
package = pkgs.unstable.paper-icon-theme;
package = pkgs.paper-icon-theme;
name = "Paper";
};
theme = {
package = pkgs.unstable.adw-gtk3;
package = pkgs.adw-gtk3;
name = "adw-gtk3";
};
iconTheme = {
@ -63,7 +63,7 @@ in
home = {
pointerCursor = {
package = pkgs.unstable.paper-icon-theme;
package = pkgs.paper-icon-theme;
name = "Paper";
size = 24;
gtk.enable = true;

View file

@ -28,7 +28,7 @@ in
platformTheme.name = "gtk";
style = {
name = "adwaita-dark";
package = pkgs.unstable.adwaita-qt;
package = pkgs.adwaita-qt;
};
};
};

View file

@ -116,7 +116,6 @@ in
wayland.windowManager.hyprland = {
enable = true;
# package = pkgs.unstable.hyprland;
systemd.enable = true;
xwayland.enable = true;
settings = {
@ -417,7 +416,7 @@ in
};
home = {
packages = with pkgs.unstable; [
packages = with pkgs; [
wlr-randr
wl-clipboard
wdisplays
@ -486,7 +485,7 @@ in
];
};
hardware.opengl.enable = true;
hardware.graphics.enable = true;
security.pam.services.swaylock = { };

View file

@ -21,61 +21,61 @@ in
home = {
packages = [
pkgs.unstable.binutils
pkgs.unstable.ripgrep
pkgs.unstable.fd
pkgs.unstable.findutils.locate
pkgs.unstable.python311
pkgs.unstable.libsecret
pkgs.unstable.gcc
pkgs.unstable.gnumake
pkgs.unstable.cmake
pkgs.unstable.nodejs
pkgs.binutils
pkgs.ripgrep
pkgs.fd
pkgs.findutils.locate
pkgs.python311
pkgs.libsecret
pkgs.gcc
pkgs.gnumake
pkgs.cmake
pkgs.nodejs
pkgs.unstable.opentofu
pkgs.unstable.pandoc
pkgs.opentofu
pkgs.pandoc
# Formatters and linters
pkgs.unstable.nixfmt-rfc-style # nix formatter
pkgs.unstable.nixpkgs-fmt
pkgs.unstable.shfmt # sh formatter
pkgs.unstable.shellcheck # sh linter
pkgs.unstable.html-tidy # HTML formatter
pkgs.unstable.nodePackages.stylelint # CSS linter
pkgs.unstable.nodePackages.js-beautify # JS/CSS/HTML formatter
pkgs.nixfmt-rfc-style # nix formatter
pkgs.nixpkgs-fmt
pkgs.shfmt # sh formatter
pkgs.shellcheck # sh linter
pkgs.html-tidy # HTML formatter
pkgs.nodePackages.stylelint # CSS linter
pkgs.nodePackages.js-beautify # JS/CSS/HTML formatter
# LSPs
pkgs.unstable.coursier
pkgs.coursier
# metals # Scala
# Nix
pkgs.unstable.nil
pkgs.nil
pkgs.phpactor # PHP
#OCaml
pkgs.unstable.ocaml
pkgs.unstable.dune_3
pkgs.unstable.ocamlPackages.ocaml-lsp
pkgs.unstable.ocamlPackages.ocamlformat
pkgs.unstable.ocamlPackages.utop
pkgs.unstable.ocamlPackages.ocp-indent
pkgs.unstable.ocamlPackages.merlin
pkgs.ocaml
pkgs.dune_3
pkgs.ocamlPackages.ocaml-lsp
pkgs.ocamlPackages.ocamlformat
pkgs.ocamlPackages.utop
pkgs.ocamlPackages.ocp-indent
pkgs.ocamlPackages.merlin
# Used by org-roam
pkgs.unstable.sqlite
pkgs.unstable.graphviz
pkgs.sqlite
pkgs.graphviz
# Used by elfeed-tube
pkgs.unstable.yt-dlp
pkgs.unstable.mpv
pkgs.yt-dlp
pkgs.mpv
# Used by dirvish
pkgs.unstable.imagemagick
pkgs.unstable.ffmpegthumbnailer
pkgs.unstable.mediainfo
pkgs.unstable.poppler
pkgs.unstable.gnutar
pkgs.unstable.unzip
pkgs.imagemagick
pkgs.ffmpegthumbnailer
pkgs.mediainfo
pkgs.poppler
pkgs.gnutar
pkgs.unzip
];
sessionPath = [ "${config.home-manager.users.${config.user.name}.xdg.configHome}/emacs/bin" ];
activation = {
@ -96,7 +96,7 @@ in
programs.emacs = {
enable = true;
package = pkgs.unstable.emacs29.override {
package = pkgs.emacs29.override {
withNativeCompilation = true;
withPgtk = true;
withSQLite3 = true;

View file

@ -20,12 +20,12 @@ in
programs.neovim = {
enable = true;
package = pkgs.unstable.neovim-unwrapped;
package = pkgs.neovim-unwrapped;
vimAlias = true;
vimdiffAlias = true;
withNodeJs = true;
plugins =
(with pkgs.unstable.vimPlugins; [
(with pkgs.vimPlugins; [
# base distro
LazyVim
conform-nvim
@ -141,7 +141,7 @@ in
gcc # needed for nvim-treesitter
# HTML, CSS, JSON
unstable.vscode-langservers-extracted
vscode-langservers-extracted
# Nix
nixd
@ -264,7 +264,7 @@ in
programs.nixvim = {
enable = false;
package = pkgs.unstable.neovim-unwrapped;
package = pkgs.neovim-unwrapped;
vimAlias = true;
keymaps = [
@ -328,7 +328,7 @@ in
'';
}
{
pkg = pkgs.unstable.vimPlugins.which-key-nvim;
pkg = pkgs.vimPlugins.which-key-nvim;
event = "VimEnter";
config = # lua
''
@ -404,24 +404,24 @@ in
setup("terraformls", {})
setup("marksman", {})
setup("lua_ls", {})
setup("jsonls", { cmd = { "${pkgs.unstable.vscode-langservers-extracted}/bin/vscode-json-language-server", "--stdio" } })
setup("html", { cmd = { "${pkgs.unstable.vscode-langservers-extracted}/bin/vscode-html-language-server", "--stdio" } })
setup("eslint", { cmd = { "${pkgs.unstable.vscode-langservers-extracted}/bin/vscode-eslint-language-server", "--stdio" } })
setup("dockerls", { cmd = { "${pkgs.unstable.dockerfile-language-server-nodejs}/bin/docker-langserver", "--stdio" } })
setup("jsonls", { cmd = { "${pkgs.vscode-langservers-extracted}/bin/vscode-json-language-server", "--stdio" } })
setup("html", { cmd = { "${pkgs.vscode-langservers-extracted}/bin/vscode-html-language-server", "--stdio" } })
setup("eslint", { cmd = { "${pkgs.vscode-langservers-extracted}/bin/vscode-eslint-language-server", "--stdio" } })
setup("dockerls", { cmd = { "${pkgs.dockerfile-language-server-nodejs}/bin/docker-langserver", "--stdio" } })
setup("docker_compose_language_service", {})
setup("cssls", { cmd = { "${pkgs.unstable.vscode-langservers-extracted}/bin/vscode-css-language-server", "--stdio" } })
setup("cssls", { cmd = { "${pkgs.vscode-langservers-extracted}/bin/vscode-css-language-server", "--stdio" } })
setup("bashls", {})
setup("ansiblels", { cmd = { "${pkgs.unstable.ansible-language-server}/bin/ansible-language-server", "--stdio" } })
setup("ansiblels", { cmd = { "${pkgs.ansible-language-server}/bin/ansible-language-server", "--stdio" } })
end
'';
}
{
pkg = pkgs.unstable.vimPlugins.nvim-cmp;
pkg = pkgs.vimPlugins.nvim-cmp;
event = "InsertEnter";
dependencies = [
pkgs.unstable.vimPlugins.cmp-nvim-lsp
pkgs.unstable.vimPlugins.cmp-path
pkgs.unstable.vimPlugins.cmp-buffer
pkgs.vimPlugins.cmp-nvim-lsp
pkgs.vimPlugins.cmp-path
pkgs.vimPlugins.cmp-buffer
];
opts.__raw = # lua
''
@ -452,7 +452,7 @@ in
# Disabled for now as it tries to write org grammar to its own directory in the nix store
# https://github.com/nvim-orgmode/orgmode/blob/95fb795a422f0455e03d13a3f83525f1d00793ad/lua/orgmode/utils/treesitter/install.lua#L9
# {
# pkg = pkgs.unstable.vimPlugins.orgmode;
# pkg = pkgs.vimPlugins.orgmode;
# event = "VeryLazy";
# ft = [ "org" ];
# config = /*lua*/ ''
@ -469,7 +469,7 @@ in
# name = "org-roam.nvim";
# src = inputs.vim-org-roam;
# });
# dependencies = [ pkgs.unstable.vimPlugins.orgmode ];
# dependencies = [ pkgs.vimPlugins.orgmode ];
# event = "VeryLazy";
# ft = [ "org" ];
# config = /*lua*/ ''
@ -485,7 +485,7 @@ in
};
};
home.packages = with pkgs.unstable; [
home.packages = with pkgs; [
ripgrep
fd
nodejs

View file

@ -14,7 +14,6 @@ in
};
config = lib.mkIf cfg.enable {
sound.enable = true;
security.rtkit.enable = true;
@ -24,7 +23,7 @@ in
};
home-manager.users.${config.user.name} = {
home.packages = with pkgs.unstable; [ pulsemixer ];
home.packages = [ pkgs.pulsemixer ];
};
};
}

View file

@ -17,7 +17,7 @@ in
home-manager.users.${config.user.name} = {
home = {
packages = with pkgs.unstable; [
packages = with pkgs; [
(ncmpcpp.override { visualizerSupport = true; })
mpc_cli
];