nix auto formatter
This commit is contained in:
parent
664bd99203
commit
c2b4c31837
6 changed files with 44 additions and 27 deletions
|
|
@ -131,7 +131,8 @@
|
|||
git
|
||||
gdb
|
||||
glibc.static
|
||||
|
||||
nixfmt-rfc-style
|
||||
|
||||
kitty # terminal
|
||||
wayland
|
||||
|
||||
|
|
|
|||
12
flake.nix
12
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
|
||||
|
|
|
|||
7
home.nix
7
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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,4 +4,4 @@
|
|||
programs.mpv = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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 = [ ];
|
||||
|
||||
|
|
|
|||
4
user.nix
4
user.nix
|
|
@ -10,7 +10,7 @@
|
|||
];
|
||||
packages = with pkgs; [
|
||||
kdePackages.kate
|
||||
# thunderbird
|
||||
# thunderbird
|
||||
];
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue