Compare commits

..

7 Commits

Author SHA1 Message Date
Asdam9
48295559ac Changed Profiles 2026-08-06 11:01:51 +02:00
Asdam9
8768abb51f implemented #10 2026-08-06 11:01:00 +02:00
dbc118dcbb Update README.md 2026-08-05 09:40:50 +00:00
c969b8d6f1 Update README.md 2026-08-05 09:39:43 +00:00
Asdam9
4249feaa76 Moved nvf to main, instead of visual 2026-08-05 10:46:56 +02:00
Asdam9
f94cb01a84 Implement MIME in profiles 2026-08-05 08:56:05 +02:00
Asdam9
fd4e4757b9 Added mimetypes 2026-08-05 08:54:33 +02:00
5 changed files with 36 additions and 14 deletions

View File

@@ -10,11 +10,15 @@ Essentially things can be put into three categories (and folders):
2. Profiles 2. Profiles
3. Features 3. Features
## Hosts ### Hosts
Machine specific config, how exactly to set each system up, especially with hardware and other such machine configs Machine specific config, how exactly to set each system up, especially with hardware and other such machine configs
## Profiles ### Profiles
Generalized profiles that package large amounts of features in easy to import modules Generalized profiles that package large amounts of features in easy to import modules
## Features ### Features
Every single software I have bothered setting up a module and config for Every single software I have bothered setting up a module and config for
## Build
On a valid NixOS install one can run `sudo nixos-rebuild switch --flake .#HOST` to build the specific configuration for specified host.

View File

@@ -12,12 +12,4 @@
}; };
}; };
}; };
flake.nixosModules.gnupg = { pkgs, ... }: {
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
pinentryPackage = pkgs.pinentry-rofi;
};
};
} }

9
modules/features/gpg.nix Normal file
View File

@@ -0,0 +1,9 @@
{ inputs, lib, self, ... }: {
flake.nixosModules.gnupg = { pkgs, ... }: {
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
pinentryPackage = pkgs.pinentry-rofi;
};
};
}

View File

@@ -0,0 +1,15 @@
{
flake.nixosModules.mime = {pkgs, ...}: {
environment.systemPackages = [
];
xdg.mime.defaultApplications = {
"application/pdf" = "zathura.desktop";
"image/*" = "sxiv.desktop";
"text/*" = "neovim.desktop";
"text/html" = "firefox.desktop";
"video/*" = "mpv.desktop";
"audio/*" = "mpv.desktop";
};
};
}

View File

@@ -11,9 +11,10 @@
self.nixosModules.git self.nixosModules.git
self.nixosModules.lf self.nixosModules.lf
self.nixosModules.zsh self.nixosModules.zsh
#self.nixosModules.stylix
self.nixosModules.hjem self.nixosModules.hjem
self.nixosModules.nh self.nixosModules.nh
self.nixosModules.nvf
#self.nixosModules.stylix
]; ];
nix.settings.experimental-features = [ "nix-command" "flakes" ]; nix.settings.experimental-features = [ "nix-command" "flakes" ];
@@ -63,14 +64,15 @@
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
zathura zathura
mpv mpv
obs-studio
gimp
]; ];
imports = [ imports = [
self.nixosModules.mime
self.nixosModules.niri self.nixosModules.niri
self.nixosModules.pipewire self.nixosModules.pipewire
self.nixosModules.discord self.nixosModules.discord
#self.nixosModules.neovim #self.nixosModules.neovim
self.nixosModules.nvf
self.nixosModules.alacritty self.nixosModules.alacritty
self.nixosModules.firefox self.nixosModules.firefox
self.nixosModules.chromium self.nixosModules.chromium