Add var envs & paneru derivation
This commit is contained in:
Generated
+22
-1
@@ -189,6 +189,26 @@
|
|||||||
"type": "github"
|
"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": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-parts": "flake-parts",
|
"flake-parts": "flake-parts",
|
||||||
@@ -199,7 +219,8 @@
|
|||||||
"nix-darwin": "nix-darwin",
|
"nix-darwin": "nix-darwin",
|
||||||
"nix-homebrew": "nix-homebrew",
|
"nix-homebrew": "nix-homebrew",
|
||||||
"nixpkgs": "nixpkgs",
|
"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.url = "github:nix-community/home-manager/release-25.11";
|
||||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
||||||
|
# Paneru
|
||||||
|
paneru.url = "github:karinushka/paneru";
|
||||||
|
paneru.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
||||||
# Nix Homebrew
|
# Nix Homebrew
|
||||||
nix-homebrew.url = "github:zhaofengli/nix-homebrew";
|
nix-homebrew.url = "github:zhaofengli/nix-homebrew";
|
||||||
homebrew-core = {
|
homebrew-core = {
|
||||||
@@ -32,6 +36,7 @@
|
|||||||
outputs =
|
outputs =
|
||||||
inputs@{
|
inputs@{
|
||||||
self,
|
self,
|
||||||
|
paneru,
|
||||||
nixpkgs,
|
nixpkgs,
|
||||||
nix-darwin,
|
nix-darwin,
|
||||||
flake-parts,
|
flake-parts,
|
||||||
@@ -80,6 +85,7 @@
|
|||||||
"MacBook-Air-de-Laurent" = nix-darwin.lib.darwinSystem {
|
"MacBook-Air-de-Laurent" = nix-darwin.lib.darwinSystem {
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
self = self;
|
self = self;
|
||||||
|
paneru = paneru;
|
||||||
import-tree = import-tree;
|
import-tree = import-tree;
|
||||||
home-manager = home-manager;
|
home-manager = home-manager;
|
||||||
homebrew-core = homebrew-core;
|
homebrew-core = homebrew-core;
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
{
|
{
|
||||||
nix = {
|
nix = {
|
||||||
settings = {
|
settings = {
|
||||||
|
use-xdg-base-directories = true;
|
||||||
experimental-features = "nix-command flakes";
|
experimental-features = "nix-command flakes";
|
||||||
trusted-users = [
|
trusted-users = [
|
||||||
# Needed by Devenv
|
# Needed by Devenv
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
home-manager.users.alistreaza = {
|
home-manager.users.alistreaza = {
|
||||||
imports = [
|
imports = [
|
||||||
(import-tree ../../../modules/home/common)
|
(import-tree ../../../modules/home/common)
|
||||||
|
./derivations/paneru.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
home = {
|
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 = {
|
home.sessionVariables = {
|
||||||
JAVA_HOME = "${pkgs.jdk25}";
|
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 = {
|
home.sessionVariables = {
|
||||||
RUSTUP_HOME = ".rustup";
|
CARGO_HOME = "${config.xdg.dataHome}/cargo";
|
||||||
|
RUSTUP_HOME = "${config.xdg.dataHome}/rustup";
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -13,9 +13,13 @@ in
|
|||||||
enable = true;
|
enable = true;
|
||||||
autosuggestion.enable = true;
|
autosuggestion.enable = true;
|
||||||
syntaxHighlighting.enable = true;
|
syntaxHighlighting.enable = true;
|
||||||
|
dotDir = "${config.xdg.configHome}/zsh";
|
||||||
|
history = {
|
||||||
|
path = "${config.xdg.dataHome}/zsh/history";
|
||||||
|
};
|
||||||
oh-my-zsh = {
|
oh-my-zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
theme = "af-magic";
|
theme = "dieter";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user