mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2024-11-24 13:45:29 -08:00
Compare commits
6 commits
3576a08217
...
e34475b4b1
Author | SHA1 | Date | |
---|---|---|---|
e34475b4b1 | |||
2ca63373e5 | |||
1d8e42ef1c | |||
fc03c3ed07 | |||
b88ef49981 | |||
4379937a82 |
4 changed files with 16 additions and 5 deletions
|
@ -59,7 +59,7 @@
|
||||||
ensureUsers = [
|
ensureUsers = [
|
||||||
{
|
{
|
||||||
name = "nextcloud";
|
name = "nextcloud";
|
||||||
ensurePermissions."DATABASE nextcloud" = "ALL PRIVILEGES";
|
ensureDBOwnership = true;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
authentication = lib.mkForce ''
|
authentication = lib.mkForce ''
|
||||||
|
|
|
@ -18,6 +18,10 @@
|
||||||
enableKwallet = true;
|
enableKwallet = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.udev.packages = [
|
||||||
|
pkgs.android-udev-rules
|
||||||
|
];
|
||||||
|
|
||||||
# Some programs look for session variables to store config files at
|
# Some programs look for session variables to store config files at
|
||||||
# (Looking at you home-manager yazi)
|
# (Looking at you home-manager yazi)
|
||||||
environment.sessionVariables = rec {
|
environment.sessionVariables = rec {
|
||||||
|
@ -59,7 +63,7 @@
|
||||||
boot.loader.systemd-boot.configurationLimit = 5;
|
boot.loader.systemd-boot.configurationLimit = 5;
|
||||||
|
|
||||||
nix.settings.auto-optimise-store = true;
|
nix.settings.auto-optimise-store = true;
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true; # required for discord
|
||||||
nix.gc = {
|
nix.gc = {
|
||||||
automatic = true;
|
automatic = true;
|
||||||
options = "--delete-generations 8d";
|
options = "--delete-generations 8d";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, ... }:
|
{ config, user, ... }:
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -7,6 +7,9 @@
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
programs.adb.enable = true;
|
||||||
|
users.users.${user}.extraGroups = [ "adbusers" ];
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
firewall = {
|
firewall = {
|
||||||
checkReversePath = "loose";
|
checkReversePath = "loose";
|
||||||
|
|
|
@ -1,10 +1,14 @@
|
||||||
{ config, ... }:
|
{ config, user, ... }:
|
||||||
|
|
||||||
{ imports = [
|
{
|
||||||
|
imports = [
|
||||||
(import ./../../modules/xrdp.nix)
|
(import ./../../modules/xrdp.nix)
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
programs.adb.enable = true;
|
||||||
|
users.users.${user}.extraGroups = [ "adbusers" ];
|
||||||
|
|
||||||
hardware.bluetooth.enable = true;
|
hardware.bluetooth.enable = true;
|
||||||
|
|
||||||
networking.hosts = {
|
networking.hosts = {
|
||||||
|
|
Loading…
Reference in a new issue