cleanup programs
This commit is contained in:
parent
b356f392f3
commit
6a34ba5137
5 changed files with 35 additions and 24 deletions
|
@ -1,7 +1,7 @@
|
|||
{ config, lib, pkgs, ... }: {
|
||||
imports = [
|
||||
./hardware
|
||||
./packages.nix
|
||||
./programs
|
||||
./persistence.nix
|
||||
./plymouth.nix
|
||||
./secureboot.nix
|
||||
|
|
|
@ -1,23 +0,0 @@
|
|||
{ pkgs, ... }: {
|
||||
|
||||
programs = {
|
||||
dconf.enable = true;
|
||||
git.enable = true;
|
||||
gnupg.agent = {
|
||||
enable = true;
|
||||
enableExtraSocket = true;
|
||||
enableSSHSupport = true;
|
||||
pinentryFlavor = "gnome3";
|
||||
};
|
||||
neovim = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
viAlias = true;
|
||||
vimAlias = true;
|
||||
};
|
||||
seahorse.enable = true;
|
||||
xwayland.enable = true;
|
||||
zsh.enable = true;
|
||||
};
|
||||
environment.pathsToLink = [ "/share/zsh" ];
|
||||
}
|
16
system/programs/default.nix
Normal file
16
system/programs/default.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ ... }: {
|
||||
|
||||
imports = [
|
||||
./gnupg.nix
|
||||
./neovim.nix
|
||||
];
|
||||
|
||||
programs = {
|
||||
dconf.enable = true;
|
||||
git.enable = true;
|
||||
seahorse.enable = true;
|
||||
xwayland.enable = true;
|
||||
zsh.enable = true;
|
||||
};
|
||||
environment.pathsToLink = [ "/share/zsh" ];
|
||||
}
|
9
system/programs/gnupg.nix
Normal file
9
system/programs/gnupg.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ ... }: {
|
||||
programs.gnupg.agent = {
|
||||
enable = true;
|
||||
enableExtraSocket = true;
|
||||
enableSSHSupport = true;
|
||||
pinentryFlavor = "gnome3";
|
||||
};
|
||||
|
||||
}
|
9
system/programs/neovim.nix
Normal file
9
system/programs/neovim.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ ... }: {
|
||||
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
viAlias = true;
|
||||
vimAlias = true;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue