This commit is contained in:
2023-02-25 12:14:41 +00:00
parent d66e0951d4
commit 4f76414d98
4 changed files with 11 additions and 26 deletions

View File

View 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";

View File

@@ -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;
}; # };
}; };
} }

View File

@@ -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 {