global/ thunar upgrade and polkit

This commit is contained in:
tulg 2025-11-10 21:50:29 +03:00
parent 14849f5d45
commit ac17d0cd7b
6 changed files with 59 additions and 5 deletions

View file

@ -9,7 +9,7 @@
}: {
imports = [
# Include the results of the hardware scan.
# ./disko.nix
./disko.nix
./hardware-configuration.nix
];
@ -130,6 +130,14 @@
};
};
};
services.gvfs.enable = true; # Mount, trash, and other functionalities
services.tumbler.enable = true; # Thumbnail support for images
programs.thunar.enable = true;
programs.xfconf.enable = true;
programs.thunar.plugins = with pkgs.xfce; [
thunar-archive-plugin
thunar-volman
];
# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ];

36
hosts/archangel/disko.nix Normal file
View file

@ -0,0 +1,36 @@
{
disko.devices = {
disk = {
nixos = {
type = "disk";
device = "/dev/nvme0n1";
content = {
type = "gpt";
partitions = {
boot = {
size = "1M";
type = "EF02"; # for grub MBR
};
ESP = {
size = "512M";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
};
root = {
size = "100%";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
};
};
};
};
};
};
};
}