This commit is contained in:
gabrielkheisa 2024-11-13 21:56:36 +07:00
parent cb85be417c
commit 74d222ea59

View File

@ -1,7 +1,7 @@
# flake.nix
{
description = "Portable Ubuntu setup with XFCE, XRDP, and swap";
description = "Portable Ubuntu setup with XFCE, XRDP, Chromium, and swap";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs";
@ -13,12 +13,13 @@
system = "x86_64-linux";
pkgs = import nixpkgs { inherit system; };
in {
# Define the dev shell environment with XFCE, XRDP, and utilities
# Define the dev shell environment with XFCE, XRDP, Chromium, and utilities
devShell.${system} = pkgs.mkShell {
buildInputs = [
pkgs.xfce
pkgs.xfce.xfce4-terminal
pkgs.xrdp
pkgs.chromium # Added Chromium here
];
};
@ -31,6 +32,7 @@
programs.bash.enable = true;
programs.xfce.enable = true;
services.xrdp.enable = true;
programs.chromium.enable = true; # Ensure Chromium is enabled for the user
};
# System-level configuration for creating swap, user, etc.