From 1c3c9a40f6c1210ff7d0780ec429bbbb13064da2 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 29 Oct 2022 15:36:16 +0200 Subject: [PATCH 1/4] a --- configuration.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configuration.nix b/configuration.nix index 43ec023..4ea3369 100644 --- a/configuration.nix +++ b/configuration.nix @@ -114,6 +114,8 @@ nextcloud-client tootle dino + minetest + mumble ]; }; @@ -125,6 +127,7 @@ noto-fonts noto-fonts-cjk noto-fonts-emoji + inter ]; # List packages installed in system profile. To search, run: @@ -156,6 +159,7 @@ direnv nix-direnv openvpn + udev gnome.gnome-tweaks gnomeExtensions.tray-icons-reloaded From 9d5d268a978e95518c4c5f3cd0b9067976de6a93 Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 31 Oct 2022 09:45:49 +0100 Subject: [PATCH 2/4] a --- configuration.nix | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/configuration.nix b/configuration.nix index f36aed2..4855d95 100644 --- a/configuration.nix +++ b/configuration.nix @@ -130,10 +130,22 @@ inter ]; + virtualisation = { + podman = { + enable = true; + + # Create a `docker` alias for podman, to use it as a drop-in replacement + dockerCompat = true; + + # Required for containers under podman-compose to be able to talk to each other. + defaultNetwork.dnsname.enable = true; + }; + }; + + # List packages installed in system profile. To search, run: # $ nix search wget environment.systemPackages = with pkgs; [ - set-backlight-script neovim git wget @@ -341,26 +353,26 @@ $NEW_PROMPT_COMMAND" }; - let set-backlight-script = (writeShellApplication { + + systemd.services.setbacklight = let set-backlight-script = (pkgs.writeShellApplication { name = "set-backlight-script"; text = '' #!/bin/sh for d in /sys/class/backlight/*; do - cd $d + cd "$d" echo $(( $(cat max_brightness) / 2)) > brightness done ''; }); - in - systemd.services.99setbacklight = { + in { enable = true; description = "bar"; unitConfig = { Type = "simple"; }; serviceConfig = { - ExecStart = "${set-backlight-script}"; + ExecStart = "${set-backlight-script}/bin/set-backlight-script"; }; wantedBy = [ "multi-user.target" ]; }; From 4dad0c6410cdf7f73abc3044936084ba9016ae01 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 6 Nov 2022 21:24:32 +0100 Subject: [PATCH 3/4] fdhjshdf --- configuration.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/configuration.nix b/configuration.nix index 4855d95..2c87d17 100644 --- a/configuration.nix +++ b/configuration.nix @@ -281,6 +281,7 @@ $NEW_PROMPT_COMMAND" rebuild = '' nixos-rebuild switch --flake "$HOME/.local/os#" --use-remote-sudo ''; + ":r" = "!!"; }; programs.bash.sessionVariables = { NIX_SHELL_PRESERVE_PROMPT = 1; @@ -353,8 +354,7 @@ $NEW_PROMPT_COMMAND" }; - - systemd.services.setbacklight = let set-backlight-script = (pkgs.writeShellApplication { + systemd.services."99setbacklight" = let set-backlight-script = (pkgs.writeShellApplication { name = "set-backlight-script"; text = '' #!/bin/sh @@ -367,6 +367,8 @@ $NEW_PROMPT_COMMAND" }); in { enable = true; + after = ["systemd-backlight@.service"]; + #wants = ["systemd-backlight@.service"]; description = "bar"; unitConfig = { Type = "simple"; From 48134bc3fd45c3918f345dd6e43c4a60f722a09d Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 9 Nov 2022 21:59:03 +0100 Subject: [PATCH 4/4] lol --- configuration.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configuration.nix b/configuration.nix index 2c87d17..68f5f40 100644 --- a/configuration.nix +++ b/configuration.nix @@ -116,6 +116,9 @@ dino minetest mumble + obs-studio + foliate + pinta ]; }; @@ -173,6 +176,7 @@ nix-direnv openvpn udev + usbutils gnome.gnome-tweaks gnomeExtensions.tray-icons-reloaded