Compare commits
3 commits
9ebccf5cc6
...
5cc010a4b3
Author | SHA1 | Date | |
---|---|---|---|
5cc010a4b3 | |||
e8b33c28ab | |||
e49b8d41af |
3 changed files with 25 additions and 2 deletions
|
@ -41,6 +41,7 @@
|
||||||
|
|
||||||
security.rtkit.enable = true;
|
security.rtkit.enable = true;
|
||||||
security.pam.services.swaylock = {};
|
security.pam.services.swaylock = {};
|
||||||
|
services.udisks2.enable = true;
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
git
|
git
|
||||||
|
@ -59,6 +60,7 @@
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
imports = [
|
imports = [
|
||||||
../../modules/home/desktop
|
../../modules/home/desktop
|
||||||
|
../../modules/home/webcord.nix
|
||||||
../../modules/home/cli
|
../../modules/home/cli
|
||||||
../../modules/home/firefox
|
../../modules/home/firefox
|
||||||
../../modules/home/foot.nix
|
../../modules/home/foot.nix
|
||||||
|
|
|
@ -4,11 +4,15 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
userDirs = {
|
userDirs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
createDirectories = true;
|
||||||
documents = "documents";
|
documents = "documents";
|
||||||
download = "downloads";
|
download = "downloads";
|
||||||
music = "medias/music";
|
music = "medias/musics";
|
||||||
pictures = "medias/images";
|
pictures = "medias/images";
|
||||||
videos = "medias/video";
|
videos = "medias/videos";
|
||||||
|
templates = "tmp";
|
||||||
|
desktop = "documents";
|
||||||
|
publicShare = "tmp/public";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
17
modules/home/webcord.nix
Normal file
17
modules/home/webcord.nix
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
{ pkgs, ...}:
|
||||||
|
{
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
webcord
|
||||||
|
];
|
||||||
|
|
||||||
|
xdg.desktopEntries = {
|
||||||
|
webcord = {
|
||||||
|
name = "Webcord";
|
||||||
|
genericName = "Unofficial Discord client";
|
||||||
|
exec = "webcord --ozone-platform=wayland";
|
||||||
|
icon = "webcord";
|
||||||
|
terminal = false;
|
||||||
|
categories = [ "Application" "Network" "WebBrowser" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue