Compare commits
No commits in common. "87f08c462a0e653f9a754fcd1f84582da1bf11c3" and "ec32be92c7a6e7ab4aba7474622ff8ac840018ab" have entirely different histories.
87f08c462a
...
ec32be92c7
6 changed files with 159 additions and 197 deletions
|
|
@ -27,7 +27,6 @@ in
|
|||
sandbox = "relaxed";
|
||||
};
|
||||
};
|
||||
services.angrr.timer.enable = true;
|
||||
|
||||
# List packages installed in system profile. To search by name, run:
|
||||
# $ nix-env -qaP | grep wget
|
||||
|
|
|
|||
|
|
@ -109,7 +109,6 @@
|
|||
# Optionally use extraSpecialArgs
|
||||
# to pass through arguments to home.nix
|
||||
extraSpecialArgs = {
|
||||
# XXX: can we use the inputInjection pattern here as well instead?
|
||||
inherit inputs;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,19 +1,17 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
inputs,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
|
||||
with pkgs;
|
||||
let
|
||||
cfg = config.schmittlauch.packages;
|
||||
unstable = inputs.nixos-unstable.legacyPackages.${pkgs.stdenv.hostPlatform.system};
|
||||
nur = inputs.nur.legacyPackages.${pkgs.stdenv.hostPlatform.system};
|
||||
unstable = inputs.nixos-unstable.legacyPackages.${stdenv.hostPlatform.system};
|
||||
nur = inputs.nur.legacyPackages.${stdenv.hostPlatform.system};
|
||||
|
||||
graphicsApps =
|
||||
with pkgs;
|
||||
[
|
||||
graphicsApps = [
|
||||
inkscape
|
||||
exiftool
|
||||
]
|
||||
|
|
@ -32,9 +30,7 @@ let
|
|||
gimp2
|
||||
];
|
||||
|
||||
multimediaApps =
|
||||
with pkgs;
|
||||
[
|
||||
multimediaApps = [
|
||||
mpv
|
||||
]
|
||||
++ lib.optionals pkgs.stdenv.isDarwin [ vlc-bin ]
|
||||
|
|
@ -48,9 +44,7 @@ let
|
|||
#nur.repos.fooker.studio-link
|
||||
];
|
||||
|
||||
cliApps =
|
||||
with pkgs;
|
||||
[
|
||||
cliApps = [
|
||||
coreutils
|
||||
myVim
|
||||
htop
|
||||
|
|
@ -84,8 +78,6 @@ let
|
|||
spacer
|
||||
|
||||
nix-output-monitor # putting this here as a plain `nix` alternative
|
||||
|
||||
fc-scripts # this might turn out to be useful even in non-work environments?
|
||||
]
|
||||
++ lib.optionals pkgs.stdenv.isLinux [
|
||||
xclip
|
||||
|
|
@ -96,15 +88,13 @@ let
|
|||
reptyr # re-bind running program to other tty
|
||||
];
|
||||
|
||||
nixHelpers = with pkgs; [
|
||||
nixHelpers = [
|
||||
nixpkgs-review
|
||||
nixfmt
|
||||
nix-top
|
||||
statix
|
||||
];
|
||||
devTools =
|
||||
with pkgs;
|
||||
[
|
||||
devTools = [
|
||||
curl
|
||||
httpie
|
||||
gcc
|
||||
|
|
@ -127,7 +117,7 @@ let
|
|||
zeal
|
||||
];
|
||||
|
||||
pythonTools = with pkgs.python3Packages; [
|
||||
pythonTools = with python3Packages; [
|
||||
python # to shadow old macOS python
|
||||
ipython
|
||||
uv
|
||||
|
|
@ -141,16 +131,16 @@ let
|
|||
mypy
|
||||
];
|
||||
|
||||
games = with pkgs; [
|
||||
games = [
|
||||
superTuxKart
|
||||
#hedgewars
|
||||
];
|
||||
|
||||
desktopCommon = with pkgs; [
|
||||
desktopCommon = [
|
||||
keepassxc
|
||||
];
|
||||
|
||||
desktopLinux = with pkgs; [
|
||||
desktopLinux = [
|
||||
firefox
|
||||
chromium
|
||||
kdePackages.falkon
|
||||
|
|
@ -197,9 +187,7 @@ let
|
|||
chromedriver
|
||||
];
|
||||
|
||||
kdeTools =
|
||||
with pkgs;
|
||||
[
|
||||
kdeTools = [
|
||||
okteta
|
||||
]
|
||||
++ (with kdePackages; [
|
||||
|
|
@ -260,7 +248,7 @@ in
|
|||
++ (lib.optional cfg.kde kdeTools)
|
||||
);
|
||||
|
||||
nixpkgs.overlays = lib.attrValues inputs.self.overlays;
|
||||
nixpkgs.overlays = import ../overlays.nix;
|
||||
nixpkgs.config = {
|
||||
|
||||
permittedInsecurePackages = [
|
||||
|
|
|
|||
31
home/overlays.nix
Normal file
31
home/overlays.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
[
|
||||
(self: super: {
|
||||
myVim = super.neovim.override {
|
||||
configure = {
|
||||
packages.myVimPackage = with self.pkgs.vimPlugins; {
|
||||
# loaded on start
|
||||
start = [
|
||||
ale
|
||||
base16-vim
|
||||
LanguageClient-neovim
|
||||
ctrlp
|
||||
direnv-vim
|
||||
fugitive
|
||||
haskell-vim
|
||||
jedi-vim
|
||||
nerdtree
|
||||
nerdtree-git-plugin
|
||||
supertab
|
||||
vim-dirdiff
|
||||
vim-pandoc
|
||||
vim-pandoc-syntax
|
||||
vim-nix
|
||||
vim-jinja
|
||||
which-key-nvim
|
||||
];
|
||||
};
|
||||
customRC = builtins.readFile ./vimrc;
|
||||
};
|
||||
};
|
||||
})
|
||||
]
|
||||
|
|
@ -5,32 +5,4 @@ final: prev: {
|
|||
spsdk = python-prev.spsdk.overridePythonAttrs { doCheck = false; };
|
||||
};
|
||||
};
|
||||
fc-scripts = final.callPackage ./fc-scripts.nix { };
|
||||
myVim = prev.neovim.override {
|
||||
configure = {
|
||||
packages.myVimPackage = with final.pkgs.vimPlugins; {
|
||||
# loaded on start
|
||||
start = [
|
||||
ale
|
||||
base16-vim
|
||||
LanguageClient-neovim
|
||||
ctrlp
|
||||
direnv-vim
|
||||
fugitive
|
||||
haskell-vim
|
||||
jedi-vim
|
||||
nerdtree
|
||||
nerdtree-git-plugin
|
||||
supertab
|
||||
vim-dirdiff
|
||||
vim-pandoc
|
||||
vim-pandoc-syntax
|
||||
vim-nix
|
||||
vim-jinja
|
||||
which-key-nvim
|
||||
];
|
||||
};
|
||||
customRC = builtins.readFile ../home/vimrc;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,27 +0,0 @@
|
|||
{
|
||||
fetchFromGitHub,
|
||||
runCommand,
|
||||
python3,
|
||||
stdenvNoCC,
|
||||
}:
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "fc-scripts";
|
||||
version = "20260202";
|
||||
src = fetchFromGitHub {
|
||||
owner = "flyingcircusio";
|
||||
repo = "scripts";
|
||||
rev = "887f066006829fc3ee44b3cfbe748c578ea2e7c1";
|
||||
hash = "sha256-mrL/dULb0NKw8cH9ferzfDdRjhWANrWQg/u7FNCtzWw=";
|
||||
};
|
||||
|
||||
buildInputs = [ python3 ];
|
||||
dontBuild = true;
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/bin
|
||||
cp *.py $out/bin/
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue