mirror of
https://git.lgmrszd.xyz/Lgmrszd/nix-cfg.git
synced 2025-12-16 00:18:19 +01:00
Compare commits
6 commits
03f91f3817
...
15f2eb9eb5
| Author | SHA1 | Date | |
|---|---|---|---|
| 15f2eb9eb5 | |||
| 6ff6a577ce | |||
| d24ae32af2 | |||
| a4bfec80b2 | |||
| 8d1c533691 | |||
| 6fc8040197 |
5 changed files with 25 additions and 46 deletions
|
|
@ -69,13 +69,6 @@ in
|
|||
|
||||
boot.supportedFilesystems = [ "ntfs" ];
|
||||
|
||||
# btrfs options
|
||||
fileSystems = {
|
||||
"/".options = [ "compress=zstd" ];
|
||||
"/home".options = [ "compress=zstd" ];
|
||||
"/nix".options = [ "compress=zstd" "noatime" ];
|
||||
};
|
||||
|
||||
boot.kernel.sysctl."kernel.sysrq" = 244;
|
||||
|
||||
boot.plymouth = {
|
||||
|
|
@ -180,8 +173,18 @@ in
|
|||
|
||||
programs.gamemode.enable = true;
|
||||
|
||||
# VirtualBox
|
||||
# Virtualisation
|
||||
virtualisation.docker.enable = true;
|
||||
|
||||
virtualisation.containers.enable = true;
|
||||
virtualisation = {
|
||||
podman = {
|
||||
enable = true;
|
||||
dockerCompat = false;
|
||||
defaultNetwork.settings.dns_enabled = true;
|
||||
};
|
||||
};
|
||||
|
||||
virtualisation.waydroid.enable = true;
|
||||
virtualisation.virtualbox.host.enable = true;
|
||||
virtualisation.virtualbox.host.package = pkgs.virtualbox;
|
||||
|
|
@ -326,7 +329,7 @@ in
|
|||
users.users.lgm = {
|
||||
isNormalUser = true;
|
||||
description = "lgm";
|
||||
extraGroups = [ "networkmanager" "wheel" "adbusers" "docker" "wireshark"];
|
||||
extraGroups = [ "networkmanager" "wheel" "adbusers" "docker" "podman" "wireshark"];
|
||||
shell = pkgs.fish;
|
||||
};
|
||||
|
||||
|
|
@ -388,6 +391,8 @@ in
|
|||
|
||||
kdiskmark
|
||||
|
||||
podman-compose
|
||||
|
||||
(let base = pkgs.appimageTools.defaultFhsEnvArgs; in
|
||||
pkgs.buildFHSEnv (base // {
|
||||
name = "fhs";
|
||||
|
|
|
|||
|
|
@ -21,19 +21,25 @@ in
|
|||
fileSystems."/" =
|
||||
{ device = root;
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=root" ];
|
||||
options = [ "compress=zstd" "subvol=root" ];
|
||||
};
|
||||
|
||||
fileSystems."/nix" =
|
||||
{ device = root;
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=nix" ];
|
||||
options = [ "compress=zstd" "noatime" "subvol=nix" ];
|
||||
};
|
||||
|
||||
fileSystems."/home" =
|
||||
{ device = root;
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=home" ];
|
||||
options = [ "compress=zstd" "subvol=home" ];
|
||||
};
|
||||
|
||||
fileSystems."/steamlibrary" =
|
||||
{ device = root;
|
||||
fsType = "btrfs";
|
||||
options = [ "compress=zstd" "subvol=steamlibrary" ];
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
|
|
|
|||
|
|
@ -181,23 +181,6 @@
|
|||
monero-gui
|
||||
];
|
||||
|
||||
|
||||
systemd.user.services.app-input-leap-client = {
|
||||
Unit = {
|
||||
Description = "input-leap client";
|
||||
After = [ "graphical-session-pre.target" "network.target" ];
|
||||
PartOf = [ "graphical-session.target" ];
|
||||
};
|
||||
Service = {
|
||||
Type = "simple";
|
||||
ExecStart = "${pkgs.input-leap}/bin/input-leapc -f --debug DEBUG --name lgm-nixos --disable-crypto [wandering-nomad.lan]:24800";
|
||||
Restart = "always";
|
||||
};
|
||||
Install = {
|
||||
WantedBy = [ "graphical-session.target" ];
|
||||
};
|
||||
};
|
||||
|
||||
# Email stuff
|
||||
|
||||
programs.thunderbird = {
|
||||
|
|
|
|||
|
|
@ -13,21 +13,4 @@
|
|||
options = "defaults,exec,noauto,prealloc,uid=1000,gid=100";
|
||||
}
|
||||
];
|
||||
|
||||
systemd.automounts = [
|
||||
{
|
||||
where = "/mounts/my_data";
|
||||
wantedBy = ["multi-user.target"];
|
||||
automountConfig = {
|
||||
TimeoutIdleSec = 901;
|
||||
};
|
||||
}
|
||||
{
|
||||
where = "/mounts/windows";
|
||||
wantedBy = ["multi-user.target"];
|
||||
automountConfig = {
|
||||
TimeoutIdleSec = 901;
|
||||
};
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -150,6 +150,8 @@ in
|
|||
vim
|
||||
tmux
|
||||
sops
|
||||
podman-compose
|
||||
gnumake
|
||||
];
|
||||
|
||||
users.users.lgm = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue