nixos-vm-2024-11-26-19-48-23
This commit is contained in:
@ -74,8 +74,22 @@
|
||||
};
|
||||
};
|
||||
|
||||
# Work around for https://github.com/NixOS/nixpkgs/issues/124215
|
||||
documentation.info.enable = false;
|
||||
sops = {
|
||||
defaultSopsFile = lib.mkDefault ../secrets.yaml;
|
||||
validateSopsFiles = true;
|
||||
age = {
|
||||
sshKeyPaths = ["/persist/etc/ssh/ssh_host_ed25519_key"];
|
||||
keyFile = "/persist/var/lib/sops-nix/key.txt";
|
||||
generateKey = true;
|
||||
};
|
||||
|
||||
secrets = {
|
||||
hashedPassword = {
|
||||
neededForUsers = true;
|
||||
sopsFile = ../secrets.yaml;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
environment = {
|
||||
# Don't install the /lib/ld-linux.so.2 stub. This saves one instance of nixpkgs.
|
||||
|
49
configs/user-baremetal.nix
Executable file
49
configs/user-baremetal.nix
Executable file
@ -0,0 +1,49 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
inputs,
|
||||
home-manager,
|
||||
...
|
||||
}: {
|
||||
fonts = {
|
||||
enableDefaultPackages = true;
|
||||
fontDir.enable = true;
|
||||
|
||||
packages = with pkgs; [
|
||||
(nerdfonts.override {fonts = ["Meslo" "RobotoMono"];})
|
||||
|
||||
corefonts
|
||||
|
||||
google-fonts
|
||||
|
||||
liberation_ttf
|
||||
|
||||
libertinus
|
||||
|
||||
gyre-fonts
|
||||
noto-fonts
|
||||
noto-fonts-cjk-sans
|
||||
noto-fonts-emoji
|
||||
noto-fonts-extra
|
||||
|
||||
open-sans
|
||||
stix-two
|
||||
twemoji-color-font
|
||||
];
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
czkawka # fslint before
|
||||
grsync
|
||||
handbrake
|
||||
keepassxc
|
||||
nextcloud-client
|
||||
pinta
|
||||
rustdesk-flutter
|
||||
simple-scan
|
||||
telegram-desktop
|
||||
discord
|
||||
kdenlive
|
||||
shotcut
|
||||
];
|
||||
}
|
@ -18,9 +18,13 @@
|
||||
packages = with pkgs; [
|
||||
(nerdfonts.override {fonts = ["Meslo" "RobotoMono"];})
|
||||
corefonts
|
||||
google-fonts
|
||||
|
||||
# google-fonts
|
||||
|
||||
liberation_ttf
|
||||
|
||||
libertinus
|
||||
|
||||
gyre-fonts
|
||||
noto-fonts
|
||||
noto-fonts-cjk-sans
|
||||
@ -53,15 +57,13 @@
|
||||
simple-scan
|
||||
|
||||
telegram-desktop
|
||||
discord
|
||||
kdenlive
|
||||
shotcut
|
||||
# discord
|
||||
# kdenlive
|
||||
# shotcut
|
||||
|
||||
vorta
|
||||
kitty
|
||||
|
||||
lan-mouse_git
|
||||
|
||||
libreoffice
|
||||
];
|
||||
persistence."/persist" = {
|
||||
|
Reference in New Issue
Block a user