nixpkgs-fmt

This commit is contained in:
fleaz 2022-02-07 00:01:27 +01:00
parent 6a9a43478c
commit 04091588ee
10 changed files with 185 additions and 169 deletions

View file

@ -7,7 +7,8 @@
let
home-manager = (import ./nix/sources.nix).home-manager;
secretsFile = "/root.key";
in {
in
{
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
@ -40,13 +41,13 @@ in {
networking.hostName = "jimbo"; # Define your hostname.
networking.extraHosts =
''
10.32.4.64 cyberark.charite.de
10.32.4.64 cya-pvwa.charite.de
141.42.207.84 s-charitedigital.charite.de
10.32.4.65 cya-psmp.charite.de
''
10.32.4.64 cyberark.charite.de
10.32.4.64 cya-pvwa.charite.de
141.42.207.84 s-charitedigital.charite.de
10.32.4.65 cya-psmp.charite.de
'';
'';
# Set your time zone.
time.timeZone = "Europe/Berlin";
@ -56,12 +57,12 @@ in {
networking.networkmanager.enable = true;
programs.nm-applet.enable = true;
services.avahi = {
nssmdns = true;
enable = true;
ipv4 = true;
ipv6 = true;
};
services.avahi = {
nssmdns = true;
enable = true;
ipv4 = true;
ipv6 = true;
};
hardware.opengl = {
enable = true;
@ -98,8 +99,11 @@ in {
# List packages installed in system profile. To search, run:
environment.systemPackages = with pkgs; [
vim wget curl git
];
vim
wget
curl
git
];
services.openssh.enable = true;
programs.ssh.startAgent = true;

View file

@ -5,7 +5,8 @@
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
[
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
@ -14,14 +15,16 @@
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/b9edb32f-fb40-4d59-8abe-b187c88667d6";
{
device = "/dev/disk/by-uuid/b9edb32f-fb40-4d59-8abe-b187c88667d6";
fsType = "ext4";
};
boot.initrd.luks.devices."cryptroot".device = "/dev/disk/by-uuid/e2d53876-3fdc-486a-a354-ec834b256e43";
fileSystems."/boot/efi" =
{ device = "/dev/disk/by-uuid/502E-A0DC";
{
device = "/dev/disk/by-uuid/502E-A0DC";
fsType = "vfat";
};