mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-06-07 13:29:22 +02:00
Add Inugamei system
This commit is contained in:
parent
0b9d285600
commit
34823e2397
3 changed files with 58 additions and 0 deletions
12
modules/auto-update/default.nix
Normal file
12
modules/auto-update/default.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
system.autoUpgrade = {
|
||||
enable = true;
|
||||
randomizedDelaySec = "30min";
|
||||
flake = "git+https://codeberg.org/jopejoe1/nix-conf";
|
||||
dates = "hourly";
|
||||
};
|
||||
}
|
||||
|
||||
|
29
modules/kodi/default.nix
Normal file
29
modules/kodi/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
services = {
|
||||
xserver = {
|
||||
enable = true;
|
||||
|
||||
libinput.enable = true;
|
||||
desktopManager.kodi = {
|
||||
enable = true;
|
||||
package = pkgs.kodi-wayland.withPackages (p: with p; [ trakt netflix youtube vfs-sftp ]);
|
||||
};
|
||||
|
||||
displayManager.autoLogin = {
|
||||
enable = true;
|
||||
user = "kodi";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
networking.firewall = {
|
||||
allowedTCPPorts = [ 8080 ];
|
||||
allowedUDPPorts = [ 8080 ];
|
||||
};
|
||||
|
||||
users.extraUsers.kodi.isNormalUser = true;
|
||||
}
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue