Normalize indentation
Why isn't .editorconfig working...?
This commit is contained in:
parent
984e56ba67
commit
5d28b53778
2
env/desktop/nix/base.nix
vendored
2
env/desktop/nix/base.nix
vendored
|
@ -8,7 +8,7 @@
|
|||
imports = [
|
||||
./hardware-configuration.nix
|
||||
# TODO: fork?
|
||||
(import "${builtins.fetchTarball https://github.com/rycee/home-manager/archive/master.tar.gz}/nixos")
|
||||
(import "${builtins.fetchTarball https://github.com/rycee/home-manager/archive/master.tar.gz}/nixos")
|
||||
];
|
||||
|
||||
home-manager.users.daniel = {
|
||||
|
|
44
env/laptop/hardware.nix
vendored
44
env/laptop/hardware.nix
vendored
|
@ -1,32 +1,32 @@
|
|||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||
# and may be overwritten by future invocations. Please make changes
|
||||
# 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, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ <nixpkgs/nixos/modules/installer/scan/not-detected.nix>
|
||||
];
|
||||
imports =
|
||||
[ <nixpkgs/nixos/modules/installer/scan/not-detected.nix>
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "rtsx_pci_sdmmc" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "rtsx_pci_sdmmc" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/d1d92974-c0c0-4566-8131-c3dda9b21122";
|
||||
fsType = "ext4";
|
||||
};
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/d1d92974-c0c0-4566-8131-c3dda9b21122";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/3EB9-C18F";
|
||||
fsType = "vfat";
|
||||
};
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/3EB9-C18F";
|
||||
fsType = "vfat";
|
||||
};
|
||||
|
||||
swapDevices = [ ];
|
||||
swapDevices = [ ];
|
||||
|
||||
nix.maxJobs = lib.mkDefault 4;
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||||
# High-DPI console
|
||||
console.font = lib.mkDefault "${pkgs.terminus_font}/share/consolefonts/ter-u28n.psf.gz";
|
||||
nix.maxJobs = lib.mkDefault 4;
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||||
# High-DPI console
|
||||
console.font = lib.mkDefault "${pkgs.terminus_font}/share/consolefonts/ter-u28n.psf.gz";
|
||||
}
|
||||
|
|
6
env/nix/machines/third.nix
vendored
6
env/nix/machines/third.nix
vendored
|
@ -31,13 +31,13 @@
|
|||
xft-dpi=260
|
||||
'';
|
||||
|
||||
swapDevices = [ { device = "/swapfile"; size = (1024*16); } ];
|
||||
swapDevices = [ { device = "/swapfile"; size = (1024*16); } ];
|
||||
|
||||
boot = {
|
||||
# fallocate -l 16G /swapfile
|
||||
resumeDevice = "/dev/disk/by-uuid/d1d92974-c0c0-4566-8131-c3dda9b21122";
|
||||
resumeDevice = "/dev/disk/by-uuid/d1d92974-c0c0-4566-8131-c3dda9b21122";
|
||||
# sudo filefrag -v /swapfile | head -n 4 | tail -n 1 | \
|
||||
# tr -s "[:blank:]" | field 5 | tr -d ":"
|
||||
# tr -s "[:blank:]" | field 5 | tr -d ":"
|
||||
kernelParams = [ "resume_offset=874496" ];
|
||||
};
|
||||
|
||||
|
|
4
env/nix/machines/wallwart.nix
vendored
4
env/nix/machines/wallwart.nix
vendored
|
@ -22,8 +22,8 @@
|
|||
systemPackages = with pkgs; [ ntfs3g ];
|
||||
};
|
||||
|
||||
fileSystems."/storage/ext".options = [ "defaults" "user" "nofail" ];
|
||||
fileSystems."/storage/butter".options = [ "defaults" "auto" "nofail" ];
|
||||
fileSystems."/storage/ext".options = [ "defaults" "user" "nofail" ];
|
||||
fileSystems."/storage/butter".options = [ "defaults" "auto" "nofail" ];
|
||||
fileSystems."/storage/windows" = {
|
||||
device = "/dev/disk/by-uuid/AE624593624560E7";
|
||||
fsType = "ntfs";
|
||||
|
|
2
env/nix/modules/bluetooth.nix
vendored
2
env/nix/modules/bluetooth.nix
vendored
|
@ -1,3 +1,3 @@
|
|||
{ config, pkgs, ... }: {
|
||||
hardware.bluetooth.enable = true;
|
||||
hardware.bluetooth.enable = true;
|
||||
}
|
||||
|
|
4
env/nix/modules/de/graphics.nix
vendored
4
env/nix/modules/de/graphics.nix
vendored
|
@ -1,6 +1,6 @@
|
|||
{ config, pkgs, ... }: {
|
||||
imports = [ ../lightdm.nix ];
|
||||
fonts.fonts = with pkgs; [ iosevka ];
|
||||
imports = [ ../lightdm.nix ];
|
||||
fonts.fonts = with pkgs; [ iosevka ];
|
||||
hardware.opengl = {
|
||||
enable = true;
|
||||
driSupport = true;
|
||||
|
|
18
env/nix/modules/de/sway.nix
vendored
18
env/nix/modules/de/sway.nix
vendored
|
@ -1,7 +1,7 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
let
|
||||
unstable = import <nixos-unstable> { config = { allowUnfree = true; }; };
|
||||
unstable = import <nixos-unstable> { config = { allowUnfree = true; }; };
|
||||
in {
|
||||
imports = [ ./graphics.nix ];
|
||||
programs = {
|
||||
|
@ -43,12 +43,12 @@ in {
|
|||
disableWhileTyping = false;
|
||||
};
|
||||
};
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
gtkUsePortal = true;
|
||||
extraPortals = with pkgs; [
|
||||
xdg-desktop-portal-gtk
|
||||
unstable.xdg-desktop-portal-wlr
|
||||
];
|
||||
};
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
gtkUsePortal = true;
|
||||
extraPortals = with pkgs; [
|
||||
xdg-desktop-portal-gtk
|
||||
unstable.xdg-desktop-portal-wlr
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
2
env/nix/modules/fish.nix
vendored
2
env/nix/modules/fish.nix
vendored
|
@ -1,7 +1,7 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
let
|
||||
unstable = import <nixos-unstable> { config = { allowUnfree = true; }; };
|
||||
unstable = import <nixos-unstable> { config = { allowUnfree = true; }; };
|
||||
in {
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
|
|
2
env/nix/modules/neovim.nix
vendored
2
env/nix/modules/neovim.nix
vendored
|
@ -1,6 +1,6 @@
|
|||
{ config, pkgs, ... }:
|
||||
let
|
||||
unstable = import <nixos-unstable> { config = { allowUnfree = true; }; };
|
||||
unstable = import <nixos-unstable> { config = { allowUnfree = true; }; };
|
||||
aliases = { vim = "nvim"; vi = "nvim"; };
|
||||
in
|
||||
{
|
||||
|
|
4
env/nix/modules/pulseaudio.nix
vendored
4
env/nix/modules/pulseaudio.nix
vendored
|
@ -1,9 +1,9 @@
|
|||
{ config, pkgs, ... }: {
|
||||
hardware.pulseaudio = {
|
||||
hardware.pulseaudio = {
|
||||
enable = true;
|
||||
support32Bit = true;
|
||||
package = pkgs.pulseaudioFull;
|
||||
};
|
||||
nixpkgs.config.pulseaudio = true;
|
||||
sound.enable = true;
|
||||
sound.enable = true;
|
||||
}
|
||||
|
|
10
env/nix/modules/users/daniel.nix
vendored
10
env/nix/modules/users/daniel.nix
vendored
|
@ -1,8 +1,8 @@
|
|||
{ config, pkgs, ... }: {
|
||||
users.users.daniel = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" "docker" ];
|
||||
shell = pkgs.fish;
|
||||
users.users.daniel = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" "docker" ];
|
||||
shell = pkgs.fish;
|
||||
home = "/home/daniel/.home";
|
||||
packages = with pkgs; [
|
||||
fortune # fun sayings
|
||||
|
@ -43,5 +43,5 @@
|
|||
niv # dependency pinning?
|
||||
lorri # project envrc - like asdf-vm?
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
6
env/nix/modules/users/valerie.nix
vendored
6
env/nix/modules/users/valerie.nix
vendored
|
@ -1,7 +1,7 @@
|
|||
{ config, pkgs, ... }: {
|
||||
users.users.valerie = {
|
||||
isNormalUser = true;
|
||||
shell = pkgs.fish;
|
||||
users.users.valerie = {
|
||||
isNormalUser = true;
|
||||
shell = pkgs.fish;
|
||||
home = "/home/valerie";
|
||||
};
|
||||
}
|
||||
|
|
4
env/nix/pkgs/home.nix
vendored
4
env/nix/pkgs/home.nix
vendored
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, ... }: {
|
||||
programs.home-manager.enable = true;
|
||||
home.stateVersion = "20.03";
|
||||
programs.home-manager.enable = true;
|
||||
home.stateVersion = "20.03";
|
||||
}
|
||||
|
|
Reference in a new issue