[feat] Alejandra formatting
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
# Edit this configuration file to define what should be installed on
|
||||
# your system. Help is available in the configuration.nix(5) man page
|
||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||
{ pkgs, device, ... }: {
|
||||
{
|
||||
pkgs,
|
||||
device,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
# Include the results of the hardware scan.
|
||||
./ryu.nix
|
||||
@@ -28,24 +32,20 @@
|
||||
};
|
||||
boot.plymouth.enable = true;
|
||||
boot.plymouth.theme = "catppuccin-mocha";
|
||||
boot.plymouth.themePackages = with pkgs;
|
||||
[ (catppuccin-plymouth.override { variant = "mocha"; }) ];
|
||||
boot.plymouth.themePackages = with pkgs; [(catppuccin-plymouth.override {variant = "mocha";})];
|
||||
|
||||
services.greetd =
|
||||
let
|
||||
tuigreet = "${pkgs.greetd.tuigreet}/bin/tuigreet";
|
||||
hyprland-session = "${pkgs.hyprland}/share/wayland-sessions";
|
||||
in
|
||||
{
|
||||
enable = true;
|
||||
settings = {
|
||||
default_session = {
|
||||
command =
|
||||
"${tuigreet} --time --remember --remember-session --sessions ${hyprland-session}";
|
||||
user = "greeter";
|
||||
};
|
||||
services.greetd = let
|
||||
tuigreet = "${pkgs.greetd.tuigreet}/bin/tuigreet";
|
||||
hyprland-session = "${pkgs.hyprland}/share/wayland-sessions";
|
||||
in {
|
||||
enable = true;
|
||||
settings = {
|
||||
default_session = {
|
||||
command = "${tuigreet} --time --remember --remember-session --sessions ${hyprland-session}";
|
||||
user = "greeter";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
systemd.services.greetd.serviceConfig = {
|
||||
Type = "idle";
|
||||
@@ -87,11 +87,10 @@
|
||||
boot.bootspec.enable = true;
|
||||
|
||||
networking.hostName = "ryu"; # Define your hostname.
|
||||
networking.nameservers = [ "1.1.1.1" "8.8.8.8" ];
|
||||
networking.nameservers = ["1.1.1.1" "8.8.8.8"];
|
||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||
|
||||
services.udev.packages =
|
||||
[ pkgs.yubikey-personalization pkgs.yubikey-personalization-gui ];
|
||||
services.udev.packages = [pkgs.yubikey-personalization pkgs.yubikey-personalization-gui];
|
||||
services.yubikey-agent.enable = true;
|
||||
|
||||
# Configure network proxy if necessary
|
||||
@@ -104,7 +103,7 @@
|
||||
# Set your time zone.
|
||||
time.timeZone = "Asia/Kolkata";
|
||||
|
||||
i18n.supportedLocales = [ "en_US.UTF-8/UTF-8" ];
|
||||
i18n.supportedLocales = ["en_US.UTF-8/UTF-8"];
|
||||
|
||||
# Select internationalisation properties.
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
@@ -131,7 +130,7 @@
|
||||
users.users.servius = {
|
||||
isNormalUser = true;
|
||||
description = "Uttarayan";
|
||||
extraGroups = [ "networkmanager" "wheel" ];
|
||||
extraGroups = ["networkmanager" "wheel"];
|
||||
};
|
||||
|
||||
# Allow unfree packages
|
||||
@@ -152,11 +151,11 @@
|
||||
fish
|
||||
nushellFull
|
||||
(pkgs.wrapFirefox
|
||||
(pkgs.firefox-unwrapped.override { pipewireSupport = true; })
|
||||
{ })
|
||||
(pkgs.firefox-unwrapped.override {pipewireSupport = true;})
|
||||
{})
|
||||
gnumake
|
||||
python3
|
||||
(nerdfonts.override { fonts = [ "FiraCode" "Hasklig" ]; })
|
||||
(nerdfonts.override {fonts = ["FiraCode" "Hasklig"];})
|
||||
];
|
||||
environment.sessionVariables = {
|
||||
WLR_NO_HARDWARE_CURSORS = "1";
|
||||
@@ -204,14 +203,19 @@
|
||||
networking.firewall = {
|
||||
enable = true;
|
||||
allowedTCPPortRanges = [
|
||||
{ from = 1714; to = 1764; } # KDE Connect
|
||||
{
|
||||
from = 1714;
|
||||
to = 1764;
|
||||
} # KDE Connect
|
||||
];
|
||||
allowedUDPPortRanges = [
|
||||
{ from = 1714; to = 1764; } # KDE Connect
|
||||
{
|
||||
from = 1714;
|
||||
to = 1764;
|
||||
} # KDE Connect
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
# This value determines the NixOS release from which the default
|
||||
# settings for stateful data, like file locations and database versions
|
||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||||
@@ -220,5 +224,5 @@
|
||||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||
system.stateVersion = "23.11"; # Did you read the comment?
|
||||
nix.settings.extra-experimental-features = "nix-command flakes";
|
||||
nix.settings.trusted-users = [ "root" "servius" ];
|
||||
nix.settings.trusted-users = ["root" "servius"];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user