Compare commits

...

6 commits

Author SHA1 Message Date
e34475b4b1 added android app adb 2023-12-17 21:42:07 -08:00
2ca63373e5 Revert "flake.lock: Update"
This reverts commit 4379937a82.
2023-12-17 21:33:19 -08:00
1d8e42ef1c added note to pre-removed line 2023-12-17 20:38:53 -08:00
fc03c3ed07 removed un-used line 2023-12-17 20:09:28 -08:00
b88ef49981 fixed depreciation warning 2023-12-17 19:24:49 -08:00
4379937a82 flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/defbb9c5857e157703e8fc7cf3c2ceb01cb95883' (2023-12-10)
  → 'github:nix-community/home-manager/e4dba0bd01956170667458be7b45f68170a63651' (2023-12-17)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/666fc80e7b2afb570462423cb0e1cf1a3a34fedd' (2023-12-09)
  → 'github:nixos/nixpkgs/a9bf124c46ef298113270b1f84a164865987a91c' (2023-12-11)
• Updated input 'nixpkgs-stable':
    'github:NixOS/nixpkgs/fecdbce27a28ca6a434b6065e2a54dd87d1e44b8' (2023-12-11)
  → 'github:NixOS/nixpkgs/5b2d53eb50e86a84dd47abfa6c0e0de9c37c43b1' (2023-12-18)
• Updated input 'nixvim':
    'github:nix-community/nixvim/c9149122a8930b370678bf59b7b3226a2a6ee76a' (2023-12-11)
  → 'github:nix-community/nixvim/b3fb1c4c8189bc873911da3f31d18082a0721fa9' (2023-12-15)
• Updated input 'nixvim/nixpkgs':
    'github:NixOS/nixpkgs/91050ea1e57e50388fa87a3302ba12d188ef723a' (2023-12-01)
  → 'github:NixOS/nixpkgs/a9bf124c46ef298113270b1f84a164865987a91c' (2023-12-11)
• Updated input 'nixvim/pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/e5ee5c5f3844550c01d2131096c7271cec5e9b78' (2023-11-25)
  → 'github:cachix/pre-commit-hooks.nix/007a45d064c1c32d04e1b8a0de5ef00984c419bc' (2023-12-13)
2023-12-17 19:17:54 -08:00
4 changed files with 16 additions and 5 deletions

View file

@ -59,7 +59,7 @@
ensureUsers = [
{
name = "nextcloud";
ensurePermissions."DATABASE nextcloud" = "ALL PRIVILEGES";
ensureDBOwnership = true;
}
];
authentication = lib.mkForce ''

View file

@ -18,6 +18,10 @@
enableKwallet = true;
};
services.udev.packages = [
pkgs.android-udev-rules
];
# Some programs look for session variables to store config files at
# (Looking at you home-manager yazi)
environment.sessionVariables = rec {
@ -59,7 +63,7 @@
boot.loader.systemd-boot.configurationLimit = 5;
nix.settings.auto-optimise-store = true;
nixpkgs.config.allowUnfree = true;
nixpkgs.config.allowUnfree = true; # required for discord
nix.gc = {
automatic = true;
options = "--delete-generations 8d";

View file

@ -1,4 +1,4 @@
{ config, ... }:
{ config, user, ... }:
{
@ -7,6 +7,9 @@
./hardware-configuration.nix
];
programs.adb.enable = true;
users.users.${user}.extraGroups = [ "adbusers" ];
networking = {
firewall = {
checkReversePath = "loose";

View file

@ -1,10 +1,14 @@
{ config, ... }:
{ config, user, ... }:
{ imports = [
{
imports = [
(import ./../../modules/xrdp.nix)
./hardware-configuration.nix
];
programs.adb.enable = true;
users.users.${user}.extraGroups = [ "adbusers" ];
hardware.bluetooth.enable = true;
networking.hosts = {