mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-01-18 17:11:39 +01:00
formatting
This commit is contained in:
parent
d8f9425bed
commit
7d0571f4a9
10 changed files with 39 additions and 34 deletions
|
@ -5,7 +5,8 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
[ (modulesPath + "/profiles/qemu-guest.nix")
|
[
|
||||||
|
(modulesPath + "/profiles/qemu-guest.nix")
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "ata_piix" "virtio_pci" "virtio_scsi" "xhci_pci" "sd_mod" "sr_mod" ];
|
boot.initrd.availableKernelModules = [ "ata_piix" "virtio_pci" "virtio_scsi" "xhci_pci" "sd_mod" "sr_mod" ];
|
||||||
|
@ -14,12 +15,14 @@
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
fileSystems."/" =
|
fileSystems."/" =
|
||||||
{ device = "/dev/disk/by-uuid/da06b92f-6eb6-45d5-9409-4d897a40d70e";
|
{
|
||||||
|
device = "/dev/disk/by-uuid/da06b92f-6eb6-45d5-9409-4d897a40d70e";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/boot/efi" =
|
fileSystems."/boot/efi" =
|
||||||
{ device = "/dev/disk/by-uuid/B677-3035";
|
{
|
||||||
|
device = "/dev/disk/by-uuid/B677-3035";
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
fileSystems."/mnt/backup" =
|
fileSystems."/mnt/backup" =
|
||||||
{
|
{
|
||||||
|
|
|
@ -11,7 +11,8 @@
|
||||||
owner = config.users.users.systemd-network.name;
|
owner = config.users.users.systemd-network.name;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
networking = { useNetworkd = true;
|
networking = {
|
||||||
|
useNetworkd = true;
|
||||||
hostName = "thinkpad";
|
hostName = "thinkpad";
|
||||||
enableIPv6 = true;
|
enableIPv6 = true;
|
||||||
wireless = {
|
wireless = {
|
||||||
|
|
|
@ -1,12 +1,14 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
{
|
{
|
||||||
programs.nixvim = { enable = true;
|
programs.nixvim = {
|
||||||
|
enable = true;
|
||||||
vimAlias = true;
|
vimAlias = true;
|
||||||
colorscheme = "dracula";
|
colorscheme = "dracula";
|
||||||
options =
|
options =
|
||||||
{
|
{
|
||||||
shiftwidth = 4;
|
shiftwidth = 4;
|
||||||
expandtab = true; preserveindent = true;
|
expandtab = true;
|
||||||
|
preserveindent = true;
|
||||||
number = true;
|
number = true;
|
||||||
relativenumber = true;
|
relativenumber = true;
|
||||||
tabstop = 4;
|
tabstop = 4;
|
||||||
|
|
Loading…
Reference in a new issue