mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-05-23 04:46:06 -07:00
Compare commits
6 Commits
3beb734431
...
9399b584f8
Author | SHA1 | Date | |
---|---|---|---|
9399b584f8 | |||
2585388001 | |||
3f3c4248f0 | |||
869a864a9b | |||
3be543990b | |||
a0bee93c94 |
@ -18,7 +18,7 @@
|
|||||||
# Modules
|
# Modules
|
||||||
modules = {
|
modules = {
|
||||||
desktop = {
|
desktop = {
|
||||||
browser.enable = true;
|
enable = true;
|
||||||
gnome.enable = true;
|
gnome.enable = true;
|
||||||
};
|
};
|
||||||
devel = {
|
devel = {
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
# Modules
|
# Modules
|
||||||
modules = {
|
modules = {
|
||||||
desktop = {
|
desktop = {
|
||||||
browser.enable = true;
|
enable = true;
|
||||||
gnome.enable = true;
|
gnome.enable = true;
|
||||||
};
|
};
|
||||||
devel = {
|
devel = {
|
||||||
|
@ -25,12 +25,13 @@
|
|||||||
docker-compose
|
docker-compose
|
||||||
podman-tui
|
podman-tui
|
||||||
dive
|
dive
|
||||||
|
appgate-sdp
|
||||||
];
|
];
|
||||||
|
|
||||||
# Modules
|
# Modules
|
||||||
modules = {
|
modules = {
|
||||||
desktop = {
|
desktop = {
|
||||||
browser.enable = true;
|
enable = true;
|
||||||
gnome.enable = true;
|
gnome.enable = true;
|
||||||
};
|
};
|
||||||
devel = {
|
devel = {
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
# Modules
|
# Modules
|
||||||
modules = {
|
modules = {
|
||||||
desktop = {
|
desktop = {
|
||||||
browser.enable = true;
|
enable = true;
|
||||||
gnome.enable = true;
|
gnome.enable = true;
|
||||||
};
|
};
|
||||||
devel = {
|
devel = {
|
||||||
|
@ -1,4 +0,0 @@
|
|||||||
{ ... }:
|
|
||||||
{
|
|
||||||
imports = [ ./chrome.nix ./firefox.nix ];
|
|
||||||
}
|
|
@ -1,7 +1,14 @@
|
|||||||
{ config, lib, pkgs, user, inputs, ... }:
|
{ config, lib, pkgs, user, inputs, ... }:
|
||||||
{
|
|
||||||
imports = [ ./browser ./keyd.nix ./gnome.nix ];
|
|
||||||
|
|
||||||
|
let cfg = config.modules.desktop;
|
||||||
|
in {
|
||||||
|
imports = [
|
||||||
|
./keyd.nix
|
||||||
|
./gnome.nix
|
||||||
|
];
|
||||||
|
|
||||||
|
options.modules.desktop.enable = lib.mkEnableOption "desktop";
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
bc # Arbitrary-precision arithmetic language.
|
bc # Arbitrary-precision arithmetic language.
|
||||||
fzf # Command-line fuzzy finder for Unix-like operating systems.
|
fzf # Command-line fuzzy finder for Unix-like operating systems.
|
||||||
@ -36,4 +43,5 @@
|
|||||||
"application/x-extension-xht" = [ "google-chrome.desktop" ];
|
"application/x-extension-xht" = [ "google-chrome.desktop" ];
|
||||||
"application/pdf" = [ "google-chrome.desktop" ]; };
|
"application/pdf" = [ "google-chrome.desktop" ]; };
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
@ -36,4 +36,10 @@
|
|||||||
{ "url" = "https://old.reddit.com/r/nixos/"; name = "nixos-reddit"; }
|
{ "url" = "https://old.reddit.com/r/nixos/"; name = "nixos-reddit"; }
|
||||||
{ "url" = "https://nixos.wiki/"; name = "nixos-wiki"; }
|
{ "url" = "https://nixos.wiki/"; name = "nixos-wiki"; }
|
||||||
]; }
|
]; }
|
||||||
|
{ "name" = "Work"; "children" = [
|
||||||
|
{ url = "https://webmail.apps.mil/owa"; name = "WebMail";}
|
||||||
|
{ url = "https://dod.teams.microsoft.us/"; name = "Teams";}
|
||||||
|
{ url = "https://usaf-my.dps.mil/"; name = "OneDrive";}
|
||||||
|
]; }
|
||||||
|
|
||||||
]
|
]
|
@ -1,9 +1,16 @@
|
|||||||
{ config, lib, pkgs, user, ... }:
|
{ config, lib, pkgs, user, ... }:
|
||||||
|
|
||||||
let cfg = config.modules.desktop.browser;
|
let cfg1 = config.modules.desktop;
|
||||||
|
cfg2 = config.modules.programs.chrome;
|
||||||
in {
|
in {
|
||||||
# Enable option declared in firefox.nix
|
options.modules.programs.chrome = with lib; {
|
||||||
config = lib.mkIf cfg.enable {
|
enable = lib.mkOption {
|
||||||
|
type = types.bool;
|
||||||
|
default = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf (cfg1.enable && cfg2.enable) {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
google-chrome # Web browser developed by Google.
|
google-chrome # Web browser developed by Google.
|
||||||
];
|
];
|
||||||
@ -46,7 +53,7 @@ in {
|
|||||||
# Setup bookmarks
|
# Setup bookmarks
|
||||||
"BookmarkBarEnabled" = true;
|
"BookmarkBarEnabled" = true;
|
||||||
"ShowAppsShortcutInBookmarkBar" = false;
|
"ShowAppsShortcutInBookmarkBar" = false;
|
||||||
"ManagedBookmarks" = import ./bookmarks/chrome.nix;
|
"ManagedBookmarks" = import ./bookmarks.nix;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
@ -1,6 +1,8 @@
|
|||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
./chrome
|
||||||
|
./firefox
|
||||||
./git.nix
|
./git.nix
|
||||||
./chezmoi.nix
|
./chezmoi.nix
|
||||||
./kitty.nix
|
./kitty.nix
|
||||||
|
@ -1,10 +1,17 @@
|
|||||||
{ config, lib, pkgs, user, ... }:
|
{ config, lib, pkgs, user, ... }:
|
||||||
|
|
||||||
let cfg = config.modules.desktop.browser;
|
let cfg1 = config.modules.desktop;
|
||||||
|
cfg2 = config.modules.programs.firefox;
|
||||||
in {
|
in {
|
||||||
options.modules.desktop.browser.enable = lib.mkEnableOption "browser";
|
options.modules.programs.firefox = with lib; {
|
||||||
config = lib.mkIf cfg.enable {
|
enable = lib.mkOption {
|
||||||
# Install applications for CAC
|
type = types.bool;
|
||||||
|
default = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf (cfg1.enable && cfg2.enable) {
|
||||||
|
# Applications for CAC usage
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
opensc
|
opensc
|
||||||
pcsc-tools
|
pcsc-tools
|
||||||
@ -15,7 +22,7 @@ in {
|
|||||||
programs.firefox = {
|
programs.firefox = {
|
||||||
enable = true;
|
enable = true;
|
||||||
profiles.default = {
|
profiles.default = {
|
||||||
bookmarks = import ./bookmarks/firefox.nix;
|
bookmarks = import ./bookmarks.nix;
|
||||||
isDefault = true;
|
isDefault = true;
|
||||||
name = "default";
|
name = "default";
|
||||||
settings = {
|
settings = {
|
8
provision/overlays/appgate-sdp.nix
Normal file
8
provision/overlays/appgate-sdp.nix
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
self: super: {
|
||||||
|
appgate-sdp = super.appgate-sdp.overrideAttrs (old: {
|
||||||
|
src = super.fetchurl {
|
||||||
|
url = "https://bin.appgate-sdp.com/6.4/client/appgate-sdp_6.4.0_amd64.deb";
|
||||||
|
sha256 = "sha256-0h6Mz3B7fADGL5tGbrKNYpVIAvRu7Xx0n9OvjOeVCds=";
|
||||||
|
};
|
||||||
|
});
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user