add some applications and extensions

This commit is contained in:
Motiejus Jakštys 2023-09-15 14:39:04 +03:00
parent 588f530f22
commit 2bc3275dfc
4 changed files with 57 additions and 11 deletions

18
flake.lock generated
View File

@ -135,6 +135,21 @@
"type": "github"
}
},
"nur": {
"locked": {
"lastModified": 1694774810,
"narHash": "sha256-NAhKnb3moIAPw7MHWPszU9jhVN7m7238hUjo3S4MOSE=",
"owner": "nix-community",
"repo": "NUR",
"rev": "60cfb808f97244b385f85e0ec0c04cb82e7aa370",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "NUR",
"type": "github"
}
},
"root": {
"inputs": {
"agenix": "agenix",
@ -142,7 +157,8 @@
"flake-utils": "flake-utils",
"home-manager": "home-manager",
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs"
"nixpkgs": "nixpkgs",
"nur": "nur"
}
},
"systems": {

View File

@ -18,6 +18,8 @@
deploy-rs.url = "github:serokell/deploy-rs";
deploy-rs.inputs.nixpkgs.follows = "nixpkgs";
deploy-rs.inputs.utils.follows = "flake-utils";
nur.url = "github:nix-community/NUR";
};
nixConfig = {
@ -33,6 +35,7 @@
flake-utils,
home-manager,
nixos-hardware,
nur,
} @ inputs: let
myData = import ./data.nix;
in
@ -81,11 +84,13 @@
nixosConfigurations.fwminex = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
{nixpkgs.overlays = [ nur.overlay ]; }
./hosts/fwminex/configuration.nix
./modules
./modules/profiles/desktop
nur.nixosModules.nur
agenix.nixosModules.default
home-manager.nixosModules.home-manager
nixos-hardware.nixosModules.framework-12th-gen-intel

View File

@ -61,7 +61,7 @@
home-manager.useGlobalPkgs = true;
home-manager.users.motiejus = {pkgs, ...}: {
home.stateVersion = "23.05";
home.stateVersion = config.mj.stateVersion;
home.packages = with pkgs; [go];
programs.direnv.enable = true;
@ -104,10 +104,12 @@
enable = true;
mutableKeys = false;
mutableTrust = false;
publicKeys = [{
source = ./motiejus-gpg.txt;
trust = "ultimate";
}];
publicKeys = [
{
source = ./motiejus-gpg.txt;
trust = "ultimate";
}
];
};
services.gpg-agent = {

View File

@ -8,11 +8,10 @@
services.udev.packages = [pkgs.yubikey-personalization];
programs = {
firefox = {
enable = true;
package = pkgs.firefox-devedition;
languagePacks = ["en-US" "lt" "de"];
};
#firefox = {
# enable = true;
# languagePacks = ["en-US" "lt" "de"];
#};
};
mj.base.users.passwd.motiejus.extraGroups = ["networkmanager"];
@ -42,8 +41,11 @@
gimp
qgis
josm
joplin
yt-dlp
pandoc
evince
rtorrent
gpicview
signal-desktop
element-desktop
@ -57,5 +59,26 @@
hunspell
hunspellDicts.en_US
];
home-manager.users.motiejus = {pkgs, ...}: {
programs.firefox = {
enable = true;
package = pkgs.firefox-devedition;
profiles = {
xdefault = {
isDefault = true;
search.default = "DuckDuckGo";
settings = {
"browser.contentblocking.category" = "strict";
"layout.css.prefers-color-scheme.content-override" = 0;
};
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
ublock-origin
joplin-web-clipper
];
};
};
};
};
};
}