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

View File

@ -135,6 +135,21 @@
"type": "github" "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": { "root": {
"inputs": { "inputs": {
"agenix": "agenix", "agenix": "agenix",
@ -142,7 +157,8 @@
"flake-utils": "flake-utils", "flake-utils": "flake-utils",
"home-manager": "home-manager", "home-manager": "home-manager",
"nixos-hardware": "nixos-hardware", "nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs",
"nur": "nur"
} }
}, },
"systems": { "systems": {

View File

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

View File

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

View File

@ -8,11 +8,10 @@
services.udev.packages = [pkgs.yubikey-personalization]; services.udev.packages = [pkgs.yubikey-personalization];
programs = { programs = {
firefox = { #firefox = {
enable = true; # enable = true;
package = pkgs.firefox-devedition; # languagePacks = ["en-US" "lt" "de"];
languagePacks = ["en-US" "lt" "de"]; #};
};
}; };
mj.base.users.passwd.motiejus.extraGroups = ["networkmanager"]; mj.base.users.passwd.motiejus.extraGroups = ["networkmanager"];
@ -42,8 +41,11 @@
gimp gimp
qgis qgis
josm josm
joplin
yt-dlp
pandoc pandoc
evince evince
rtorrent
gpicview gpicview
signal-desktop signal-desktop
element-desktop element-desktop
@ -57,5 +59,26 @@
hunspell hunspell
hunspellDicts.en_US 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
];
};
};
};
};
}; };
} }