Skip to content

About

NixOS Configuration for televisions. (tr_TR.UTF-8)

Resources

Code of conduct

Stars

3 stars

Watchers

0 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

Repository files navigation

NixOS for Televisions

Plasma Bigscreen included.

To deploy, copy this repo before running nixos-install:

[nixos@nixos:~]$ sudo -i
[root@nixos:/home/nixos]# cfdisk /dev/X && mkfs.fat -F 32 /dev/X1 && mkfs.ext4 -L "TV Root" /dev/X2
[root@nixos:/home/nixos]# mount /dev/X2 /mnt && mkdir /mnt/boot /mnt/boot/efi && mount /dev/X1 /mnt/boot/efi
[root@nixos:/home/nixos]# cd /mnt/etc/nixos
[root@nixos:/mnt/etc/nixos]# nixos-generate-config --root /mnt
[root@nixos:/mnt/etc/nixos]# rm -rf ./configuration.nix
[root@nixos:/mnt/etc/nixos]# REPO="https://raw.githubusercontent.com/GameFinders/NixOS-for-TV/main"
[root@nixos:/mnt/etc/nixos]# curl -fLO $REPO/configuration.nix && curl -fLO $REPO/packages.nix
[root@nixos:/mnt/etc/nixos]# nixos-install
[root@nixos:/mnt/etc/nixos]# nixos-enter
[root@nixos:/]# passwd tv-user
[root@nixos:/]# exit
[root@nixos:/mnt/etc/nixos]# systemctl reboot

How to install it

see above. enter the commands entered. X represents your /dev/sda, /dev/nvme0n1, etc.

if /dev/nvme0n1 etc., use p1 instead of 1 and p2 instead of 2.

Why WTFPL

i had no idea what license to use.

How to manage this?

NixOS provides declarative configurations with configuration.nix.

Think of Nix like a chef, configuration.nix like a recipe, and packages.nix like a sub-recipe.

The chef cooks food according to the recipe, while Nix evaluates configuration.nix and its imports.

But unlike a chef which can mistake a word in the recipe if it is written in a different font than the other word, Nix when it encounters a error will halt the rebuild immediately.

What can i use as a remote?

KDE Connect, a bluetooth stick, or as i call the most ridiculous one, a PlayStation 4 controller.

About

NixOS Configuration for televisions. (tr_TR.UTF-8)

Resources

Code of conduct

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages