This commit is contained in:
Daniel Ziltener 2024-10-21 01:54:25 +02:00
parent eec5ddf08f
commit 3bcda62535
Signed by: zilti
GPG key ID: B38976E82C9DAE42
5 changed files with 109 additions and 23 deletions

View file

@ -99,7 +99,7 @@
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
# Enable CUPS to print documents. # Enable CUPS to print documents.
# services.printing.enable = true; services.printing.enable = true;
# Enable sound. # Enable sound.
# sound.enable = true; # sound.enable = true;
@ -160,6 +160,7 @@
"libvirtd" "libvirtd"
"kvm" "kvm"
"qemu" "qemu"
"cdrom"
]; ];
}; };
@ -211,6 +212,12 @@
# }; # };
}; };
programs.cdemu = {
enable = true;
group = "cdrom";
gui = true;
};
# Some programs need SUID wrappers, can be configured further or are # Some programs need SUID wrappers, can be configured further or are
# started in user sessions. # started in user sessions.
# programs.mtr.enable = true; # programs.mtr.enable = true;
@ -258,6 +265,17 @@
to = 1764; to = 1764;
} }
]; ];
allowedUDPPorts = [
5353 # mDNS / dnssd
];
};
services.resolved = {
enable = true;
extraConfig = ''
[Network]
MulticastDNS=Yes
'';
}; };
# networking.extraHosts = '' # networking.extraHosts = ''

View file

@ -3,7 +3,7 @@
disk = { disk = {
main = { main = {
#device = builtins.elemAt disks 0; #device = builtins.elemAt disks 0;
device = "/dev/nvme0n1"; # DEVICE_NAME device = "/dev/mmcblk0"; # DEVICE_NAME
type = "disk"; type = "disk";
content = { content = {
type = "gpt"; type = "gpt";

View file

@ -102,6 +102,7 @@
(scroll-bar-mode nil) (scroll-bar-mode nil)
(tab-always-indent 'complete) (tab-always-indent 'complete)
(tool-bar-mode nil) (tool-bar-mode nil)
(eldoc-echo-area-use-multiline-p 2)
(newsticker-url-list-defaults nil) (newsticker-url-list-defaults nil)
(newsticker-url-list (newsticker-url-list
'(("Tagesschau" "https://www.tagesschau.de/index~atom.xml" nil nil nil) '(("Tagesschau" "https://www.tagesschau.de/index~atom.xml" nil nil nil)
@ -892,13 +893,13 @@ Point must be at the beginning of balanced expression (sexp)."
;;; Wrapping Up ;;; Wrapping Up
;; (use-package envrc (use-package envrc
;; :config
;; (envrc-global-mode))
(use-package direnv
:config :config
(direnv-mode)) (envrc-global-mode))
;; (use-package direnv
;; :config
;; (direnv-mode))
(provide 'init) (provide 'init)
;;; init.el ends here ;;; init.el ends here

66
flake.lock Normal file
View file

@ -0,0 +1,66 @@
{
"nodes": {
"home-manager": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1729459288,
"narHash": "sha256-gBOVJv+q6Mx8jGvwX7cE6J8+sZmi1uxpRVsO7WxvVuQ=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "1e27f213d77fc842603628bcf2df6681d7d08f7e",
"type": "github"
},
"original": {
"owner": "nix-community",
"ref": "master",
"repo": "home-manager",
"type": "github"
}
},
"nix-flatpak": {
"locked": {
"lastModified": 1711997201,
"narHash": "sha256-J71xzQlVYsjagA4AsVwRazhBh2rZrPpKvxTgs6UzL7c=",
"owner": "gmodena",
"repo": "nix-flatpak",
"rev": "b76fa31346db7fc958a9898f3c594696ca71c4fd",
"type": "github"
},
"original": {
"owner": "gmodena",
"ref": "v0.4.1",
"repo": "nix-flatpak",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1729256560,
"narHash": "sha256-/uilDXvCIEs3C9l73JTACm4quuHUsIHcns1c+cHUJwA=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"home-manager": "home-manager",
"nix-flatpak": "nix-flatpak",
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}

View file

@ -13,7 +13,6 @@ args@{
home.packages = with pkgs; [ home.packages = with pkgs; [
appimage-run appimage-run
binutils binutils
bitwarden-desktop
bitwarden-cli bitwarden-cli
blueman blueman
brightnessctl brightnessctl
@ -26,7 +25,6 @@ args@{
fprintd-tod fprintd-tod
freetube freetube
freetype freetype
gamescope-wsi
gcc gcc
ghostscript ghostscript
gimp-with-plugins gimp-with-plugins
@ -75,16 +73,15 @@ args@{
pinentry-qt pinentry-qt
pixman pixman
plan9port plan9port
pynitrokey # pynitrokey
nitrokey-app2 # nitrokey-app2
pwvucontrol pwvucontrol
rar rar
retroarchFull # retroarchFull
rlwrap rlwrap
senpai senpai
signal-desktop signal-desktop
slurp slurp
space-cadet-pinball
sshfs sshfs
subversionClient subversionClient
sqlite sqlite
@ -96,6 +93,7 @@ args@{
unzip unzip
usbutils usbutils
vlc vlc
wine-wayland
wlr-randr wlr-randr
]; ];
@ -104,7 +102,7 @@ args@{
./waybar/settings.nix ./waybar/settings.nix
./emacs/emacs.nix ./emacs/emacs.nix
# ./chicken/chicken.nix # ./chicken/chicken.nix
./kodi/kodi.nix # ./kodi/kodi.nix
]; ];
home.stateVersion = "24.05"; home.stateVersion = "24.05";
@ -277,10 +275,13 @@ args@{
packages = [ packages = [
"com.github.tchx84.Flatseal" "com.github.tchx84.Flatseal"
"com.usebottles.bottles" "com.usebottles.bottles"
"infor.beyondallreason.bar" "info.beyondallreason.bar"
"com.valvesoftware.Steam" "com.valvesoftware.Steam"
"net.lutris.Lutris" "net.lutris.Lutris"
"org.freedesktop.Platform.VulkanLayer.gamescope" "tv.kodi.Kodi"
"org.libretro.RetroArch"
"org.freedesktop.Platform.VulkanLayer.gamescope/x86_64/24.08"
"com.stremio.Stremio"
]; ];
}; };
@ -629,11 +630,11 @@ args@{
timeout = 300; timeout = 300;
on-timeout = "${pkgs.hyprlock}/bin/hyprlock"; on-timeout = "${pkgs.hyprlock}/bin/hyprlock";
} }
{ # {
timeout = 1200; # timeout = 1200;
on-timeout = "hyprctl dispatch dpms off"; # on-timeout = "hyprctl dispatch dpms off";
on-resume = "hyprctl dispatch dpms on"; # on-resume = "hyprctl dispatch dpms on";
} # }
]; ];
}; };
}; };