unfree packages no awawa
This commit is contained in:
parent
eefe3cc4ba
commit
36e9a950b2
|
@ -7,10 +7,12 @@
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
|
./locales/paris.nix
|
||||||
|
|
||||||
|
./packages/sshd.nix
|
||||||
./packages/neovim.nix
|
./packages/neovim.nix
|
||||||
./packages/zsh.nix
|
./packages/zsh.nix
|
||||||
./packages/git.nix
|
./packages/git.nix
|
||||||
./locales/paris.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
|
@ -43,7 +45,19 @@
|
||||||
auto-optimise-store = true;
|
auto-optimise-store = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# systemd-boot
|
# Unfree packages that can be installe even if "allow-unfree.nix" isn't imported
|
||||||
|
nixpkgs.config.allowUnfreePredicate = pkg:
|
||||||
|
builtins.elem (lib.getName pkg) [
|
||||||
|
# Steam
|
||||||
|
"steam"
|
||||||
|
"steam-original"
|
||||||
|
"steam-run"
|
||||||
|
|
||||||
|
# Nvidia drivers
|
||||||
|
"nvidia-x11"
|
||||||
|
"nvidia-settings"
|
||||||
|
];
|
||||||
|
|
||||||
boot.loader = {
|
boot.loader = {
|
||||||
systemd-boot.enable = true;
|
systemd-boot.enable = true;
|
||||||
efi.canTouchEfiVariables = true;
|
efi.canTouchEfiVariables = true;
|
||||||
|
|
|
@ -5,4 +5,4 @@
|
||||||
enableOffloadCmd = true;
|
enableOffloadCmd = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
8
common/packages/auditd.nix
Normal file
8
common/packages/auditd.nix
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
{
|
||||||
|
# security.auditd.enable = true;
|
||||||
|
# security.audit.enable = true;
|
||||||
|
# security.audit.rules = [
|
||||||
|
# "-a exit,always -F arch=b64 -S execve"
|
||||||
|
# ];
|
||||||
|
# You can monitor these logs with journalctl -f. If you don't see any audit logs show up, ssh in from another window and run some commands like ls. You should see a flurry of them show up.
|
||||||
|
}
|
|
@ -1,8 +1,8 @@
|
||||||
{
|
{lib, ...}: {
|
||||||
# File sync service
|
# File sync service
|
||||||
services.syncthing = {
|
services.syncthing = {
|
||||||
enable = true;
|
enable = true;
|
||||||
user = "user";
|
user = lib.mkDefault "user";
|
||||||
group = "users";
|
group = "users";
|
||||||
|
|
||||||
openDefaultPorts = true;
|
openDefaultPorts = true;
|
||||||
|
|
|
@ -8,9 +8,8 @@ in {
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
../../common/default.nix
|
../../common/default.nix
|
||||||
../../common/hardware/raspberry-pi.nix
|
|
||||||
|
|
||||||
../../common/packages/sshd.nix
|
../../common/hardware/raspberry-pi.nix
|
||||||
|
|
||||||
../../modules/nixos/vedirect-reader.nix
|
../../modules/nixos/vedirect-reader.nix
|
||||||
];
|
];
|
||||||
|
|
|
@ -9,10 +9,11 @@ in {
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
../../common/default.nix
|
../../common/default.nix
|
||||||
../../common/full-install.nix
|
../../common/full-install.nix
|
||||||
../../common/allow-unfree.nix
|
../../common/tasia-packages.nix
|
||||||
|
|
||||||
../../common/locales/en.nix
|
../../common/locales/en.nix
|
||||||
../../common/locales/fr-keymap.nix
|
../../common/locales/fr-keymap.nix
|
||||||
|
|
||||||
../../common/hardware/intel-cpu.nix
|
../../common/hardware/intel-cpu.nix
|
||||||
../../common/hardware/nvidia-gpu.nix
|
../../common/hardware/nvidia-gpu.nix
|
||||||
../../common/hardware/nvidia-gpu-offload.nix
|
../../common/hardware/nvidia-gpu-offload.nix
|
||||||
|
@ -21,28 +22,18 @@ in {
|
||||||
../../common/hardware/latest-kernel.nix
|
../../common/hardware/latest-kernel.nix
|
||||||
|
|
||||||
../../common/de/plasma6.nix
|
../../common/de/plasma6.nix
|
||||||
# ../../common/de/hyprland.nix
|
../../common/de/hyprland.nix
|
||||||
|
|
||||||
../../common/tasia-packages.nix
|
|
||||||
../../common/packages/sshd.nix
|
|
||||||
../../common/packages/steam.nix
|
../../common/packages/steam.nix
|
||||||
# ../../common/packages/syncthing.nix
|
../../common/packages/syncthing.nix
|
||||||
|
|
||||||
# ../../modules/nixos/vedirect-reader.nix
|
../../modules/nixos/vedirect-reader.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# boot.kernelModules = [ "fuse" "kvm-intel" "coretemp" ];
|
|
||||||
|
|
||||||
hardware.nvidia.prime = {
|
|
||||||
intelBusId = "PCI:1:0:0";
|
|
||||||
nvidiaBusId = "PCI:0:2:0";
|
|
||||||
};
|
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "new-new-phoenix";
|
hostName = "new-new-phoenix";
|
||||||
|
|
||||||
firewall = {
|
firewall = {
|
||||||
enable = true;
|
|
||||||
allowedTCPPorts = [
|
allowedTCPPorts = [
|
||||||
8080 # ?
|
8080 # ?
|
||||||
12345 # tildefriends
|
12345 # tildefriends
|
||||||
|
@ -54,6 +45,11 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
hardware.nvidia.prime = {
|
||||||
|
intelBusId = "PCI:1:0:0";
|
||||||
|
nvidiaBusId = "PCI:0:2:0";
|
||||||
|
};
|
||||||
|
|
||||||
users.users.tasia = {
|
users.users.tasia = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "User";
|
description = "User";
|
||||||
|
@ -72,8 +68,9 @@ in {
|
||||||
# services.flatpak.enable = false;
|
# services.flatpak.enable = false;
|
||||||
|
|
||||||
services.syncthing = {
|
services.syncthing = {
|
||||||
dataDir = lib.mkForce "/home/user";
|
user = "tasia";
|
||||||
configDir = lib.mkForce "/data/sync/configuration/";
|
dataDir = lib.mkForce "/home/tasia/Sync/data";
|
||||||
|
configDir = lib.mkForce "/home/tasia/Sync/configuration";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Needed to build enry
|
# Needed to build enry
|
||||||
|
@ -83,13 +80,6 @@ in {
|
||||||
#
|
#
|
||||||
];
|
];
|
||||||
|
|
||||||
# security.auditd.enable = true;
|
|
||||||
# security.audit.enable = true;
|
|
||||||
# security.audit.rules = [
|
|
||||||
# "-a exit,always -F arch=b64 -S execve"
|
|
||||||
# ];
|
|
||||||
# You can monitor these logs with journalctl -f. If you don't see any audit logs show up, ssh in from another window and run some commands like ls. You should see a flurry of them show up.
|
|
||||||
|
|
||||||
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
||||||
system.stateVersion = "23.11";
|
system.stateVersion = "23.11";
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
sshKeys = import ../../crypto/ssh-keys.nix;
|
sshKeys = import ../../crypto/ssh-keys.nix;
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
|
@ -11,12 +11,13 @@ in {
|
||||||
|
|
||||||
../../common/locales/en.nix
|
../../common/locales/en.nix
|
||||||
../../common/locales/fr-keymap.nix
|
../../common/locales/fr-keymap.nix
|
||||||
|
|
||||||
../../common/hardware/intel-cpu.nix
|
../../common/hardware/intel-cpu.nix
|
||||||
../../common/hardware/ssd.nix
|
../../common/hardware/ssd.nix
|
||||||
../../common/hardware/btrfs.nix
|
../../common/hardware/btrfs.nix
|
||||||
|
|
||||||
../../common/packages/syncthing.nix
|
|
||||||
../../common/packages/adguardhome.nix
|
../../common/packages/adguardhome.nix
|
||||||
|
../../common/packages/syncthing.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
|
|
|
@ -2,17 +2,18 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
sshKeys = import ../../crypto/ssh-keys.nix;
|
sshKeys = import ../../crypto/ssh-keys.nix;
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
../../common/default.nix
|
../../common/default.nix
|
||||||
../../common/full-install.nix
|
../../common/full-install.nix
|
||||||
../../common/allow-unfree.nix
|
../../common/tasia-packages.nix
|
||||||
|
|
||||||
../../common/locales/en.nix
|
../../common/locales/en.nix
|
||||||
../../common/locales/fr-keymap.nix
|
../../common/locales/fr-keymap.nix
|
||||||
|
|
||||||
../../common/hardware/intel-cpu.nix
|
../../common/hardware/intel-cpu.nix
|
||||||
../../common/hardware/amd-gpu.nix
|
../../common/hardware/amd-gpu.nix
|
||||||
../../common/hardware/ssd.nix
|
../../common/hardware/ssd.nix
|
||||||
|
@ -21,10 +22,9 @@ in {
|
||||||
|
|
||||||
../../common/de/plasma6.nix
|
../../common/de/plasma6.nix
|
||||||
|
|
||||||
../../common/tasia-packages.nix
|
|
||||||
../../common/packages/syncthing.nix
|
|
||||||
../../common/packages/adguardhome.nix
|
../../common/packages/adguardhome.nix
|
||||||
../../common/packages/steam.nix
|
../../common/packages/steam.nix
|
||||||
|
../../common/packages/syncthing.nix
|
||||||
|
|
||||||
../../modules/nixos/vedirect-reader.nix
|
../../modules/nixos/vedirect-reader.nix
|
||||||
];
|
];
|
||||||
|
|
|
@ -1,12 +1,13 @@
|
||||||
{pkgs, ...}: let
|
{pkgs, ...}: let
|
||||||
sshKeys = import ../../crypto/ssh-keys.nix;
|
sshKeys = import ../../crypto/ssh-keys.nix;
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
../../common/default.nix
|
../../common/default.nix
|
||||||
|
|
||||||
../../common/locales/fr.nix
|
../../common/locales/fr.nix
|
||||||
../../common/locales/fr-keymap.nix
|
../../common/locales/fr-keymap.nix
|
||||||
|
|
||||||
../../common/hardware/intel-cpu.nix
|
../../common/hardware/intel-cpu.nix
|
||||||
../../common/hardware/ssd.nix
|
../../common/hardware/ssd.nix
|
||||||
../../common/hardware/btrfs.nix
|
../../common/hardware/btrfs.nix
|
||||||
|
@ -14,7 +15,6 @@ in {
|
||||||
../../common/de/plasma5.nix
|
../../common/de/plasma5.nix
|
||||||
|
|
||||||
../../common/packages/syncthing.nix
|
../../common/packages/syncthing.nix
|
||||||
../../common/packages/sshd.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.hostName = "stuff";
|
networking.hostName = "stuff";
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
sshKeys = import ../../crypto/ssh-keys.nix;
|
sshKeys = import ../../crypto/ssh-keys.nix;
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
|
@ -13,6 +13,7 @@ in {
|
||||||
|
|
||||||
../../common/locales/en.nix
|
../../common/locales/en.nix
|
||||||
../../common/locales/en-keymap.nix
|
../../common/locales/en-keymap.nix
|
||||||
|
|
||||||
../../common/hardware/intel-cpu.nix
|
../../common/hardware/intel-cpu.nix
|
||||||
../../common/hardware/nvidia-gpu.nix
|
../../common/hardware/nvidia-gpu.nix
|
||||||
../../common/hardware/ssd.nix
|
../../common/hardware/ssd.nix
|
||||||
|
@ -22,11 +23,9 @@ in {
|
||||||
../../common/de/plasma6.nix
|
../../common/de/plasma6.nix
|
||||||
# ../../common/de/hyprland.nix
|
# ../../common/de/hyprland.nix
|
||||||
|
|
||||||
../../common/tasia-packages.nix
|
|
||||||
../../common/packages/syncthing.nix
|
../../common/packages/syncthing.nix
|
||||||
../../common/packages/adguardhome.nix
|
../../common/packages/adguardhome.nix
|
||||||
../../common/packages/steam.nix
|
../../common/packages/steam.nix
|
||||||
../../common/packages/sshd.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
|
|
Loading…
Reference in a new issue