Major changes
This commit is contained in:
11
hosts/common/optional/flatpak.nix
Normal file
11
hosts/common/optional/flatpak.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
# NOTE(starter): This is just a basic enabling of the XFCE windows manager for simplicity
|
||||
{pkgs, ...}: {
|
||||
services.flatpak.enable = true;
|
||||
systemd.services.flatpak-repo = {
|
||||
wantedBy = ["multi-user.target"];
|
||||
path = [pkgs.flatpak];
|
||||
script = ''
|
||||
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||
'';
|
||||
};
|
||||
}
|
||||
7
hosts/common/optional/gdm.nix
Normal file
7
hosts/common/optional/gdm.nix
Normal file
@@ -0,0 +1,7 @@
|
||||
# NOTE(starter): This is just a basic enabling of the XFCE windows manager for simplicity
|
||||
{
|
||||
services.displayManager = {
|
||||
gdm.enable = true;
|
||||
gdm.wayland = true;
|
||||
};
|
||||
}
|
||||
29
hosts/common/optional/gnome.nix
Normal file
29
hosts/common/optional/gnome.nix
Normal file
@@ -0,0 +1,29 @@
|
||||
{pkgs, ...}: {
|
||||
services.desktopManager.gnome.enable = true;
|
||||
#environment.sessionVariables.GTK_USE_PORTAL = "1";
|
||||
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||
|
||||
environment.gnome.excludePackages = with pkgs; [
|
||||
atomix # puzzle game
|
||||
cheese # webcam tool
|
||||
epiphany # web browser
|
||||
evince # document viewer
|
||||
geary # email reader
|
||||
gedit # text editor
|
||||
gnome-characters
|
||||
gnome-shell-extensions
|
||||
gnome-music
|
||||
gnome-photos
|
||||
gnome-terminal
|
||||
gnome-tour
|
||||
hitori # sudoku game
|
||||
iagno # go game
|
||||
tali # poker game
|
||||
totem # video player
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
gnomeExtensions.appindicator
|
||||
gsettings-desktop-schemas
|
||||
];
|
||||
}
|
||||
8
hosts/common/optional/services/docker.nix
Normal file
8
hosts/common/optional/services/docker.nix
Normal file
@@ -0,0 +1,8 @@
|
||||
# Enable bluetooth
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
virtualisation.docker.enable = true;
|
||||
}
|
||||
@@ -8,6 +8,7 @@
|
||||
enable = true;
|
||||
environmentVariables = {
|
||||
OLLAMA_INTEL_GPU = "1";
|
||||
OLLAMA_ORIGINS = "moz-extension://*";
|
||||
};
|
||||
loadModels = [
|
||||
];
|
||||
|
||||
@@ -39,4 +39,19 @@ in {
|
||||
terminal = 10;
|
||||
};
|
||||
};
|
||||
|
||||
home-manager.sharedModules = [
|
||||
{
|
||||
programs.vscode = {
|
||||
extensions = pkgs.nix4vscode.forVscode [
|
||||
"huytd.tokyo-city"
|
||||
"vscode-icons-team.vscode-icons"
|
||||
];
|
||||
userSettings = {
|
||||
"workbench.colorTheme" = "Tokyo City Darker";
|
||||
"workbench.iconTheme" = "vscode-icons";
|
||||
};
|
||||
};
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user