diff --git a/configuration.nix b/configuration.nix index dc158c2..e2997cd 100644 --- a/configuration.nix +++ b/configuration.nix @@ -131,7 +131,8 @@ git gdb glibc.static - + nixfmt-rfc-style + kitty # terminal wayland diff --git a/flake.nix b/flake.nix index 93ab8dd..511dd15 100644 --- a/flake.nix +++ b/flake.nix @@ -7,7 +7,8 @@ home-manager.inputs.nixpkgs.follows = "nixpkgs"; }; - outputs = inputs @ { self, nixpkgs, ... }: + outputs = + inputs@{ self, nixpkgs, ... }: let system = "x86_64-linux"; lib = nixpkgs.lib; @@ -16,12 +17,13 @@ ./configuration.nix ./user.nix ]; - in { + in + { # laptop nixosConfigurations.nahemah = lib.nixosSystem { - specialArgs = { - host = "nahemah"; - inherit inputs; + specialArgs = { + host = "nahemah"; + inherit inputs; }; modules = [ ./hosts/nahemah/hardware-configuration.nix diff --git a/home.nix b/home.nix index e49df20..d172155 100644 --- a/home.nix +++ b/home.nix @@ -1,4 +1,4 @@ -{ config, pkgs, ...}: +{ config, pkgs, ... }: { # Enables nix commands + flakes @@ -21,8 +21,7 @@ syncplay ]; - programs.neovim = - {}; + programs.neovim = { }; home.sessionPath = [ "$HOME/.local/bin" @@ -43,4 +42,4 @@ }; programs.home-manager.enable = true; -} \ No newline at end of file +} diff --git a/homemanager/mpv.nix b/homemanager/mpv.nix index 1aad848..758435b 100644 --- a/homemanager/mpv.nix +++ b/homemanager/mpv.nix @@ -4,4 +4,4 @@ programs.mpv = { enable = true; }; -} \ No newline at end of file +} diff --git a/hosts/nahemah/hardware-configuration.nix b/hosts/nahemah/hardware-configuration.nix index e009905..20c4bbb 100644 --- a/hosts/nahemah/hardware-configuration.nix +++ b/hosts/nahemah/hardware-configuration.nix @@ -1,28 +1,43 @@ # Do not modify this file! It was generated by ‘nixos-generate-config’ # and may be overwritten by future invocations. Please make changes # to /etc/nixos/configuration.nix instead. -{ config, lib, pkgs, modulesPath, ... }: +{ + config, + lib, + pkgs, + modulesPath, + ... +}: { - imports = - [ (modulesPath + "/installer/scan/not-detected.nix") - ]; + imports = [ + (modulesPath + "/installer/scan/not-detected.nix") + ]; - boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" ]; + boot.initrd.availableKernelModules = [ + "xhci_pci" + "ahci" + "nvme" + "usb_storage" + "sd_mod" + ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-intel" ]; boot.extraModulePackages = [ ]; - fileSystems."/" = - { device = "/dev/disk/by-uuid/65e009d8-9c86-4f18-bcc5-c2d1f8f7bcf4"; - fsType = "ext4"; - }; + fileSystems."/" = { + device = "/dev/disk/by-uuid/65e009d8-9c86-4f18-bcc5-c2d1f8f7bcf4"; + fsType = "ext4"; + }; - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/FDAB-D19E"; - fsType = "vfat"; - options = [ "fmask=0077" "dmask=0077" ]; - }; + fileSystems."/boot" = { + device = "/dev/disk/by-uuid/FDAB-D19E"; + fsType = "vfat"; + options = [ + "fmask=0077" + "dmask=0077" + ]; + }; swapDevices = [ ]; diff --git a/user.nix b/user.nix index 5f9fb89..22eaa3b 100644 --- a/user.nix +++ b/user.nix @@ -10,7 +10,7 @@ ]; packages = with pkgs; [ kdePackages.kate - # thunderbird + # thunderbird ]; }; -} \ No newline at end of file +}