[generic] prettified code
This commit is contained in:
parent
b8a1c357b5
commit
6f59763642
@ -95,7 +95,7 @@
|
|||||||
# window
|
# window
|
||||||
window = {
|
window = {
|
||||||
opacity = 0.75;
|
opacity = 0.75;
|
||||||
class = {
|
class = {
|
||||||
general = "Alacritty";
|
general = "Alacritty";
|
||||||
instance = "Alacritty";
|
instance = "Alacritty";
|
||||||
};
|
};
|
||||||
|
@ -3,10 +3,10 @@
|
|||||||
|
|
||||||
# git
|
# git
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
userName = "Simon Cornet";
|
userName = "Simon Cornet";
|
||||||
userEmail = "simon@simoncor.net";
|
userEmail = "simon@simoncor.net";
|
||||||
aliases = {
|
aliases = {
|
||||||
|
|
||||||
# commit + message
|
# commit + message
|
||||||
cam = "commit -am";
|
cam = "commit -am";
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
# ssh
|
# ssh
|
||||||
programs.ssh = {
|
programs.ssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
matchBlocks = {
|
matchBlocks = {
|
||||||
|
|
||||||
# general
|
# general
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
# theme
|
# theme
|
||||||
theme = {
|
theme = {
|
||||||
name = "Catppuccin-Macchiato-Standard-Sky-Dark";
|
name = "Catppuccin-Macchiato-Standard-Sky-Dark";
|
||||||
package = pkgs.catppuccin-gtk.override {
|
package = pkgs.catppuccin-gtk.override {
|
||||||
accents = [ "sky" ];
|
accents = [ "sky" ];
|
||||||
size = "standard";
|
size = "standard";
|
||||||
@ -41,8 +41,8 @@
|
|||||||
|
|
||||||
# xdg settings
|
# xdg settings
|
||||||
xdg.configFile = {
|
xdg.configFile = {
|
||||||
"gtk-4.0/assets".source = "${config.gtk.theme.package}/share/themes/${config.gtk.theme.name}/gtk-4.0/assets";
|
"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.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";
|
"gtk-4.0/gtk-dark.css".source = "${config.gtk.theme.package}/share/themes/${config.gtk.theme.name}/gtk-4.0/gtk-dark.css";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
dconf.settings = {
|
dconf.settings = {
|
||||||
"org/virt-manager/virt-manager/connections" = {
|
"org/virt-manager/virt-manager/connections" = {
|
||||||
autoconnect = ["qemu:///system"];
|
autoconnect = ["qemu:///system"];
|
||||||
uris = ["qemu:///system"];
|
uris = ["qemu:///system"];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -9,6 +9,10 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
defaultApplications = {
|
defaultApplications = {
|
||||||
|
|
||||||
|
# documents
|
||||||
|
"application/pdf" = ["org.gnome.Evince.desktop"];
|
||||||
|
"application/x-pdf" = ["org.gnome.Evince.desktop"];
|
||||||
|
|
||||||
# images
|
# images
|
||||||
"image/bmp" = [ "org.gnome.Loupe.desktop" ];
|
"image/bmp" = [ "org.gnome.Loupe.desktop" ];
|
||||||
"image/gif" = [ "org.gnome.Loupe.desktop" ];
|
"image/gif" = [ "org.gnome.Loupe.desktop" ];
|
||||||
|
@ -16,8 +16,8 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
# make boot pretty
|
# make boot pretty
|
||||||
boot.plymouth.enable = true;
|
boot.plymouth.enable = true;
|
||||||
boot.kernelParams = [ "quiet" ];
|
boot.kernelParams = [ "quiet" ];
|
||||||
boot.initrd.systemd.enable = true;
|
boot.initrd.systemd.enable = true;
|
||||||
|
|
||||||
# make console pretty
|
# make console pretty
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
# xdg portals
|
# xdg portals
|
||||||
xdg.portal.enable = true;
|
xdg.portal.enable = true;
|
||||||
xdg.portal.extraPortals = with pkgs; [
|
xdg.portal.extraPortals = with pkgs; [
|
||||||
xdg-desktop-portal-wlr
|
xdg-desktop-portal-wlr
|
||||||
];
|
];
|
||||||
@ -24,7 +24,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
# gnome
|
# gnome
|
||||||
services.xserver.displayManager.gdm.enable = true;
|
services.xserver.displayManager.gdm.enable = true;
|
||||||
services.xserver.desktopManager.gnome.enable = true;
|
services.xserver.desktopManager.gnome.enable = true;
|
||||||
|
|
||||||
# hyprland
|
# hyprland
|
||||||
|
@ -5,8 +5,7 @@
|
|||||||
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
||||||
|
|
||||||
# bootloader
|
# 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.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
||||||
boot.initrd.luks = {
|
boot.initrd.luks = {
|
||||||
devices = {
|
devices = {
|
||||||
|
@ -5,9 +5,7 @@
|
|||||||
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
||||||
|
|
||||||
# bootloader
|
# bootloader
|
||||||
boot.extraModulePackages = [ ];
|
boot.kernelModules = [ "kvm-amd" "amdgpu" ];
|
||||||
boot.initrd.kernelModules = [ ];
|
|
||||||
boot.kernelModules = [ "kvm-amd" "amdgpu" ];
|
|
||||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
||||||
|
|
||||||
# filesystems - boot
|
# filesystems - boot
|
||||||
|
@ -14,11 +14,11 @@
|
|||||||
|
|
||||||
# enable pipewire
|
# enable pipewire
|
||||||
services.pipewire = {
|
services.pipewire = {
|
||||||
|
enable = true;
|
||||||
|
pulse.enable = true;
|
||||||
alsa = {
|
alsa = {
|
||||||
enable = true;
|
enable = true;
|
||||||
support32Bit = true;
|
support32Bit = true;
|
||||||
};
|
};
|
||||||
enable = true;
|
|
||||||
pulse.enable = true;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -5,9 +5,7 @@
|
|||||||
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
||||||
|
|
||||||
# bootloader
|
# bootloader
|
||||||
boot.extraModulePackages = [ ];
|
boot.initrd.kernelModules = [ "kvm-intel" ];
|
||||||
boot.initrd.kernelModules = [ ];
|
|
||||||
boot.kernelModules = [ "kvm-intel" ];
|
|
||||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
||||||
|
|
||||||
# filesystems - boot
|
# filesystems - boot
|
||||||
|
Reference in New Issue
Block a user