mirror of https://git.jolheiser.com/dotnix.git
update module and minor cleanup
parent
65c51b1416
commit
a643e424eb
|
@ -11,7 +11,6 @@
|
|||
du = "dust -b -d 1";
|
||||
ll = "ls -al";
|
||||
nix-shell = "nix-shell --run nu";
|
||||
cachix-build = "cachix watch-exec jolheiser -- nix build --rebuild --max-jobs 4";
|
||||
};
|
||||
extraConfig = with pkgs; ''
|
||||
use ${nu_scripts}/share/nu_scripts/custom-completions/bitwarden-cli/bitwarden-cli-completions.nu *
|
||||
|
|
45
flake.nix
45
flake.nix
|
@ -35,32 +35,31 @@
|
|||
...
|
||||
}@inputs:
|
||||
let
|
||||
overlays = [
|
||||
(_: prev: {
|
||||
nur = import inputs.nur {
|
||||
nurpkgs = prev;
|
||||
pkgs = prev;
|
||||
};
|
||||
jolheiser = {
|
||||
helix = inputs.helix.packages.${prev.system}.default;
|
||||
gomodinit = inputs.gomodinit.packages.${prev.system}.default;
|
||||
cfg = inputs.cfg.packages.${prev.system}.default;
|
||||
spectre = inputs.spectre.packages.${prev.system}.default;
|
||||
pokego = inputs.pokego.packages.${prev.system}.default;
|
||||
};
|
||||
tclip = inputs.tclip.packages.${prev.system}.tclip;
|
||||
ghostty = inputs.ghostty.packages.${prev.system}.ghostty;
|
||||
})
|
||||
];
|
||||
overlay = _: prev: {
|
||||
nur = import inputs.nur {
|
||||
nurpkgs = prev;
|
||||
pkgs = prev;
|
||||
};
|
||||
jolheiser = {
|
||||
helix = inputs.helix.packages.${prev.system}.default;
|
||||
gomodinit = inputs.gomodinit.packages.${prev.system}.default;
|
||||
cfg = inputs.cfg.packages.${prev.system}.default;
|
||||
spectre = inputs.spectre.packages.${prev.system}.default;
|
||||
pokego = inputs.pokego.packages.${prev.system}.default;
|
||||
};
|
||||
tclip = inputs.tclip.packages.${prev.system}.tclip;
|
||||
ghostty = inputs.ghostty.packages.${prev.system}.ghostty;
|
||||
};
|
||||
pkgs = import inputs.nixpkgs {
|
||||
inherit overlays system;
|
||||
inherit system;
|
||||
overlays = [ overlay ];
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
commonConfig =
|
||||
{ config, ... }:
|
||||
{
|
||||
config = {
|
||||
nixpkgs.overlays = overlays;
|
||||
nixpkgs.overlays = [ overlay ];
|
||||
};
|
||||
};
|
||||
username = "jolheiser";
|
||||
|
@ -101,6 +100,8 @@
|
|||
in
|
||||
{
|
||||
inherit homeManagerModules;
|
||||
overlays.jolheiser = overlay;
|
||||
overlays.default = overlay;
|
||||
homeConfigurations = {
|
||||
"jolheiser" = home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
|
@ -124,12 +125,6 @@
|
|||
];
|
||||
};
|
||||
};
|
||||
nixConfig = {
|
||||
extra-substitutors = [ "https://jolheiser.cachix.org" ];
|
||||
extra-trusted-public-keys = [
|
||||
"jolheiser.cachix.org-1:fiKkfTuHFqDK5ZOVxcqb4InUkKsrTvtMLISid7XvuVg="
|
||||
];
|
||||
};
|
||||
devShells.${system}.default = pkgs.mkShell {
|
||||
nativeBuildInputs = [
|
||||
agenix.packages.${system}.agenix
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
{
|
||||
imports = [ ../nogui ];
|
||||
|
||||
hardware.pulseaudio.enable = false;
|
||||
security = {
|
||||
rtkit.enable = true;
|
||||
};
|
||||
|
@ -12,6 +11,7 @@
|
|||
pulse.enable = true;
|
||||
alsa.enable = true;
|
||||
};
|
||||
pulseaudio.enable = false;
|
||||
xserver = {
|
||||
enable = true;
|
||||
displayManager.lightdm.enable = true;
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
gc = {
|
||||
automatic = true;
|
||||
randomizedDelaySec = "15m";
|
||||
options = [ "--delete-older-than 14d" ];
|
||||
options = "--delete-older-than 14d";
|
||||
};
|
||||
optimise.automatic = true;
|
||||
package = pkgs.nixVersions.stable;
|
||||
|
|
Loading…
Reference in New Issue