clean up and refactor more into OS snippets; bluetooth works on x13s

This commit is contained in:
steveej 2024-01-24 00:24:04 +00:00
parent 5921ad1df0
commit ffdf25c117
27 changed files with 367 additions and 461 deletions

View file

@ -3,10 +3,7 @@
# programs.home-manager.enable = true;
# programs.home-manager.path = https://github.com/rycee/home-manager/archive/445c0b1482c38172a9f8294ee16a7ca7462388e5.tar.gz;
imports = [
../programs/zsh.nix
];
# TODO: move this to an OS snippet?
nixpkgs.config = {
allowBroken = false;
allowUnfree = true;
@ -14,15 +11,6 @@
permittedInsecurePackages = [ ];
};
nix.settings.experimental-features = [
"nix-command"
"flakes"
"impure-derivations"
"ca-derivations"
"recursive-nix"
];
nix.settings.sandbox = "relaxed";
home.keyboard = {
layout = "us";
variant = "altgr-intl";
@ -36,9 +24,7 @@
xdg.enable = true;
programs.direnv.enable = true;
services.lorri.enable = true;
home.sessionVariables.NIXPKGS_ALLOW_UNFREE = "1";
# Don't create .pyc files.
home.sessionVariables.PYTHONDONTWRITEBYTECODE = "1";
@ -48,9 +34,14 @@
home.packages =
[ ]
++ (with pkgs; [
htop
coreutils
vcsh
htop
iperf3
nethogs
# Authentication
cacert
openssl