mirror of
https://github.com/fredrikr79/nixos.git
synced 2026-02-03 20:13:12 +01:00
change from libreoffice to onlyoffice
This commit is contained in:
@@ -316,7 +316,6 @@ in
|
||||
# fcitx5-configtool
|
||||
# kdePackages.dolphin
|
||||
nnn
|
||||
libreoffice-qt6-fresh
|
||||
nix-tree
|
||||
xsecurelock
|
||||
]
|
||||
|
||||
100
flake.nix
100
flake.nix
@@ -10,15 +10,15 @@
|
||||
};
|
||||
|
||||
vi-xournalpp = {
|
||||
url = "github:raw-bacon/vi-xournalpp";
|
||||
flake = false;
|
||||
url = "github:raw-bacon/vi-xournalpp";
|
||||
flake = false;
|
||||
};
|
||||
|
||||
# zen-browser.url = "github:Gurjaka/zen-browser-nix";
|
||||
|
||||
#nbfc-linux = {
|
||||
#url = "github:nbfc-linux/nbfc-linux";
|
||||
#inputs.nixpkgs.follows = "nixpkgs";
|
||||
#url = "github:nbfc-linux/nbfc-linux";
|
||||
#inputs.nixpkgs.follows = "nixpkgs";
|
||||
#};
|
||||
|
||||
nixvim = {
|
||||
@@ -52,59 +52,63 @@
|
||||
inherit system;
|
||||
config.allowUnfree = true;
|
||||
# overlays = [ qotd.overlays.default ];
|
||||
config.allowInsecurePredicate = pkg: let
|
||||
name = "${lib.getName pkg}-${lib.getVersion pkg}";
|
||||
byName = builtins.elem name [
|
||||
# "libxml2-2.13.8"
|
||||
];
|
||||
in if byName
|
||||
then lib.warn "Allowing insecure package: ${name}" true
|
||||
else false;
|
||||
config.allowInsecurePredicate =
|
||||
pkg:
|
||||
let
|
||||
name = "${lib.getName pkg}-${lib.getVersion pkg}";
|
||||
byName = builtins.elem name [
|
||||
# "libxml2-2.13.8"
|
||||
];
|
||||
in
|
||||
if byName then lib.warn "Allowing insecure package: ${name}" true else false;
|
||||
};
|
||||
lib = nixpkgs.lib;
|
||||
in
|
||||
in
|
||||
{
|
||||
nixosConfigurations = {
|
||||
#nixos = lib.nixosSystem {
|
||||
#inherit system;
|
||||
#specialArgs = {inherit inputs;};
|
||||
#modules = [
|
||||
#./configuration.nix
|
||||
#];
|
||||
#nixos = lib.nixosSystem {
|
||||
#inherit system;
|
||||
#specialArgs = {inherit inputs;};
|
||||
#modules = [
|
||||
#./configuration.nix
|
||||
#];
|
||||
#};
|
||||
|
||||
fredrikr = lib.nixosSystem {
|
||||
inherit system pkgs;
|
||||
specialArgs = {inherit inputs;};
|
||||
modules = [
|
||||
./configuration.nix
|
||||
fredrikr = lib.nixosSystem {
|
||||
inherit system pkgs;
|
||||
specialArgs = { inherit inputs; };
|
||||
modules = [
|
||||
./configuration.nix
|
||||
|
||||
home-manager.nixosModules.home-manager
|
||||
home-manager.nixosModules.home-manager
|
||||
|
||||
# qotd.nixosModules.default
|
||||
# {
|
||||
# services.qotd.enable = true;
|
||||
# services.qotd.quotes = [ "hei" "hade" ];
|
||||
# }
|
||||
# qotd.nixosModules.default
|
||||
# {
|
||||
# services.qotd.enable = true;
|
||||
# services.qotd.quotes = [ "hei" "hade" ];
|
||||
# }
|
||||
|
||||
({ ... }: {
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
backupFileExtension = "backup";
|
||||
users.fredrikr = {
|
||||
imports = [
|
||||
./home.nix
|
||||
nixvim.homeModules.nixvim
|
||||
];
|
||||
};
|
||||
extraSpecialArgs = {
|
||||
inherit inputs;
|
||||
};
|
||||
};
|
||||
})
|
||||
];
|
||||
};
|
||||
(
|
||||
{ ... }:
|
||||
{
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
backupFileExtension = "backup";
|
||||
users.fredrikr = {
|
||||
imports = [
|
||||
./home.nix
|
||||
nixvim.homeModules.nixvim
|
||||
];
|
||||
};
|
||||
extraSpecialArgs = {
|
||||
inherit inputs;
|
||||
};
|
||||
};
|
||||
}
|
||||
)
|
||||
];
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user