Formatted everything using nixfmt.
This commit is contained in:
parent
caaeb92c4a
commit
f6553b9b0c
|
@ -5,8 +5,7 @@ let
|
|||
url = "https://github.com/jamesepatrick.keys";
|
||||
sha256 = "sha256-6NGBLNPcvsvCTa7UC3H3r9n8dKAHobINK5pxxm94nTM=";
|
||||
};
|
||||
in
|
||||
{
|
||||
in {
|
||||
# Allow Cleanup, nix, & flakes
|
||||
nix = {
|
||||
autoOptimiseStore = true;
|
||||
|
@ -52,12 +51,7 @@ in
|
|||
};
|
||||
|
||||
# These are the most basic tools I need.
|
||||
environment.systemPackages = with pkgs; [
|
||||
git
|
||||
gnumake
|
||||
vim
|
||||
zsh
|
||||
];
|
||||
environment.systemPackages = with pkgs; [ nixfmt git gnumake vim zsh ];
|
||||
|
||||
networking = {
|
||||
firewall = {
|
||||
|
|
10
home.nix
10
home.nix
|
@ -11,15 +11,7 @@
|
|||
wrapperFeatures.gtk = true;
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
emacs
|
||||
firefox
|
||||
wofi
|
||||
i3
|
||||
zsh
|
||||
kitty
|
||||
tmux
|
||||
];
|
||||
home.packages = with pkgs; [ emacs wofi i3 zsh kitty tmux ];
|
||||
|
||||
# This value determines the Home Manager release that your
|
||||
# configuration is compatible with. This helps avoid breakage
|
||||
|
|
|
@ -34,38 +34,34 @@
|
|||
"cryptd"
|
||||
];
|
||||
|
||||
hardware.firmware = [
|
||||
pkgs.rtw89-firmware
|
||||
];
|
||||
hardware.firmware = [ pkgs.rtw89-firmware ];
|
||||
|
||||
boot.initrd.kernelModules = [ "dm-snapshot" ];
|
||||
boot.kernelModules = [ "kvm-amd" ];
|
||||
boot.extraModulePackages = [ config.boot.kernelPackages.rtw89 ];
|
||||
boot.supportedFilesystems = [ "zfs" ];
|
||||
|
||||
boot.initrd.luks.devices."crypt" =
|
||||
{ device = "/dev/disk/by-partlabel/crypt";
|
||||
boot.initrd.luks.devices."crypt" = {
|
||||
device = "/dev/disk/by-partlabel/crypt";
|
||||
preLVM = true;
|
||||
};
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "rpool/root/nixos";
|
||||
fileSystems."/" = {
|
||||
device = "rpool/root/nixos";
|
||||
fsType = "zfs";
|
||||
};
|
||||
|
||||
fileSystems."/home" =
|
||||
{ device = "rpool/home";
|
||||
fileSystems."/home" = {
|
||||
device = "rpool/home";
|
||||
fsType = "zfs";
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-partlabel/boot";
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-partlabel/boot";
|
||||
fsType = "vfat";
|
||||
};
|
||||
|
||||
swapDevices =
|
||||
[ { device = "/dev/partitions/swap"; }
|
||||
];
|
||||
swapDevices = [{ device = "/dev/partitions/swap"; }];
|
||||
|
||||
# This value determines the NixOS release from which the default
|
||||
# settings for stateful data, like file locations and database versions
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
{ config, pkgs, ... }: {
|
||||
programs.sway = {
|
||||
enable = true;
|
||||
wrapperFeatures.gtk = true; # so that gtk works properly
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
{
|
||||
imports = [
|
||||
./graphical.nix
|
||||
];
|
||||
{ config, lib, pkgs, modulesPath, ... }: {
|
||||
imports = [ ./graphical.nix ];
|
||||
|
||||
networking.networkmanager.enable = true;
|
||||
users.users.james.extraGroups = [ "networkmanager" ];
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
|
||||
{ config, pkgs, ... }: {
|
||||
boot = {
|
||||
supportedFilesystems = [ "zfs" ];
|
||||
zfs = {
|
||||
|
|
Reference in New Issue
Block a user