structuring format

This commit is contained in:
2024-01-30 21:02:31 -06:00
parent cfc6cae4a3
commit 22add0a1b5
2 changed files with 12 additions and 13 deletions

View File

@@ -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
]; ];
@@ -1174,11 +1173,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" ];

View File

@@ -51,8 +51,8 @@
options = [ "x-systemd.automount" "noauto" ]; options = [ "x-systemd.automount" "noauto" ];
}; };
in { in {
"/mnt/pool" = mount "pool" // { }; # "/mnt/pool" = mount "pool" // { };
"/mnt/jawz" = mount "jawz" // { }; # "/mnt/jawz" = mount "jawz" // { };
"/" = { "/" = {
device = "/dev/mapper/nvme"; device = "/dev/mapper/nvme";
fsType = "btrfs"; fsType = "btrfs";