Compare commits

..

No commits in common. "169c3f11bddbca0336ec7a21622d9c5d08e24a07" and "ad62e5e5e26ea7ec5c186bc6b0f39989ffa56b2d" have entirely different histories.

8 changed files with 32 additions and 27 deletions

View file

@ -16,7 +16,7 @@
isGraphical = true; isGraphical = true;
}; };
home.pointerCursor = { xsession.pointerCursor = {
name = "Bibata-Modern-Classic"; name = "Bibata-Modern-Classic";
package = pkgs.bibata-cursors; package = pkgs.bibata-cursors;
size = 28; size = 28;

View file

@ -30,6 +30,7 @@
enable = true; enable = true;
displayManager.sddm.enable = true; displayManager.sddm.enable = true;
displayManager.defaultSession = "plasma"; displayManager.defaultSession = "plasma";
desktopManager.plasma6.enable = true;
xkb = { xkb = {
variant = ""; variant = "";
layout = "us"; layout = "us";
@ -41,7 +42,6 @@
}; };
blueman.enable = true; blueman.enable = true;
fwupd.enable = true; fwupd.enable = true;
desktopManager.plasma6.enable = true;
}; };
programs.kdeconnect.enable = true; programs.kdeconnect.enable = true;

View file

@ -1,7 +1,6 @@
{ lib, pkgs, config, ... }: { lib, pkgs, config, ... }:
with lib; { with lib; {
imports = [ imports = [
./../programs/atuin.nix
./../programs/alacritty.nix ./../programs/alacritty.nix
./../programs/bat.nix ./../programs/bat.nix
./../programs/beets.nix ./../programs/beets.nix
@ -22,7 +21,6 @@ with lib; {
./../programs/mpv.nix ./../programs/mpv.nix
./../programs/syncthing.nix ./../programs/syncthing.nix
./../programs/hstr.nix ./../programs/hstr.nix
./../programs/thefuck.nix
./../../nix.nix ./../../nix.nix
./packages.nix ./packages.nix
]; ];

View file

@ -65,6 +65,7 @@ in {
inputs.nixpkgs-update.packages.x86_64-linux.nixpkgs-update inputs.nixpkgs-update.packages.x86_64-linux.nixpkgs-update
inputs.dagger.packages.x86_64-linux.dagger inputs.dagger.packages.x86_64-linux.dagger
unzip unzip
gh
nil nil
nixd nixd
unrar unrar

View file

@ -1,3 +0,0 @@
{
programs.atuin = { enable = true; };
}

View file

@ -28,7 +28,4 @@
}; };
}; };
programs.git-credential-oauth = { enable = true; }; programs.git-credential-oauth = { enable = true; };
programs.gh.enable = true;
programs.gh-dash.enable = true;
programs.lazygit.enable = true;
} }

View file

@ -1,3 +0,0 @@
{
programs.thefuck = { enable = true; };
}

View file

@ -1,6 +1,25 @@
{ pkgs, ... }: { pkgs, ... }:
let
{ omz-plugins = [
"git"
"archlinux"
"composer"
"colored-man-pages"
"extract"
"gradle"
"node"
"npm"
"rbenv"
"sudo"
"direnv"
"docker"
"docker-compose"
"golang"
"pip"
"history"
"vagrant"
];
in {
programs.zsh = { programs.zsh = {
enable = true; enable = true;
autosuggestion.enable = true; autosuggestion.enable = true;
@ -17,22 +36,18 @@
undo-git-reset-head = "git reset 'HEAD@{1}'"; undo-git-reset-head = "git reset 'HEAD@{1}'";
update-local = "bash $HOME/.dotfiles/install"; update-local = "bash $HOME/.dotfiles/install";
}; };
zplug = {
enable = true;
plugins = map (x: {
name = "plugins/${x}";
tags = [ "from:oh-my-zsh" ];
}) omz-plugins;
};
initExtra = '' initExtra = ''
eval $(${pkgs.thefuck}/bin/thefuck --alias)
[ -d ~/.npm-global ] || mkdir ~/.npm-global [ -d ~/.npm-global ] || mkdir ~/.npm-global
${pkgs.nodejs}/bin/npm config set prefix '~/.npm-global' ${pkgs.nodejs}/bin/npm config set prefix '~/.npm-global'
export PATH=~/.npm-global/bin:$PATH export PATH=~/.npm-global/bin:$PATH
''; '';
plugins = [
{
name = "zsh-nix-shell";
file = "nix-shell.plugin.zsh";
src = pkgs.fetchFromGitHub {
owner = "chisui";
repo = "zsh-nix-shell";
rev = "v0.8.0";
sha256 = "1lzrn0n4fxfcgg65v0qhnj7wnybybqzs4adz7xsrkgmcsr0ii8b7";
};
}
];
}; };
} }