Merge remote-tracking branch 'refs/remotes/origin/main'
This commit is contained in:
commit
820246cccb
@ -37,11 +37,11 @@ configurations.
|
|||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
let
|
let
|
||||||
version = "23.11";
|
version = "23.11";
|
||||||
|
cpuArch = "x86_64-linux";
|
||||||
myEmail = "CaptainJawZ@outlook.com";
|
myEmail = "CaptainJawZ@outlook.com";
|
||||||
myName = "Danilo Reyes";
|
myName = "Danilo Reyes";
|
||||||
cpuArchitecture = "znver3";
|
cpuArchitecture = "znver3";
|
||||||
home-manager = builtins.fetchTarball
|
home-manager = builtins.fetchTarball
|
||||||
# "https://github.com/nix-community/home-manager/archive/master.tar.gz";
|
|
||||||
"https://github.com/nix-community/home-manager/archive/release-${version}.tar.gz";
|
"https://github.com/nix-community/home-manager/archive/release-${version}.tar.gz";
|
||||||
unstable = import
|
unstable = import
|
||||||
(builtins.fetchTarball
|
(builtins.fetchTarball
|
||||||
@ -322,11 +322,10 @@ architecture and other build flags.
|
|||||||
|
|
||||||
#+begin_src nix
|
#+begin_src nix
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
hostPlatform = lib.mkDefault "x86_64-linux";
|
hostPlatform = lib.mkDefault cpuArch;
|
||||||
config = {
|
config = {
|
||||||
allowUnfree = true;
|
allowUnfree = true;
|
||||||
permittedInsecurePackages = [
|
permittedInsecurePackages = [ ];
|
||||||
];
|
|
||||||
};
|
};
|
||||||
# localSystem = {
|
# localSystem = {
|
||||||
# gcc.arch = cpuArchitecture;
|
# gcc.arch = cpuArchitecture;
|
||||||
@ -367,7 +366,7 @@ users = {
|
|||||||
openssh = {
|
openssh = {
|
||||||
authorizedKeys.keys = [
|
authorizedKeys.keys = [
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB5GaQM4N+yGAByibOFQOBVMV/6TjOfaGIP+NunMiK76 gpodeacero\cdreyes@100CDREYES"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB5GaQM4N+yGAByibOFQOBVMV/6TjOfaGIP+NunMiK76 gpodeacero\cdreyes@100CDREYES"
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIParbc033V2/yPsuhBQ8NPbnsEI/Ec0N4Lk6RJubTFfZ jawz@workstation"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIParbc033V2/yPsuhBQ8NPbnsEI/Ec0N4Lk6RJubTFfZ jawz@workstation"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
#+end_src
|
#+end_src
|
||||||
@ -528,8 +527,8 @@ mousai # poor man shazam
|
|||||||
tagger # tag music files
|
tagger # tag music files
|
||||||
obs-studio # screen recorder & streamer
|
obs-studio # screen recorder & streamer
|
||||||
# shortwave # listen to world radio
|
# shortwave # listen to world radio
|
||||||
# nextcloud-client # self-hosted google-drive alternative
|
nextcloud-client # self-hosted google-drive alternative
|
||||||
megasync # well, nextcloud is gone for now...
|
fragments
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** WEB
|
*** WEB
|
||||||
@ -929,7 +928,7 @@ environment = {
|
|||||||
};
|
};
|
||||||
systemPackages = with pkgs; [
|
systemPackages = with pkgs; [
|
||||||
# virt-manager
|
# virt-manager
|
||||||
podman-compose
|
docker-compose
|
||||||
wget
|
wget
|
||||||
gwe
|
gwe
|
||||||
];
|
];
|
||||||
@ -1054,6 +1053,7 @@ services = {
|
|||||||
startWhenNeeded = true;
|
startWhenNeeded = true;
|
||||||
settings = {
|
settings = {
|
||||||
PasswordAuthentication = false;
|
PasswordAuthentication = false;
|
||||||
|
PermitRootLogin = "prohibit-password";
|
||||||
KbdInteractiveAuthentication = false;
|
KbdInteractiveAuthentication = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -1174,11 +1174,11 @@ On this section, you can also add virtual machines settings.
|
|||||||
programs.dconf.enable = true; # virt-manager requires dconf to remember settings
|
programs.dconf.enable = true; # virt-manager requires dconf to remember settings
|
||||||
virtualisation = {
|
virtualisation = {
|
||||||
libvirtd.enable = false;
|
libvirtd.enable = false;
|
||||||
podman = {
|
docker = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableNvidia = true;
|
enableNvidia = true;
|
||||||
dockerCompat = true;
|
# dockerCompat = true;
|
||||||
defaultNetwork.settings.dns_enabled = true;
|
# defaultNetwork.settings.dns_enabled = true;
|
||||||
autoPrune = {
|
autoPrune = {
|
||||||
enable = true;
|
enable = true;
|
||||||
flags = [ "--all" ];
|
flags = [ "--all" ];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user