Add var envs & paneru derivation
This commit is contained in:
Generated
+22
-1
@@ -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"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
{
|
||||
nix = {
|
||||
settings = {
|
||||
use-xdg-base-directories = true;
|
||||
experimental-features = "nix-command flakes";
|
||||
trusted-users = [
|
||||
# Needed by Devenv
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
home-manager.users.alistreaza = {
|
||||
imports = [
|
||||
(import-tree ../../../modules/home/common)
|
||||
./derivations/paneru.nix
|
||||
];
|
||||
|
||||
home = {
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
let
|
||||
pkgs = import <nixpkgs> { };
|
||||
in
|
||||
pkgs.paneru.overrideAttrs (old: {
|
||||
old.package.doCheck = false;
|
||||
})
|
||||
Vendored
+3
@@ -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";
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
Vendored
+2
-1
@@ -19,7 +19,8 @@ in
|
||||
];
|
||||
|
||||
home.sessionVariables = {
|
||||
RUSTUP_HOME = ".rustup";
|
||||
CARGO_HOME = "${config.xdg.dataHome}/cargo";
|
||||
RUSTUP_HOME = "${config.xdg.dataHome}/rustup";
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
@@ -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";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user