cleanup, deadnix, format
This commit is contained in:
parent
6ffe2d49ee
commit
7223ca43a7
5 changed files with 29 additions and 37 deletions
11
flake.nix
11
flake.nix
|
@ -54,7 +54,6 @@
|
||||||
|
|
||||||
outputs =
|
outputs =
|
||||||
inputs@{
|
inputs@{
|
||||||
authentik-nix,
|
|
||||||
lanzaboote,
|
lanzaboote,
|
||||||
lix-module,
|
lix-module,
|
||||||
microvm,
|
microvm,
|
||||||
|
@ -79,7 +78,9 @@
|
||||||
"immich"
|
"immich"
|
||||||
];
|
];
|
||||||
|
|
||||||
microvm-builder = (nixpkgs-ver: vm-list: builtins.listToAttrs (
|
microvm-builder = (
|
||||||
|
nixpkgs-ver: vm-list:
|
||||||
|
builtins.listToAttrs (
|
||||||
map (vm: {
|
map (vm: {
|
||||||
name = vm;
|
name = vm;
|
||||||
value = nixpkgs-ver.lib.nixosSystem {
|
value = nixpkgs-ver.lib.nixosSystem {
|
||||||
|
@ -95,8 +96,10 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}) vm-list
|
}) vm-list
|
||||||
));
|
)
|
||||||
microvms = (microvm-builder nixpkgs microvm-stable-list)
|
);
|
||||||
|
microvms =
|
||||||
|
(microvm-builder nixpkgs microvm-stable-list)
|
||||||
// (microvm-builder nixpkgs-unstable microvm-unstable-list);
|
// (microvm-builder nixpkgs-unstable microvm-unstable-list);
|
||||||
in
|
in
|
||||||
microvms
|
microvms
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ self, ... }:
|
{ ... }:
|
||||||
let
|
let
|
||||||
proxy-conf = ''
|
proxy-conf = ''
|
||||||
client_max_body_size 50M;
|
client_max_body_size 50M;
|
||||||
|
|
|
@ -65,9 +65,7 @@
|
||||||
let
|
let
|
||||||
editorconf =
|
editorconf =
|
||||||
if config.services.emacs.defaultEditor then
|
if config.services.emacs.defaultEditor then
|
||||||
{
|
{ }
|
||||||
EDITOR = "emacsclient";
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
EDITOR = "nvim";
|
EDITOR = "nvim";
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
{
|
{
|
||||||
lib,
|
|
||||||
config,
|
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
@ -14,15 +12,8 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
# integrate fzf into shell, >23.05 only
|
# integrate fzf into shell, >23.05 only
|
||||||
programs =
|
programs.fzf = {
|
||||||
with lib;
|
|
||||||
if (toInt (elemAt (splitVersion config.system.nixos.release) 0) >= 23) then
|
|
||||||
{
|
|
||||||
fzf = {
|
|
||||||
keybindings = true;
|
keybindings = true;
|
||||||
fuzzyCompletion = true;
|
fuzzyCompletion = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{ };
|
|
||||||
}
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
environment.systemPackages =
|
environment.systemPackages =
|
||||||
let
|
let
|
||||||
xwayland-satellite-git = pkgs.xwayland-satellite.overrideAttrs (
|
xwayland-satellite-git = pkgs.xwayland-satellite.overrideAttrs (
|
||||||
final: prev: {
|
final: _prev: {
|
||||||
version = "git";
|
version = "git";
|
||||||
cargoHash = "sha256-MaF2FyR3HvQAKkZKa8OO/5jbO64/Ncv7+JqHda4jN50=";
|
cargoHash = "sha256-MaF2FyR3HvQAKkZKa8OO/5jbO64/Ncv7+JqHda4jN50=";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue