diff --git a/flake.nix b/flake.nix index 143e869..e201d85 100644 --- a/flake.nix +++ b/flake.nix @@ -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. diff --git a/setup.sh b/setup.sh index 86cf841..31b3a5c 100644 --- a/setup.sh +++ b/setup.sh @@ -12,7 +12,7 @@ echo "The generated password is: $PASSWORD" # Step 4: Install Nix echo "Installing Nix package manager..." -curl -L https://nixos.org/nix/install | sh +curl -L https://nixos.org/nix/install | sh -s -- --daemon . ~/.nix-profile/etc/profile.d/nix.sh # Step 5: Enable Flakes