chore: run nixpkgs-fmt
This commit is contained in:
parent
ce814cac82
commit
b41bce8ce2
10 changed files with 22 additions and 19 deletions
|
|
@ -19,7 +19,8 @@
|
|||
];
|
||||
config = { allowUnfree = true; };
|
||||
};
|
||||
in {
|
||||
in
|
||||
{
|
||||
nixosConfigurations = {
|
||||
fedfer-main-laptop-nixos = nixpkgs.lib.nixosSystem rec {
|
||||
system = "x86_64-linux";
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{pkgs, ...}: {
|
||||
{ pkgs, ... }: {
|
||||
programs.password-store = {
|
||||
enable = true;
|
||||
package = pkgs.pass-wayland.withExtensions ( exts: [exts.pass-checkup exts.pass-audit]);
|
||||
package = pkgs.pass-wayland.withExtensions (exts: [ exts.pass-checkup exts.pass-audit ]);
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
] ++ (with pkgs.open-vsx; [
|
||||
jeanp413.open-remote-ssh
|
||||
antfu.unocss
|
||||
]);
|
||||
]);
|
||||
|
||||
userSettings = {
|
||||
"workbench.iconTheme" = "material-icon-theme";
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
{ pkgs, lib, ... }: {
|
||||
|
||||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
[
|
||||
# Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
../../nixosModules/default.nix
|
||||
];
|
||||
|
|
@ -22,7 +23,7 @@
|
|||
openssh.usePAM = lib.mkForce true;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
|
|
|||
|
|
@ -5,7 +5,8 @@
|
|||
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
[
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "vmd" "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
|
||||
|
|
@ -14,12 +15,14 @@
|
|||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/58d4396b-d87c-419b-ac35-c4d282ef05b1";
|
||||
{
|
||||
device = "/dev/disk/by-uuid/58d4396b-d87c-419b-ac35-c4d282ef05b1";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/F5D9-1046";
|
||||
{
|
||||
device = "/dev/disk/by-uuid/F5D9-1046";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0022" "dmask=0022" ];
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,6 +1,4 @@
|
|||
{ lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
{ lib, pkgs, ... }: {
|
||||
imports =
|
||||
[
|
||||
./hardware-configuration.nix
|
||||
|
|
|
|||
|
|
@ -10,4 +10,4 @@
|
|||
enableSSHSupport = config.settings.programs.gnupg.ssh;
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
};
|
||||
|
||||
|
||||
#further move these options into settings
|
||||
#further move these options into settings
|
||||
config = lib.mkIf config.settings.services.openssh.enable {
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
|
|
@ -19,4 +19,4 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,10 +9,10 @@
|
|||
security.pam = {
|
||||
services.sshd = {
|
||||
name = "sshd";
|
||||
unixAuth = true;
|
||||
unixAuth = true;
|
||||
googleAuthenticator.enable = config.settings.services.pam.sshd.useGoogleAuth;
|
||||
gnupg.enable = config.settings.services.pam.sshd.gnupg;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,4 +10,4 @@
|
|||
extraGroups = [ "networkmanager" "wheel" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue