new modlues

This commit is contained in:
joygnu 2024-07-09 22:20:44 +02:00
parent 3af052cd18
commit bed26a204c
7 changed files with 63 additions and 46 deletions

View file

@ -0,0 +1,12 @@
{ pkgs, ... }:
{
boot.binfmt.registrations.appimage = {
wrapInterpreterInShell = false;
interpreter = "${pkgs.appimage-run}/bin/appimage-run";
recognitionType = "magic";
offset = 0;
mask = ''\xff\xff\xff\xff\x00\x00\x00\x00\xff\xff\xff'';
magicOrExtension = ''\x7fELF....AI\x02'';
};
}

6
modules/blue/default.nix Normal file
View file

@ -0,0 +1,6 @@
{ ... }:
{
services.blueman.enable = true;
hardware.bluetooth.enable = true;
}

View file

@ -7,5 +7,10 @@
./misc
./gdm
./stylix
./blue
./services
./syncthing
./gpg
./appimage
];
}

10
modules/gpg/default.nix Normal file
View file

@ -0,0 +1,10 @@
{ pkgs, ... }:
{
services.pcscd.enable = true;
programs.gnupg.agent = {
enable = true;
pinentryPackage = pkgs.pinentry-curses;
enableSSHSupport = true;
};
}

View file

@ -1,63 +1,28 @@
{ inputs, pkgs, ... }:
{
services.blueman.enable = true;
hardware.bluetooth.enable = true;
virtualisation.docker.rootless.enable = true;
virtualisation.docker.enable = true;
nixpkgs.config.allowUnfree = true;
programs.steam.enable = true;
services = {
syncthing = {
enable = true;
user = "joy";
dataDir = "/home/joy/";
configDir = "/home/joy/.config/syncthing";
};
};
services.pcscd.enable = true;
programs.gnupg.agent = {
enable = true;
pinentryPackage = pkgs.pinentry-curses;
enableSSHSupport = true;
};
programs.hyprland.enable = true;
users.defaultUserShell = pkgs.zsh;
programs.zsh.enable = true;
home-manager = {
extraSpecialArgs = {inherit inputs;};
users = {
"joy" = import ./../../home;
};
};
users.users.joy = {
isNormalUser = true;
description = "joy";
extraGroups = [ "wheel" "docker" ];
};
virtualisation.docker.rootless.enable = true;
virtualisation.docker.enable = true;
nixpkgs.config.allowUnfree = true;
programs.steam.enable = true;
programs.hyprland.enable = true;
users.defaultUserShell = pkgs.zsh;
programs.zsh.enable = true;
nix.settings.experimental-features = [ "nix-command" "flakes"];
time.timeZone = "Europe/Zurich";
services.devmon.enable = true;
services.udisks2.enable = true;
services.gvfs.enable = true;
programs.nix-ld.enable = true;
boot.binfmt.registrations.appimage = {
wrapInterpreterInShell = false;
interpreter = "${pkgs.appimage-run}/bin/appimage-run";
recognitionType = "magic";
offset = 0;
mask = ''\xff\xff\xff\xff\x00\x00\x00\x00\xff\xff\xff'';
magicOrExtension = ''\x7fELF....AI\x02'';
};
time.timeZone = "Europe/Zurich";
system.stateVersion = "23.11";
}

View file

@ -0,0 +1,7 @@
{ ... }:
{
services.devmon.enable = true;
services.udisks2.enable = true;
services.gvfs.enable = true;
}

View file

@ -0,0 +1,12 @@
{ ... }:
{
services = {
syncthing = {
enable = true;
user = "joy";
dataDir = "/home/joy/";
configDir = "/home/joy/.config/syncthing";
};
};
}