feat: a lot of stuff

This commit is contained in:
Jacob Bachmann 2024-07-25 16:54:52 +02:00
parent a990c70c8f
commit 059f5efba3
Signed by: bchmnn
GPG key ID: 732A612DAD28067D
9 changed files with 42 additions and 9 deletions

12
flake.lock generated
View file

@ -23,11 +23,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1720737798, "lastModified": 1721323232,
"narHash": "sha256-G/OtEAts7ZUvW5lrGMXSb8HqRp2Jr9I7reBuvCOL54w=", "narHash": "sha256-T4K2P8FayLshsIkY04i7M8qs0aQY5ugf8HsghqGONCc=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "c5013aa7ce2c7ec90acee5d965d950c8348db751", "rev": "ede1f14cc21e811a605f16c6b69bd3e8425383d7",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -39,11 +39,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1720954236, "lastModified": 1721226092,
"narHash": "sha256-1mEKHp4m9brvfQ0rjCca8P1WHpymK3TOr3v34ydv9bs=", "narHash": "sha256-UBvzVpo5sXSi2S/Av+t+Q+C2mhMIw/LBEZR+d6NMjws=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "53e81e790209e41f0c1efa9ff26ff2fd7ab35e27", "rev": "c716603a63aca44f39bef1986c13402167450e0a",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -39,7 +39,9 @@
inputs.home-manager.nixosModules.home-manager inputs.home-manager.nixosModules.home-manager
{ {
imports = [ ./users/gandalf ]; imports = [
./users/gandalf
];
} }
]; ];

View file

@ -26,7 +26,7 @@
devenv.enable = true; devenv.enable = true;
virtualisation.enable = true; virtualisation.enable = true;
games.enable = false; games.enable = true;
ratbag.enable = true; ratbag.enable = true;
ai.enable = false; ai.enable = false;

View file

@ -78,6 +78,7 @@
./kdeconnect.nix ./kdeconnect.nix
./keyd.nix ./keyd.nix
./man.nix ./man.nix
./nautilus.nix
./network.nix ./network.nix
./nh.nix ./nh.nix
./nix-ld.nix ./nix-ld.nix
@ -98,6 +99,7 @@
./udisks2.nix ./udisks2.nix
./virtualisation.nix ./virtualisation.nix
./vpn.nix ./vpn.nix
./wine.nix
./xdg-portal.nix ./xdg-portal.nix
]; ];
} }

18
modules/nautilus.nix Normal file
View file

@ -0,0 +1,18 @@
{ pkgs, lib, config, ... }: with config.bchmnn; lib.mkIf (gui.enable && gui.flavour != [ ]) {
programs.nautilus-open-any-terminal = {
enable = true;
terminal = "alacritty";
};
environment = {
sessionVariables.NAUTILUS_4_EXTENSION_DIR = "${pkgs.gnome.nautilus-python}/lib/nautilus/extensions-4";
pathsToLink = [
"/share/nautilus-python/extensions"
];
systemPackages = with pkgs; [
gnome.nautilus
gnome.nautilus-python
];
};
}

5
modules/wine.nix Normal file
View file

@ -0,0 +1,5 @@
{ pkgs, ... }: {
environment.systemPackages = with pkgs; [
wineWowPackages.waylandFull
];
}

View file

@ -4,6 +4,7 @@
./alacritty.nix ./alacritty.nix
./chromium ./chromium
./discord.nix ./discord.nix
./games.nix
./keyring.nix ./keyring.nix
./obs.nix ./obs.nix
./vscode.nix ./vscode.nix
@ -23,7 +24,6 @@
signal-desktop # private, simple, and secure messenger signal-desktop # private, simple, and secure messenger
zoom-us # zoom.us video conferencing application zoom-us # zoom.us video conferencing application
gnome.nautilus # the file manager for gnome
gnome.simple-scan # simple scanning utility gnome.simple-scan # simple scanning utility
gnome.gnome-font-viewer # program that can preview fonts and create thumbnails for fonts gnome.gnome-font-viewer # program that can preview fonts and create thumbnails for fonts
pppdf pppdf

View file

@ -0,0 +1,5 @@
{ nixosConfig, lib, pkgs, ... }: lib.mkIf nixosConfig.bchmnn.games.enable {
home.packages = with pkgs; [
extremetuxracer
];
}

View file

@ -14,6 +14,7 @@
texliveFull # tex live environment texliveFull # tex live environment
imagemagick # software suite to create, edit, compose, or convert bitmap images imagemagick # software suite to create, edit, compose, or convert bitmap images
ghostscript # postscript interpreter (mainline version) ghostscript # postscript interpreter (mainline version)
pdftk # command-line tool for working with pdfs
ventoy-full # bootable usb solution ventoy-full # bootable usb solution
isisdl # downloader for isis of tu-berlin isisdl # downloader for isis of tu-berlin
sage # open source mathematics software, free alternative to magma, maple, mathematica, and matlab sage # open source mathematics software, free alternative to magma, maple, mathematica, and matlab