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 = [
|
||||
{
|
||||
name = "nextcloud";
|
||||
ensurePermissions."DATABASE nextcloud" = "ALL PRIVILEGES";
|
||||
ensureDBOwnership = true;
|
||||
}
|
||||
];
|
||||
authentication = lib.mkForce ''
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue