[generic] prettified code

This commit is contained in:
Simon Cornet 2024-04-03 23:26:46 +02:00
parent b8a1c357b5
commit 6f59763642
12 changed files with 22 additions and 23 deletions

View File

@ -95,7 +95,7 @@
# window
window = {
opacity = 0.75;
class = {
class = {
general = "Alacritty";
instance = "Alacritty";
};

View File

@ -3,10 +3,10 @@
# git
programs.git = {
enable = true;
userName = "Simon Cornet";
enable = true;
userName = "Simon Cornet";
userEmail = "simon@simoncor.net";
aliases = {
aliases = {
# commit + message
cam = "commit -am";

View File

@ -3,7 +3,7 @@
# ssh
programs.ssh = {
enable = true;
enable = true;
matchBlocks = {
# general

View File

@ -23,7 +23,7 @@
# theme
theme = {
name = "Catppuccin-Macchiato-Standard-Sky-Dark";
name = "Catppuccin-Macchiato-Standard-Sky-Dark";
package = pkgs.catppuccin-gtk.override {
accents = [ "sky" ];
size = "standard";
@ -41,8 +41,8 @@
# xdg settings
xdg.configFile = {
"gtk-4.0/assets".source = "${config.gtk.theme.package}/share/themes/${config.gtk.theme.name}/gtk-4.0/assets";
"gtk-4.0/gtk.css".source = "${config.gtk.theme.package}/share/themes/${config.gtk.theme.name}/gtk-4.0/gtk.css";
"gtk-4.0/assets".source = "${config.gtk.theme.package}/share/themes/${config.gtk.theme.name}/gtk-4.0/assets";
"gtk-4.0/gtk.css".source = "${config.gtk.theme.package}/share/themes/${config.gtk.theme.name}/gtk-4.0/gtk.css";
"gtk-4.0/gtk-dark.css".source = "${config.gtk.theme.package}/share/themes/${config.gtk.theme.name}/gtk-4.0/gtk-dark.css";
};
}

View File

@ -5,7 +5,7 @@
dconf.settings = {
"org/virt-manager/virt-manager/connections" = {
autoconnect = ["qemu:///system"];
uris = ["qemu:///system"];
uris = ["qemu:///system"];
};
};
}

View File

@ -9,6 +9,10 @@
enable = true;
defaultApplications = {
# documents
"application/pdf" = ["org.gnome.Evince.desktop"];
"application/x-pdf" = ["org.gnome.Evince.desktop"];
# images
"image/bmp" = [ "org.gnome.Loupe.desktop" ];
"image/gif" = [ "org.gnome.Loupe.desktop" ];

View File

@ -16,8 +16,8 @@
};
# make boot pretty
boot.plymouth.enable = true;
boot.kernelParams = [ "quiet" ];
boot.plymouth.enable = true;
boot.kernelParams = [ "quiet" ];
boot.initrd.systemd.enable = true;
# make console pretty

View File

@ -8,7 +8,7 @@
};
# xdg portals
xdg.portal.enable = true;
xdg.portal.enable = true;
xdg.portal.extraPortals = with pkgs; [
xdg-desktop-portal-wlr
];
@ -24,7 +24,7 @@
};
# gnome
services.xserver.displayManager.gdm.enable = true;
services.xserver.displayManager.gdm.enable = true;
services.xserver.desktopManager.gnome.enable = true;
# hyprland

View File

@ -5,8 +5,7 @@
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
# bootloader
boot.extraModulePackages = [ ];
boot.initrd.kernelModules = [ "kvm-intel" ];
boot.initrd.kernelModules = [ "kvm-intel" ];
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
boot.initrd.luks = {
devices = {

View File

@ -5,9 +5,7 @@
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
# bootloader
boot.extraModulePackages = [ ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" "amdgpu" ];
boot.kernelModules = [ "kvm-amd" "amdgpu" ];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
# filesystems - boot

View File

@ -14,11 +14,11 @@
# enable pipewire
services.pipewire = {
enable = true;
pulse.enable = true;
alsa = {
enable = true;
support32Bit = true;
};
enable = true;
pulse.enable = true;
};
}

View File

@ -5,9 +5,7 @@
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
# bootloader
boot.extraModulePackages = [ ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.initrd.kernelModules = [ "kvm-intel" ];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
# filesystems - boot