summaryrefslogtreecommitdiff
path: root/machines/picast
diff options
context:
space:
mode:
authorDevin Finlinson <devin.finlinson@pm.me>2026-03-14 06:16:33 -0600
committerDevin Finlinson <devin.finlinson@pm.me>2026-03-14 06:16:33 -0600
commit3de32a043ea16503d0789a90cd5f5cda7860cb96 (patch)
tree70927c688577478a4afc0a9d35c72f0cf1dec1a7 /machines/picast
parent440084f82cd907b0d235556606905b845a2d4e58 (diff)
default modules declared in flake.nix, big cleanup
Diffstat (limited to 'machines/picast')
-rw-r--r--machines/picast/default.nix31
1 files changed, 12 insertions, 19 deletions
diff --git a/machines/picast/default.nix b/machines/picast/default.nix
index 305a70d..2576769 100644
--- a/machines/picast/default.nix
+++ b/machines/picast/default.nix
@@ -8,13 +8,6 @@
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
-
- ../../modules/nixos/nix-common.nix
- ../../modules/nixos/environment.nix
- ../../modules/nixos/tailscale.nix
- ../../modules/nixos/system-packages.nix
- ../../modules/users/defin.nix
- ../../modules/users/root.nix
];
# Use the extlinux boot loader. (NixOS wants to enable GRUB by default)
@@ -30,6 +23,18 @@
# Set your time zone.
time.timeZone = "America/Denver";
+ users.extraUsers.kodi = {
+ isNormalUser = true;
+ extraGroups = [ "video" "cdrom" "audio" "render" "plugdev" "users" "dialout" "dip" "input" ];
+ };
+ services.cage = {
+ package = pkgs-old.cage;
+ enable = true;
+ user = "kodi";
+ program = "${pkgs.kodi-wayland.withPackages (kodiPkgs: with kodiPkgs;
+ [ sponsorblock sendtokodi ])}/bin/kodi-standalone";
+ };
+
# Configure network proxy if necessary
# networking.proxy.default = "http://user:password@proxy:port/";
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
@@ -45,18 +50,6 @@
# Enable the X11 windowing system.
# services.xserver.enable = true;
- users.extraUsers.kodi = {
- isNormalUser = true;
- extraGroups = [ "video" "cdrom" "audio" "render" "plugdev" "users" "dialout" "dip" "input" ];
- };
- services.cage = {
- package = pkgs-old.cage;
- enable = true;
- user = "kodi";
- program = "${pkgs.kodi-wayland.withPackages (kodiPkgs: with kodiPkgs;
- [ sponsorblock sendtokodi ])}/bin/kodi-standalone";
- };
-
# Configure keymap in X11
# services.xserver.xkb.layout = "us";
# services.xserver.xkb.options = "eurosign:e,caps:escape";