move everything around

This commit is contained in:
Adithya 2023-04-04 09:58:29 +05:30
parent 7a466530c1
commit 6584a78556
Signed by: adtya
GPG key ID: 48FC9915FFD326D0
13 changed files with 81 additions and 83 deletions

View file

@ -19,37 +19,15 @@ in
nixvim.homeManagerModules.nixvim nixvim.homeManagerModules.nixvim
hyprland.homeManagerModules.default hyprland.homeManagerModules.default
./dev.nix
./downloader.nix ./downloader.nix
./firefox.nix
./gnome-keyring.nix
./gtk.nix ./gtk.nix
./media.nix ./media.nix
./misc.nix ./misc.nix
./persistence.nix ./persistence.nix
./scripts.nix ./scripts.nix
./terminal.nix
./virt-manager.nix
./wm ./wm
]; ./programs
./services
home.packages = with pkgs; [
_1password-gui
brightnessctl
discord
evince
gnome.eog
gnome.gnome-system-monitor
gnome3.gnome-disk-utility
libsecret
pantheon.elementary-files
pavucontrol
xdg-utils
yubioath-flutter
yubikey-manager
yubikey-manager-qt
yubikey-personalization
yubikey-personalization-gui
]; ];
dconf.settings = { dconf.settings = {
@ -61,30 +39,6 @@ in
}; };
}; };
programs = {
gpg = {
enable = true;
settings = {
keyserver = "hkps://keys.openpgp.org";
};
scdaemonSettings = {
disable-ccid = true;
};
};
ssh = {
enable = true;
};
};
services.blueman-applet.enable = true;
services.gpg-agent = {
enable = true;
enableExtraSocket = true;
enableScDaemon = true;
enableSshSupport = true;
pinentryFlavor = "gnome3";
};
xdg.enable = true; xdg.enable = true;
xdg.mime.enable = true; xdg.mime.enable = true;
xdg.mimeApps.enable = true; xdg.mimeApps.enable = true;

View file

@ -1,3 +0,0 @@
{ pkgs, ... }: {
services.gnome-keyring.enable = true;
}

46
home/programs/default.nix Normal file
View file

@ -0,0 +1,46 @@
{ pkgs, ... }: {
imports = [
./dev.nix
./firefox.nix
./kitty.nix
./nixvim.nix
./tmux.nix
./tui.nix
./virt-manager.nix
];
home.packages = with pkgs; [
_1password-gui
brightnessctl
discord
evince
gnome.eog
gnome.gnome-system-monitor
gnome3.gnome-disk-utility
libsecret
pantheon.elementary-files
pavucontrol
xdg-utils
yubioath-flutter
yubikey-manager
yubikey-manager-qt
yubikey-personalization
yubikey-personalization-gui
];
programs = {
gpg = {
enable = true;
settings = {
keyserver = "hkps://keys.openpgp.org";
};
scdaemonSettings = {
disable-ccid = true;
};
};
ssh = {
enable = true;
};
};
}

View file

@ -1,6 +1,6 @@
{ pkgs, ... }: { pkgs, ... }:
let let
user = import ../users/user.nix; user = import ../../users/user.nix;
in in
{ {
imports = [ imports = [

View file

@ -1,7 +1,4 @@
{ pkgs { pkgs, osConfig, ... }: {
, osConfig
, ...
}: {
programs = { programs = {
firefox = { firefox = {
enable = true; enable = true;

View file

@ -1,11 +1,4 @@
{ config { config, pkgs, ... }: {
, pkgs
, ...
}: {
imports = [
./kitty.nix
./tmux.nix
];
xdg.desktopEntries."btop".name = "btop++"; xdg.desktopEntries."btop".name = "btop++";
xdg.desktopEntries."btop".exec = "btop"; xdg.desktopEntries."btop".exec = "btop";

11
home/services/default.nix Normal file
View file

@ -0,0 +1,11 @@
{ ... }: {
services.blueman-applet.enable = true;
services.gnome-keyring.enable = true;
services.gpg-agent = {
enable = true;
enableExtraSocket = true;
enableScDaemon = true;
enableSshSupport = true;
pinentryFlavor = "gnome3";
};
}

View file

@ -1,4 +1,4 @@
{ config, pkgs , ... }: { config, pkgs, ... }:
let let
dmenu = "${config.programs.rofi.package}/bin/rofi -dmenu"; dmenu = "${config.programs.rofi.package}/bin/rofi -dmenu";
firefox = "${config.programs.firefox.package}/bin/firefox"; firefox = "${config.programs.firefox.package}/bin/firefox";