modified: flake.nix
modified: hosts/nixos/home.nix
This commit is contained in:
27
flake.nix
27
flake.nix
@@ -21,33 +21,6 @@
|
|||||||
"github.com=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"
|
"github.com=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"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
homeConfigurations = {
|
|
||||||
nixos = home-manager.lib.homeManagerConfiguration {
|
|
||||||
inherit nixpkgs;
|
|
||||||
modules = [
|
|
||||||
firefox-webapp.home-modules.firefox-webapp
|
|
||||||
];
|
|
||||||
configuration = { config, pkgs, ... }: {
|
|
||||||
programs.firefox.enable = true;
|
|
||||||
graphical.webapps = {
|
|
||||||
discord = {
|
|
||||||
url = "https://discord.com/app";
|
|
||||||
profile = "webapp_discord";
|
|
||||||
iconUrl = "https://discord.com/assets/icon.png";
|
|
||||||
name = "Discord Web";
|
|
||||||
windowClass = "DiscordWebApp";
|
|
||||||
};
|
|
||||||
telegram = {
|
|
||||||
url = "https://web.telegram.org";
|
|
||||||
profile = "webapp_telegram";
|
|
||||||
iconUrl = "https://telegram.org/img/t_logo.png";
|
|
||||||
name = "Telegram Web";
|
|
||||||
windowClass = "TelegramWebApp";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
# automatically use each host folder by name
|
# automatically use each host folder by name
|
||||||
nixos = nixpkgs.lib.nixosSystem {
|
nixos = nixpkgs.lib.nixosSystem {
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
../../common/aliases.nix
|
../../common/aliases.nix
|
||||||
|
inputs.firefox-webapp.home-modules.firefox-webapp
|
||||||
];
|
];
|
||||||
|
|
||||||
home.username = "nixos"; # your actual username
|
home.username = "nixos"; # your actual username
|
||||||
@@ -33,5 +34,23 @@
|
|||||||
# Optionally start in background directly
|
# Optionally start in background directly
|
||||||
startInBackground = true;
|
startInBackground = true;
|
||||||
};
|
};
|
||||||
|
programs.firefox.enable = true;
|
||||||
|
graphical.enable = true;
|
||||||
|
|
||||||
|
graphical.webapps = {
|
||||||
|
discord = {
|
||||||
|
url = "https://discord.com/app";
|
||||||
|
profile = "webapp_discord";
|
||||||
|
iconUrl = "https://discord.com/assets/icon.png";
|
||||||
|
name = "Discord Web";
|
||||||
|
windowClass = "DiscordWebApp";
|
||||||
|
};
|
||||||
|
telegram = {
|
||||||
|
url = "https://web.telegram.org";
|
||||||
|
profile = "webapp_telegram";
|
||||||
|
iconUrl = "https://telegram.org/img/t_logo.png";
|
||||||
|
name = "Telegram Web";
|
||||||
|
windowClass = "TelegramWebApp";
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user