Add var envs & paneru derivation

This commit is contained in:
2026-02-15 14:28:42 +01:00
parent 51e0a62c03
commit 50e8057907
8 changed files with 46 additions and 3 deletions
Generated
+22 -1
View File
@@ -189,6 +189,26 @@
"type": "github"
}
},
"paneru": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1770939321,
"narHash": "sha256-OVF0sxT7mgZroAhOjK3QZqtnzOFcxN3wnxgghSYGgNw=",
"owner": "karinushka",
"repo": "paneru",
"rev": "c0537d166144f0776eb1bf0539942bda218716d5",
"type": "github"
},
"original": {
"owner": "karinushka",
"repo": "paneru",
"type": "github"
}
},
"root": {
"inputs": {
"flake-parts": "flake-parts",
@@ -199,7 +219,8 @@
"nix-darwin": "nix-darwin",
"nix-homebrew": "nix-homebrew",
"nixpkgs": "nixpkgs",
"nixpkgs-unstable": "nixpkgs-unstable"
"nixpkgs-unstable": "nixpkgs-unstable",
"paneru": "paneru"
}
}
},
+6
View File
@@ -17,6 +17,10 @@
home-manager.url = "github:nix-community/home-manager/release-25.11";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
# Paneru
paneru.url = "github:karinushka/paneru";
paneru.inputs.nixpkgs.follows = "nixpkgs";
# Nix Homebrew
nix-homebrew.url = "github:zhaofengli/nix-homebrew";
homebrew-core = {
@@ -32,6 +36,7 @@
outputs =
inputs@{
self,
paneru,
nixpkgs,
nix-darwin,
flake-parts,
@@ -80,6 +85,7 @@
"MacBook-Air-de-Laurent" = nix-darwin.lib.darwinSystem {
specialArgs = {
self = self;
paneru = paneru;
import-tree = import-tree;
home-manager = home-manager;
homebrew-core = homebrew-core;
+1
View File
@@ -2,6 +2,7 @@
{
nix = {
settings = {
use-xdg-base-directories = true;
experimental-features = "nix-command flakes";
trusted-users = [
# Needed by Devenv
+1
View File
@@ -3,6 +3,7 @@
home-manager.users.alistreaza = {
imports = [
(import-tree ../../../modules/home/common)
./derivations/paneru.nix
];
home = {
+6
View File
@@ -0,0 +1,6 @@
let
pkgs = import <nixpkgs> { };
in
pkgs.paneru.overrideAttrs (old: {
old.package.doCheck = false;
})
+3
View File
@@ -20,6 +20,9 @@ in
home.sessionVariables = {
JAVA_HOME = "${pkgs.jdk25}";
M2_HOME = "${config.xdg.dataHome}/maven";
MVN_HOME = "${config.xdg.dataHome}/maven";
MAVEN_HOME = "${config.xdg.dataHome}/maven";
};
};
+2 -1
View File
@@ -19,7 +19,8 @@ in
];
home.sessionVariables = {
RUSTUP_HOME = ".rustup";
CARGO_HOME = "${config.xdg.dataHome}/cargo";
RUSTUP_HOME = "${config.xdg.dataHome}/rustup";
};
};
+5 -1
View File
@@ -13,9 +13,13 @@ in
enable = true;
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
dotDir = "${config.xdg.configHome}/zsh";
history = {
path = "${config.xdg.dataHome}/zsh/history";
};
oh-my-zsh = {
enable = true;
theme = "af-magic";
theme = "dieter";
};
};