Sync config
This commit is contained in:
parent
0fc2854aee
commit
02f58e26b6
@ -13,5 +13,5 @@
|
|||||||
# this value at the release version of the first install of this system.
|
# this value at the release version of the first install of this system.
|
||||||
# Before changing this value read the documentation for this option
|
# Before changing this value read the documentation for this option
|
||||||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||||
system.stateVersion = "20.09"; # Did you read the comment?
|
system.stateVersion = "21.11"; # Did you read the comment?
|
||||||
}
|
}
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/boot" =
|
fileSystems."/boot" =
|
||||||
{ device = "/dev/disk/by-uuid/6456-8B97";
|
{ device = "/dev/disk/by-uuid/0DD8-8BF6";
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
8
roles/subroles/reversing.nix
Normal file
8
roles/subroles/reversing.nix
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{ config, pkgs, ... }:
|
||||||
|
{
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
radare2
|
||||||
|
ghidra-bin
|
||||||
|
gdb
|
||||||
|
];
|
||||||
|
}
|
@ -3,10 +3,21 @@
|
|||||||
{
|
{
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
|
nix = {
|
||||||
# for ihp
|
# for ihp
|
||||||
nix.trustedUsers = [ "root" "me" ];
|
trustedUsers = [ "root" "me" ];
|
||||||
|
# package = pkgs.nixUnstable;
|
||||||
|
# extraOptions = ''
|
||||||
|
# experimental-features = nix-command flakes
|
||||||
|
# '';
|
||||||
|
};
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
|
# function keys on keychron keyboard won't work otherwise
|
||||||
|
# extraModprobeConfig = "options hid_apple fnmode=2";
|
||||||
|
kernel.sysctl = {
|
||||||
|
"module.hid_apple.parameters.fnmode" = 2;
|
||||||
|
};
|
||||||
# use latest kernel
|
# use latest kernel
|
||||||
kernelPackages = pkgs.linuxPackages_latest;
|
kernelPackages = pkgs.linuxPackages_latest;
|
||||||
# Use the systemd-boot EFI boot loader.
|
# Use the systemd-boot EFI boot loader.
|
||||||
@ -21,6 +32,9 @@
|
|||||||
preLVM = true;
|
preLVM = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# loopback webcam
|
||||||
|
extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ];
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.hostName = "w1n5t0n"; # Define your hostname.
|
networking.hostName = "w1n5t0n"; # Define your hostname.
|
||||||
@ -68,13 +82,16 @@
|
|||||||
xfce.thunar-volman
|
xfce.thunar-volman
|
||||||
# mounting external devices in thunar
|
# mounting external devices in thunar
|
||||||
gvfs
|
gvfs
|
||||||
|
|
||||||
|
# loopback webcam
|
||||||
|
linuxPackages.v4l2loopback
|
||||||
];
|
];
|
||||||
|
|
||||||
# mounting external devices as user
|
# mounting external devices as user
|
||||||
services.udisks2.enable = true;
|
services.udisks2.enable = true;
|
||||||
|
|
||||||
# required for nextcloud
|
# required for nextcloud
|
||||||
services.gnome3.gnome-keyring.enable = true;
|
services.gnome.gnome-keyring.enable = true;
|
||||||
|
|
||||||
virtualisation.docker = {
|
virtualisation.docker = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@ -84,6 +101,7 @@
|
|||||||
# virtualisation.podman = {
|
# virtualisation.podman = {
|
||||||
# enable = true;
|
# enable = true;
|
||||||
# dockerCompat = true;
|
# dockerCompat = true;
|
||||||
|
# dockerSocket.enable = true;
|
||||||
# };
|
# };
|
||||||
# virtualisation.lxd.enable = true;
|
# virtualisation.lxd.enable = true;
|
||||||
# virtualisation.virtualbox.host.enable = true;
|
# virtualisation.virtualbox.host.enable = true;
|
||||||
@ -132,7 +150,13 @@
|
|||||||
# anonymousClients.allowAll = true;
|
# anonymousClients.allowAll = true;
|
||||||
# };
|
# };
|
||||||
};
|
};
|
||||||
opengl.driSupport32Bit = true;
|
opengl = {
|
||||||
|
driSupport32Bit = true;
|
||||||
|
extraPackages = with pkgs; [
|
||||||
|
rocm-opencl-icd
|
||||||
|
rocm-opencl-runtime
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# set keyboard layout
|
# set keyboard layout
|
||||||
@ -191,6 +215,8 @@
|
|||||||
"docker"
|
"docker"
|
||||||
"networkmanager"
|
"networkmanager"
|
||||||
"plugdev"
|
"plugdev"
|
||||||
|
"users"
|
||||||
|
"uucp"
|
||||||
"vboxusers"
|
"vboxusers"
|
||||||
"video"
|
"video"
|
||||||
"wheel"
|
"wheel"
|
||||||
@ -211,6 +237,10 @@
|
|||||||
# Enable NTFS support
|
# Enable NTFS support
|
||||||
boot.supportedFilesystems = [ "ntfs" ];
|
boot.supportedFilesystems = [ "ntfs" ];
|
||||||
|
|
||||||
|
security.sudo = {
|
||||||
|
extraConfig = "Defaults insults";
|
||||||
|
};
|
||||||
|
|
||||||
imports =
|
imports =
|
||||||
[
|
[
|
||||||
./subroles/dev.nix
|
./subroles/dev.nix
|
||||||
@ -218,6 +248,7 @@
|
|||||||
./subroles/internet.nix
|
./subroles/internet.nix
|
||||||
./subroles/office.nix
|
./subroles/office.nix
|
||||||
./subroles/photography.nix
|
./subroles/photography.nix
|
||||||
|
./subroles/reversing.nix
|
||||||
./subroles/university.nix
|
./subroles/university.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user