add mangowm and add packages needed for screensharing and screenshots

This commit is contained in:
lucy 2026-10-02 17:14:02 +02:00
commit 1461fc1fcf
3 changed files with 142 additions and 4 deletions

View file

@ -4,7 +4,6 @@
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
]; ];
nix.package = pkgs.lixPackageSets.stable.lix;
hardware.graphics.enable = true; hardware.graphics.enable = true;
services.xserver.videoDrivers = [ "nvidia" ]; services.xserver.videoDrivers = [ "nvidia" ];
hardware.nvidia = { hardware.nvidia = {
@ -13,8 +12,17 @@
package = config.boot.kernelPackages.nvidiaPackages.new_feature; package = config.boot.kernelPackages.nvidiaPackages.new_feature;
}; };
environment.sessionVariables.NIXOS_OZONE_WL = "1"; environment.sessionVariables.NIXOS_OZONE_WL = "1";
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = false;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
boot.loader.limine = {
enable = true;
extraEntries = ''
/Windows 11
protocol: efi
path: uuid(6E25-7E8D):/EFI/Microsoft/Boot/bootmgfw.efi
'';
};
boot.kernelPackages = pkgs.linuxPackages_latest; boot.kernelPackages = pkgs.linuxPackages_latest;
networking.hostName = "nerv"; networking.hostName = "nerv";
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
@ -60,6 +68,7 @@
}; };
config.enabledThemes = [ "tinted.css" ]; config.enabledThemes = [ "tinted.css" ];
}; };
programs.mango.enable = true;
users.users."lucy" = { users.users."lucy" = {
isNormalUser = true; isNormalUser = true;
description = "lucy"; description = "lucy";
@ -84,6 +93,13 @@
xournalpp xournalpp
btop btop
chromium chromium
fuzzel
quickshell
kdePackages.qtdeclarative
jq
grim
slurp
wl-clipboard
]; ];
}; };
fonts.packages = with pkgs; [ fonts.packages = with pkgs; [
@ -92,6 +108,7 @@
noto-fonts noto-fonts
noto-fonts-cjk-sans noto-fonts-cjk-sans
noto-fonts-color-emoji noto-fonts-color-emoji
inter
]; ];
programs.chromium.enable = true; programs.chromium.enable = true;
programs.chromium.extensions = [ programs.chromium.extensions = [

116
flake.lock generated
View file

@ -1,5 +1,45 @@
{ {
"nodes": { "nodes": {
"flake-parts": {
"inputs": {
"nixpkgs-lib": "nixpkgs-lib"
},
"locked": {
"lastModified": 1782949081,
"narHash": "sha256-vp6Y/Grm98ESt6ceOkWiHWyZRDV3J1RID4w+6NWK9yA=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "17c9d6cdfc60c64f4ee8d306f9bc0b4ccb51481e",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "flake-parts",
"type": "github"
}
},
"flake-utils": {
"inputs": {
"systems": [
"mangowm",
"scenefx",
"systems"
]
},
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"home-manager": { "home-manager": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -22,6 +62,28 @@
"type": "github" "type": "github"
} }
}, },
"mangowm": {
"inputs": {
"flake-parts": "flake-parts",
"nixpkgs": [
"nixpkgs"
],
"scenefx": "scenefx"
},
"locked": {
"lastModified": 1790938422,
"narHash": "sha256-xzObO2QvFXziKbCNCPyLHHbGZeZWTC5a+58gbiV3EtM=",
"owner": "mangowm",
"repo": "mango",
"rev": "0fc943479d0c0e32b4af3fc881da0e02abbacd89",
"type": "github"
},
"original": {
"owner": "mangowm",
"repo": "mango",
"type": "github"
}
},
"nix-darwin": { "nix-darwin": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -116,6 +178,21 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs-lib": {
"locked": {
"lastModified": 1782614948,
"narHash": "sha256-ePjCwr1sNm9NYUqywL7QfK3JnlS015msC+eBu2zKlp8=",
"owner": "nix-community",
"repo": "nixpkgs.lib",
"rev": "db3f255737b94216eb71cce308e2912cf6bc2d7c",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nixpkgs.lib",
"type": "github"
}
},
"nixpkgs-nixcord": { "nixpkgs-nixcord": {
"locked": { "locked": {
"lastModified": 1790635395, "lastModified": 1790635395,
@ -134,11 +211,50 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"mangowm": "mangowm",
"nix-maid": "nix-maid", "nix-maid": "nix-maid",
"nixcord": "nixcord", "nixcord": "nixcord",
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
} }
}, },
"scenefx": {
"inputs": {
"flake-utils": "flake-utils",
"nixpkgs": [
"mangowm",
"nixpkgs"
],
"systems": "systems"
},
"locked": {
"lastModified": 1782624992,
"narHash": "sha256-vUjLG6eubEhJJVa9LPygIcVmNoHwYbSUTJcWEcbxnU4=",
"owner": "wlrfx",
"repo": "scenefx",
"rev": "37ccd723bef49e6891156ffafce8f549f01446cc",
"type": "github"
},
"original": {
"owner": "wlrfx",
"repo": "scenefx",
"type": "github"
}
},
"systems": {
"locked": {
"lastModified": 1689347949,
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
"owner": "nix-systems",
"repo": "default-linux",
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default-linux",
"type": "github"
}
},
"treefmt-nix": { "treefmt-nix": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [

View file

@ -7,10 +7,13 @@
url = "github:4evy/nixcord"; url = "github:4evy/nixcord";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
nix-maid = { nix-maid = {
url = "git+https://codeberg.org/viperML/nix-maid"; url = "git+https://codeberg.org/viperML/nix-maid";
}; };
mangowm = {
url = "github:mangowm/mango";
inputs.nixpkgs.follows = "nixpkgs";
};
}; };
outputs = outputs =
@ -19,14 +22,16 @@
nixpkgs, nixpkgs,
nixcord, nixcord,
nix-maid, nix-maid,
mangowm,
}: }:
{ {
nixosConfigurations.nerv = nixpkgs.lib.nixosSystem { nixosConfigurations.nerv = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; }; specialArgs = { inherit inputs; };
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
inputs.nixcord.nixosModules.nixcord nixcord.nixosModules.nixcord
nix-maid.nixosModules.default nix-maid.nixosModules.default
mangowm.nixosModules.mango
./configuration.nix ./configuration.nix
./maid.nix ./maid.nix
]; ];