From dd7b391753a7050c2d071329cbb2ebb718771eab Mon Sep 17 00:00:00 2001 From: krizej <60076189+krizej@users.noreply.github.com> Date: Thu, 1 Aug 2024 12:16:58 +0200 Subject: [PATCH] stuff before i modularize --- files/autorandr.txt | 10 ---------- flake.lock | 18 +++++++++--------- misc/system.nix | 3 +-- programs/default.nix | 3 ++- 4 files changed, 12 insertions(+), 22 deletions(-) diff --git a/files/autorandr.txt b/files/autorandr.txt index 2d9b79e..6a997bf 100644 --- a/files/autorandr.txt +++ b/files/autorandr.txt @@ -1,13 +1,3 @@ -/nix/store/r3rnr2z3090jd0aggbyg4vw6zjp5s3kq-autorandr-1.14/bin/.autorandr-wrapped:211: SyntaxWarning: invalid escape sequence '\s' - XRANDR_OUTPUT_REGEXP = """(?x) -/nix/store/r3rnr2z3090jd0aggbyg4vw6zjp5s3kq-autorandr-1.14/bin/.autorandr-wrapped:237: SyntaxWarning: invalid escape sequence '\s' - """ + XRANDR_PROPERTIES_REGEXP + """ | # Properties to include in the profile -/nix/store/r3rnr2z3090jd0aggbyg4vw6zjp5s3kq-autorandr-1.14/bin/.autorandr-wrapped:249: SyntaxWarning: invalid escape sequence '\S' - XRANDR_OUTPUT_MODES_REGEXP = """(?x) -/nix/store/r3rnr2z3090jd0aggbyg4vw6zjp5s3kq-autorandr-1.14/bin/.autorandr-wrapped:593: SyntaxWarning: invalid escape sequence '\s' - version = re.search("xrandr program version\s+([0-9\.]+)", version_string).group(1) -/nix/store/r3rnr2z3090jd0aggbyg4vw6zjp5s3kq-autorandr-1.14/bin/.autorandr-wrapped:889: SyntaxWarning: invalid escape sequence '\+' - match = re.match("(?P[0-9]+)x(?P[0-9]+)(?:\+(?P[0-9]+))?(?:\+(?P[0-9]+))?.*", output.options["panning"]) main: renaming display Left to DisplayPort-2 main: renaming display Right to HDMI-A-0 main (detected) diff --git a/flake.lock b/flake.lock index 13147c7..ce0e043 100644 --- a/flake.lock +++ b/flake.lock @@ -7,11 +7,11 @@ ] }, "locked": { - "lastModified": 1720734513, - "narHash": "sha256-neWQ8eNtLTd+YMesb7WjKl1SVCbDyCm46LUgP/g/hdo=", + "lastModified": 1722203588, + "narHash": "sha256-91V5FMSQ4z9bkhTCf0f86Zjw0bh367daSf0mzCIW0vU=", "owner": "nix-community", "repo": "home-manager", - "rev": "90ae324e2c56af10f20549ab72014804a3064c7f", + "rev": "792757f643cedc13f02098d8ed506d82e19ec1da", "type": "github" }, "original": { @@ -22,11 +22,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1720768451, - "narHash": "sha256-EYekUHJE2gxeo2pM/zM9Wlqw1Uw2XTJXOSAO79ksc4Y=", + "lastModified": 1722062969, + "narHash": "sha256-QOS0ykELUmPbrrUGmegAUlpmUFznDQeR4q7rFhl8eQg=", "owner": "nixos", "repo": "nixpkgs", - "rev": "7e7c39ea35c5cdd002cd4588b03a3fb9ece6fad9", + "rev": "b73c2221a46c13557b1b3be9c2070cc42cf01eb3", "type": "github" }, "original": { @@ -38,11 +38,11 @@ }, "nur": { "locked": { - "lastModified": 1720908054, - "narHash": "sha256-nRmtu5zaYvzvonEZaQlORbIoZvctVy3P3YraH/ChzG0=", + "lastModified": 1722287256, + "narHash": "sha256-A5I4ZAr+uuFS0uHMpH0YvgjMdhk5Hv1t/qDXjv1F7uk=", "owner": "nix-community", "repo": "NUR", - "rev": "fc076c6c1c848d6f950303f937b26d202b23d4b0", + "rev": "808f88bb6c63ee120d45a1cfb6c9f27f72a509b7", "type": "github" }, "original": { diff --git a/misc/system.nix b/misc/system.nix index 6209c08..75587b0 100644 --- a/misc/system.nix +++ b/misc/system.nix @@ -25,14 +25,13 @@ args @ { pkgs, ... }: time.timeZone = "Europe/Warsaw"; - sound.enable = true; hardware.pulseaudio.enable = true; system.stateVersion = "23.11"; users.users.krizej = { isNormalUser = true; - extraGroups = [ "wheel" "input" ]; + extraGroups = [ "wheel" "input" "dialout" ]; }; home-manager = { useGlobalPkgs = true; diff --git a/programs/default.nix b/programs/default.nix index 0cbf72b..4eec6dc 100644 --- a/programs/default.nix +++ b/programs/default.nix @@ -72,9 +72,10 @@ wineWowPackages.stable winetricks + kicad libreoffice-qt gimp - libresprite + aseprite sqlitebrowser feh vlc