gamepc: Increase swap to 4GB

Separate installed packages in home-manager
This commit is contained in:
Pim Kunis 2024-11-09 12:49:23 +01:00
parent 87153f15be
commit 14e269c02c
5 changed files with 42 additions and 36 deletions

View file

@ -1,5 +1,4 @@
{ {
pkgs,
lib, lib,
config, config,
inputs, inputs,
@ -96,38 +95,6 @@
username = "pim"; username = "pim";
homeDirectory = "/home/pim"; homeDirectory = "/home/pim";
stateVersion = "23.05"; stateVersion = "23.05";
packages =
(with pkgs; [
jellyfin-media-player
virt-manager
])
++ (with pkgs.unstable; [
attic-client
dbeaver-bin
devenv
bottles-unwrapped
gimp
hexchat
impression
insomnia
keepassxc
krita
libreoffice
# logseq # Has insecure electron dependency
moonlight-qt
nicotine-plus
qFlipper
signal-desktop
strawberry
telegram-desktop
vlc
vorta
wireshark
# nheko # Has insecure olm dependency
handbrake
feishin
]);
}; };
programs = { programs = {

View file

@ -62,7 +62,7 @@
type = "gpt"; type = "gpt";
partitions = { partitions = {
primary = { primary = {
end = "-1G"; end = "-4G";
content = { content = {
type = "filesystem"; type = "filesystem";
format = "ext4"; format = "ext4";

View file

@ -1,4 +1,4 @@
{ {
nixosModule = import ./configuration.nix; nixosModule = import ./configuration.nix;
homeManagerModule = {...}: {}; homeManagerModule = import ./home.nix;
} }

7
machines/gamepc/home.nix Normal file
View file

@ -0,0 +1,7 @@
{pkgs, ...}: {
home.packages = with pkgs.unstable; [
devenv
vlc
handbrake
];
}

View file

@ -1,4 +1,4 @@
{...}: { {pkgs, ...}: {
config = { config = {
pim = { pim = {
tidal.enable = true; tidal.enable = true;
@ -8,5 +8,37 @@
neovim.enable = true; neovim.enable = true;
firefox.enable = true; firefox.enable = true;
}; };
home.packages =
(with pkgs; [
jellyfin-media-player
virt-manager
])
++ (with pkgs.unstable; [
attic-client
dbeaver-bin
devenv
bottles-unwrapped
gimp
hexchat
impression
insomnia
keepassxc
krita
libreoffice
# logseq # Has insecure electron dependency
moonlight-qt
nicotine-plus
qFlipper
signal-desktop
strawberry
telegram-desktop
vlc
vorta
wireshark
# nheko # Has insecure olm dependency
handbrake
feishin
]);
}; };
} }