mirror of
https://github.com/sstent/vmimages.git
synced 2025-12-06 06:01:51 +00:00
sync
This commit is contained in:
0
home-manager/global/default.nix
Normal file
0
home-manager/global/default.nix
Normal file
@@ -3,24 +3,9 @@
|
||||
|
||||
{ inputs, outputs, lib, config, pkgs, ... }: {
|
||||
imports = [
|
||||
./global
|
||||
];
|
||||
|
||||
nixpkgs = {
|
||||
overlays = [
|
||||
# Add overlays your own flake exports (from overlays and pkgs dir):
|
||||
outputs.overlays.additions
|
||||
outputs.overlays.modifications
|
||||
outputs.overlays.unstable-packages
|
||||
];
|
||||
# Configure your nixpkgs instance
|
||||
config = {
|
||||
# Disable if you don't want unfree packages
|
||||
allowUnfree = true;
|
||||
# Workaround for https://github.com/nix-community/home-manager/issues/2942
|
||||
allowUnfreePredicate = (_: true);
|
||||
};
|
||||
};
|
||||
|
||||
home.username = "sstent";
|
||||
home.homeDirectory = "/home/sstent";
|
||||
home.stateVersion = "23.05";
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
sops = {
|
||||
defaultSopsFile = ./secrets.yaml;
|
||||
age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
||||
secrets.discogs_json = {
|
||||
mode = "0440";
|
||||
owner = config.users.users.sstent.name;
|
||||
group = config.users.users.sstent.group;
|
||||
};
|
||||
# secrets.discogs_json = {
|
||||
# mode = "0440";
|
||||
# owner = config.users.users.sstent.name;
|
||||
# group = config.users.users.sstent.group;
|
||||
# };
|
||||
};
|
||||
|
||||
}
|
||||
@@ -22,11 +22,11 @@
|
||||
# docker-desktop.enable = true;
|
||||
};
|
||||
|
||||
environment.systemPackages = [
|
||||
pkgs.socat
|
||||
pkgs.npiperelay
|
||||
#pkgs.wsl-ssh-agent-relay
|
||||
];
|
||||
# environment.systemPackages = [
|
||||
# pkgs.socat
|
||||
# pkgs.npiperelay
|
||||
# #pkgs.wsl-ssh-agent-relay
|
||||
# ];
|
||||
|
||||
# nixpkgs.config.packageOverrides = pkgs:
|
||||
# with pkgs; rec {
|
||||
|
||||
Reference in New Issue
Block a user