mirror of
https://github.com/sstent/vmimages.git
synced 2026-02-05 20:11:44 +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, ... }: {
|
{ inputs, outputs, lib, config, pkgs, ... }: {
|
||||||
imports = [
|
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.username = "sstent";
|
||||||
home.homeDirectory = "/home/sstent";
|
home.homeDirectory = "/home/sstent";
|
||||||
home.stateVersion = "23.05";
|
home.stateVersion = "23.05";
|
||||||
|
|||||||
@@ -7,11 +7,11 @@
|
|||||||
sops = {
|
sops = {
|
||||||
defaultSopsFile = ./secrets.yaml;
|
defaultSopsFile = ./secrets.yaml;
|
||||||
age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
||||||
secrets.discogs_json = {
|
# secrets.discogs_json = {
|
||||||
mode = "0440";
|
# mode = "0440";
|
||||||
owner = config.users.users.sstent.name;
|
# owner = config.users.users.sstent.name;
|
||||||
group = config.users.users.sstent.group;
|
# group = config.users.users.sstent.group;
|
||||||
};
|
# };
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -22,11 +22,11 @@
|
|||||||
# docker-desktop.enable = true;
|
# docker-desktop.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = [
|
# environment.systemPackages = [
|
||||||
pkgs.socat
|
# pkgs.socat
|
||||||
pkgs.npiperelay
|
# pkgs.npiperelay
|
||||||
#pkgs.wsl-ssh-agent-relay
|
# #pkgs.wsl-ssh-agent-relay
|
||||||
];
|
# ];
|
||||||
|
|
||||||
# nixpkgs.config.packageOverrides = pkgs:
|
# nixpkgs.config.packageOverrides = pkgs:
|
||||||
# with pkgs; rec {
|
# with pkgs; rec {
|
||||||
|
|||||||
Reference in New Issue
Block a user