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;
# Enable CUPS to print documents.
# services.printing.enable = true;
services.printing.enable = true;
# Enable sound.
# sound.enable = true;
@ -160,6 +160,7 @@
"libvirtd"
"kvm"
"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
# started in user sessions.
# programs.mtr.enable = true;
@ -258,6 +265,17 @@
to = 1764;
}
];
allowedUDPPorts = [
5353 # mDNS / dnssd
];
};
services.resolved = {
enable = true;
extraConfig = ''
[Network]
MulticastDNS=Yes
'';
};
# networking.extraHosts = ''

View file

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

View file

@ -102,6 +102,7 @@
(scroll-bar-mode nil)
(tab-always-indent 'complete)
(tool-bar-mode nil)
(eldoc-echo-area-use-multiline-p 2)
(newsticker-url-list-defaults nil)
(newsticker-url-list
'(("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
;; (use-package envrc
;; :config
;; (envrc-global-mode))
(use-package direnv
(use-package envrc
:config
(direnv-mode))
(envrc-global-mode))
;; (use-package direnv
;; :config
;; (direnv-mode))
(provide 'init)
;;; 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; [
appimage-run
binutils
bitwarden-desktop
bitwarden-cli
blueman
brightnessctl
@ -26,7 +25,6 @@ args@{
fprintd-tod
freetube
freetype
gamescope-wsi
gcc
ghostscript
gimp-with-plugins
@ -75,16 +73,15 @@ args@{
pinentry-qt
pixman
plan9port
pynitrokey
nitrokey-app2
# pynitrokey
# nitrokey-app2
pwvucontrol
rar
retroarchFull
# retroarchFull
rlwrap
senpai
signal-desktop
slurp
space-cadet-pinball
sshfs
subversionClient
sqlite
@ -96,6 +93,7 @@ args@{
unzip
usbutils
vlc
wine-wayland
wlr-randr
];
@ -104,7 +102,7 @@ args@{
./waybar/settings.nix
./emacs/emacs.nix
# ./chicken/chicken.nix
./kodi/kodi.nix
# ./kodi/kodi.nix
];
home.stateVersion = "24.05";
@ -277,10 +275,13 @@ args@{
packages = [
"com.github.tchx84.Flatseal"
"com.usebottles.bottles"
"infor.beyondallreason.bar"
"info.beyondallreason.bar"
"com.valvesoftware.Steam"
"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;
on-timeout = "${pkgs.hyprlock}/bin/hyprlock";
}
{
timeout = 1200;
on-timeout = "hyprctl dispatch dpms off";
on-resume = "hyprctl dispatch dpms on";
}
# {
# timeout = 1200;
# on-timeout = "hyprctl dispatch dpms off";
# on-resume = "hyprctl dispatch dpms on";
# }
];
};
};