cleanup + reenabled nvidia
This commit is contained in:
@@ -49,11 +49,11 @@ let
|
||||
version = "23.05";
|
||||
myEmail = "CaptainJawZ@outlook.com";
|
||||
myName = "Danilo Reyes";
|
||||
home-manager = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/release-${version}.tar.gz";
|
||||
unstable = import
|
||||
(builtins.fetchTarball "https://github.com/nixos/nixpkgs/tarball/master") {
|
||||
config = config.nixpkgs.config;
|
||||
};
|
||||
home-manager = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/release-${version}.tar.gz";
|
||||
nixGaming = import
|
||||
(builtins.fetchTarball "https://github.com/fufexan/nix-gaming/archive/master.tar.gz");
|
||||
jawzManageLibrary = pkgs.writeScriptBin
|
||||
@@ -72,11 +72,11 @@ cluttered, for example, I may create a module for systemd units.
|
||||
#+begin_src nix
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
./servers.nix
|
||||
# ./servers.nix
|
||||
# ./openldap.nix
|
||||
(import "${home-manager}/nixos")
|
||||
# <agenix/modules/age.nix>
|
||||
"${nixGaming}/modules/pipewireLowLatency.nix"
|
||||
(import "${home-manager}/nixos")
|
||||
nixGaming.nixosModules.pipewireLowLatency
|
||||
];
|
||||
#+end_src
|
||||
|
||||
@@ -172,13 +172,6 @@ latency will require expanding these settings.
|
||||
#+begin_src nix
|
||||
hardware.pulseaudio.enable = false;
|
||||
sound.enable = false;
|
||||
security = {
|
||||
rtkit.enable = true;
|
||||
acme = {
|
||||
acceptTerms = true;
|
||||
defaults.email = "${myEmail}";
|
||||
};
|
||||
};
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
@@ -193,11 +186,20 @@ services.pipewire = {
|
||||
#+end_src
|
||||
|
||||
* SECURITY
|
||||
Disabled password for commodity, but this is obviously not recommended.
|
||||
Disabled password in sudo for commodity, but this is obviously not recommended,
|
||||
regarding rkit, that setting enables pipewire to run with real-time
|
||||
capabilities. And lastly, the acme settings are for signing certificates.
|
||||
#+begin_src nix
|
||||
security.sudo = {
|
||||
enable = true;
|
||||
wheelNeedsPassword = false;
|
||||
security = {
|
||||
rtkit.enable = true;
|
||||
sudo = {
|
||||
enable = true;
|
||||
wheelNeedsPassword = false;
|
||||
};
|
||||
acme = {
|
||||
acceptTerms = true;
|
||||
defaults.email = "${myEmail}";
|
||||
};
|
||||
};
|
||||
#+end_src
|
||||
|
||||
@@ -209,10 +211,6 @@ packages.
|
||||
#+begin_src nix
|
||||
nixpkgs.config = {
|
||||
allowUnfree = true;
|
||||
permittedInsecurePackages = [
|
||||
"nodejs-14.21.3"
|
||||
"openssl-1.1.1v"
|
||||
];
|
||||
};
|
||||
#+end_src
|
||||
|
||||
@@ -627,16 +625,20 @@ nixos-reload () {
|
||||
|
||||
#+begin_src nix
|
||||
programs = {
|
||||
emacs = {
|
||||
enable = true;
|
||||
};
|
||||
direnv = {
|
||||
enable = true;
|
||||
enableBashIntegration = true;
|
||||
nix-direnv.enable = true;
|
||||
};
|
||||
bat = {
|
||||
enable = true;
|
||||
config = {
|
||||
pager = "less -FR";
|
||||
theme = "base16"; };
|
||||
enable = true;
|
||||
config = {
|
||||
pager = "less -FR";
|
||||
theme = "base16";
|
||||
};
|
||||
};
|
||||
git = {
|
||||
enable = true;
|
||||
|
||||
Reference in New Issue
Block a user