Compare commits
7 Commits
b79cf86f97
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
48295559ac | ||
|
|
8768abb51f | ||
| dbc118dcbb | |||
| c969b8d6f1 | |||
|
|
4249feaa76 | ||
|
|
f94cb01a84 | ||
|
|
fd4e4757b9 |
10
README.md
10
README.md
@@ -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.
|
||||||
@@ -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
9
modules/features/gpg.nix
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{ inputs, lib, self, ... }: {
|
||||||
|
flake.nixosModules.gnupg = { pkgs, ... }: {
|
||||||
|
programs.gnupg.agent = {
|
||||||
|
enable = true;
|
||||||
|
enableSSHSupport = true;
|
||||||
|
pinentryPackage = pkgs.pinentry-rofi;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
15
modules/features/mimetypes.nix
Normal file
15
modules/features/mimetypes.nix
Normal 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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user