Rename programs folder to desktop
This commit is contained in:
17
home/desktop/browsers.nix
Normal file
17
home/desktop/browsers.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{ pkgs
|
||||
, config
|
||||
, ...
|
||||
}: {
|
||||
programs = {
|
||||
chromium = {
|
||||
enable = true;
|
||||
package = pkgs.ungoogled-chromium;
|
||||
commandLineArgs = [ "--enable-features=TouchpadOverscrollHistoryNavigation" ];
|
||||
};
|
||||
|
||||
firefox = {
|
||||
enable = true;
|
||||
profiles.panotaka = { };
|
||||
};
|
||||
};
|
||||
}
|
||||
7
home/desktop/common.nix
Normal file
7
home/desktop/common.nix
Normal file
@@ -0,0 +1,7 @@
|
||||
{ pkgs, ... }: {
|
||||
home.packages = with pkgs; [
|
||||
# Work-specific programs
|
||||
teams-for-linux
|
||||
|
||||
];
|
||||
}
|
||||
10
home/desktop/default.nix
Normal file
10
home/desktop/default.nix
Normal file
@@ -0,0 +1,10 @@
|
||||
{ config
|
||||
, pkgs
|
||||
, ...
|
||||
}: {
|
||||
imports = [
|
||||
./common.nix
|
||||
./browsers.nix
|
||||
./vscode.nix
|
||||
];
|
||||
}
|
||||
16
home/desktop/vscode.nix
Normal file
16
home/desktop/vscode.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{ config
|
||||
, pkgs
|
||||
, home-manager
|
||||
, ...
|
||||
}:
|
||||
|
||||
{
|
||||
home.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||
programs.vscode = {
|
||||
enable = true;
|
||||
package = pkgs.vscodium.fhs;
|
||||
extensions = with pkgs.vscode-extensions; [
|
||||
github.copilot
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user