update
This commit is contained in:
parent
cb85be417c
commit
74d222ea59
@ -1,7 +1,7 @@
|
|||||||
# flake.nix
|
# flake.nix
|
||||||
|
|
||||||
{
|
{
|
||||||
description = "Portable Ubuntu setup with XFCE, XRDP, and swap";
|
description = "Portable Ubuntu setup with XFCE, XRDP, Chromium, and swap";
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs";
|
nixpkgs.url = "github:NixOS/nixpkgs";
|
||||||
@ -13,12 +13,13 @@
|
|||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
pkgs = import nixpkgs { inherit system; };
|
pkgs = import nixpkgs { inherit system; };
|
||||||
in {
|
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 {
|
devShell.${system} = pkgs.mkShell {
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
pkgs.xfce
|
pkgs.xfce
|
||||||
pkgs.xfce.xfce4-terminal
|
pkgs.xfce.xfce4-terminal
|
||||||
pkgs.xrdp
|
pkgs.xrdp
|
||||||
|
pkgs.chromium # Added Chromium here
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -31,6 +32,7 @@
|
|||||||
programs.bash.enable = true;
|
programs.bash.enable = true;
|
||||||
programs.xfce.enable = true;
|
programs.xfce.enable = true;
|
||||||
services.xrdp.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.
|
# System-level configuration for creating swap, user, etc.
|
||||||
|
Loading…
Reference in New Issue
Block a user