overlays: remove custom sudo

This commit is contained in:
nyanloutre 2020-04-16 09:14:37 +02:00
parent 1cbf246394
commit 7f4611feef
3 changed files with 19 additions and 34 deletions

View File

@ -1,22 +0,0 @@
self: super:
{
neovim = super.neovim.override {
viAlias = true;
vimAlias = true;
configure = {
customRC = ''
set shiftwidth=2
set softtabstop=2
set expandtab
set background=dark
'';
packages.myVimPackage = with super.vimPlugins; {
start = [
vim-startify airline sensible
polyglot ale fugitive
];
opt = [ ];
};
};
};
}

View File

@ -1,6 +0,0 @@
self: super:
{
sudo = super.sudo.override {
withInsults = true;
};
}

View File

@ -4,14 +4,27 @@
time.timeZone = "Europe/Paris"; time.timeZone = "Europe/Paris";
nixpkgs.overlays = [
(import ../overlays/sudo.nix)
(import ../overlays/neovim.nix)
];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
# Editeurs # Editeurs
neovim (neovim.override {
viAlias = true;
vimAlias = true;
configure = {
customRC = ''
set shiftwidth=2
set softtabstop=2
set expandtab
set background=dark
'';
packages.myVimPackage = with pkgs.vimPlugins; {
start = [
vim-startify airline sensible
polyglot ale fugitive
];
opt = [ ];
};
};
})
# Gestionnaires de version # Gestionnaires de version
gitFull gitFull