From 942089130042ec2a2dc5ce5937cc656bb54cf234 Mon Sep 17 00:00:00 2001 From: Malte Tammena Date: Thu, 31 Aug 2023 17:34:54 +0200 Subject: [PATCH] feat(polymita-picta): deck user --- modules/deck.nix | 2 +- users/deck/home.nix | 49 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+), 1 deletion(-) create mode 100644 users/deck/home.nix diff --git a/modules/deck.nix b/modules/deck.nix index 76e308a..7affad4 100644 --- a/modules/deck.nix +++ b/modules/deck.nix @@ -34,7 +34,7 @@ in { openssh.authorizedKeys.keyFiles = [../users/malte/yubikey.pub]; }; - # home-manager.users.malte.imports = [../users/malte/home.nix inputs.nix-colors.homeManagerModule inputs.hyprland.homeManagerModules.default]; + home-manager.users.deck.imports = [../users/deck/home.nix inputs.nix-colors.homeManagerModule inputs.hyprland.homeManagerModules.default]; programs.fish.enable = true; services.flatpak.enable = true; diff --git a/users/deck/home.nix b/users/deck/home.nix new file mode 100644 index 0000000..d619041 --- /dev/null +++ b/users/deck/home.nix @@ -0,0 +1,49 @@ +{pkgs, ...}: let + lutrisWithLibs = pkgs.lutris.override { + extraLibraries = pkgs: + with pkgs; [ + xz + libstdcxx5 + # For Hotline: Miami + expat + openal + nvidia_cg_toolkit + # For Dead Cells + # Provides libXss.1 + xorg.libXScrnSaver + ]; + }; +in { + imports = []; + + config = { + home = { + packages = [lutrisWithLibs]; + + # Use some german units and formats but with the english language! + language = { + base = "en_US.UTF-8"; + address = "de_DE.UTF-8"; + measurement = "de_DE.UTF-8"; + monetary = "de_DE.UTF-8"; + name = "de_DE.UTF-8"; + paper = "de_DE.UTF-8"; + telephone = "de_DE.UTF-8"; + time = "de_DE.UTF-8"; + }; + }; + + # Make sure firefox is my default browser + programs.firefox.enable = true; + + # Configure restic backups + # services.restic = { + # enable = true; + # paths = []; + # }; + + fonts.fontconfig.enable = true; + + home.stateVersion = "18.09"; + }; +}