feat: switch to gnome!
This commit is contained in:
parent
07e2e8ca94
commit
018db2739d
5 changed files with 44 additions and 15 deletions
|
@ -14,6 +14,7 @@ in {
|
|||
|
||||
../programs/fish.nix
|
||||
../programs/git.nix
|
||||
../programs/rust.nix
|
||||
../programs/starship
|
||||
];
|
||||
|
||||
|
|
|
@ -5,7 +5,16 @@
|
|||
catppuccin,
|
||||
...
|
||||
}: {
|
||||
imports = [../programs];
|
||||
imports = [
|
||||
../programs/alacritty.nix
|
||||
../programs/gnome.nix
|
||||
../programs/vscode.nix
|
||||
|
||||
# the world if hyprland
|
||||
# ../programs/hyprland.nix
|
||||
# ../programs/fuzzel.nix
|
||||
# ../programs/waybar
|
||||
];
|
||||
|
||||
boot = {
|
||||
extraModulePackages = with config.boot.kernelPackages; [v4l2loopback];
|
||||
|
@ -146,8 +155,6 @@
|
|||
};
|
||||
};
|
||||
|
||||
displayManager.defaultSession = "hyprland";
|
||||
|
||||
printing.enable = true;
|
||||
|
||||
pipewire = {
|
||||
|
@ -170,11 +177,7 @@
|
|||
virtualisation.libvirtd.enable = true;
|
||||
|
||||
xdg = {
|
||||
portal = {
|
||||
enable = true;
|
||||
extraPortals = with pkgs; [xdg-desktop-portal-gtk];
|
||||
};
|
||||
|
||||
portal.enable = true;
|
||||
mime.enable = true;
|
||||
icons.enable = true;
|
||||
};
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
{lib, ...}: {
|
||||
imports = lib.pipe ./. [
|
||||
builtins.readDir
|
||||
(lib.filterAttrs (n: _: n != "default.nix"))
|
||||
(lib.mapAttrsToList (n: _: ./${n}))
|
||||
];
|
||||
}
|
28
programs/gnome.nix
Normal file
28
programs/gnome.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{pkgs, ...}: {
|
||||
services = {
|
||||
xserver.desktopManager.gnome.enable = true;
|
||||
displayManager.defaultSession = "gnome";
|
||||
};
|
||||
|
||||
environment = {
|
||||
gnome.excludePackages =
|
||||
(with pkgs; [
|
||||
gnome-tour
|
||||
])
|
||||
++ (with pkgs.gnome; [
|
||||
cheese # webcam tool
|
||||
gnome-terminal
|
||||
epiphany # web browser
|
||||
geary # email reader
|
||||
totem # video player
|
||||
tali # poker game
|
||||
iagno # go game
|
||||
hitori # sudoku game
|
||||
atomix # puzzle game
|
||||
]);
|
||||
|
||||
sessionVariables = {
|
||||
NIXOS_OZONE_WL = "1";
|
||||
};
|
||||
};
|
||||
}
|
|
@ -5,6 +5,10 @@
|
|||
}: {
|
||||
programs.hyprland.enable = true;
|
||||
|
||||
services.displayManager.defaultSession = "hyprland";
|
||||
|
||||
xdg.portal.extraPortals = with pkgs; [xdg-desktop-portal-gtk];
|
||||
|
||||
hm = {
|
||||
home.packages = with pkgs; [
|
||||
hyprpaper
|
||||
|
|
Loading…
Reference in a new issue