diff --git a/hosts/laukaz/default.nix b/hosts/laukaz/default.nix index c2b3a56..eb8c30a 100644 --- a/hosts/laukaz/default.nix +++ b/hosts/laukaz/default.nix @@ -3,16 +3,13 @@ pkgs, ... }: { - imports = [ - # "${inputs.nixpkgs}/nixos/modules/installer/sd-card/sd-image-aarch64.nix" - ]; - # system = { - # # Disable zstd compression - # build.sdImage.compressImage = false; - # }; - enviroment.systemPackages = with pkgs; [ - git - ]; + ## kodi + users.extraUsers.kodi.isNormalUser = true; + services.cage.user = "kodi"; + services.cage.program = "${pkgs.kodi-wayland}/bin/kodi-standalone"; + services.cage.enable = true; + ## + security.sudo.wheelNeedsPassword = false; } diff --git a/hosts/laukaz/system.nix b/hosts/laukaz/system.nix index f5edfa3..3dc0c85 100644 --- a/hosts/laukaz/system.nix +++ b/hosts/laukaz/system.nix @@ -12,7 +12,7 @@ # Enables the generation of /boot/extlinux/extlinux.conf boot.loader.generic-extlinux-compatible.enable = true; - # networking.hostName = "nixos"; # Define your hostname. + networking.hostName = "laukaz"; # Define your hostname. # Pick only one of the below networking options. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. # networking.networkmanager.enable = true; # Easiest to use and most distros use this by default. @@ -77,7 +77,7 @@ # List services that you want to enable: # Enable the OpenSSH daemon. - # services.openssh.enable = true; + services.openssh.enable = true; # Open ports in the firewall. # networking.firewall.allowedTCPPorts = [ ... ];