Compare commits
28 Commits
f1279adac4
...
master
Author | SHA1 | Date | |
---|---|---|---|
ae9cfa140d | |||
e975931d39 | |||
f6c2eac572 | |||
82eb9ddf97 | |||
af827c485b | |||
93debfb780 | |||
91bb55c48f | |||
3e517b1961 | |||
cf2c6fc646 | |||
8a7822f0c3 | |||
20380d6123 | |||
5711cfb5a1 | |||
9bc74de397 | |||
8cae83ba6c | |||
f199c178a9 | |||
628ebbcbff | |||
ec564b9b7e | |||
018ef38ca6 | |||
5a7c53acbe | |||
8b2445c9b4 | |||
0f799f0cb3 | |||
d068d5f04f | |||
5b8e5215ff | |||
80a8dbc425 | |||
a7ce77727b | |||
9a921aa73f | |||
d26c2e9012 | |||
644085925b |
252
flake.lock
generated
252
flake.lock
generated
@@ -1,40 +1,5 @@
|
|||||||
{
|
{
|
||||||
"nodes": {
|
"nodes": {
|
||||||
"devshell": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"nixvim",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1722113426,
|
|
||||||
"narHash": "sha256-Yo/3loq572A8Su6aY5GP56knpuKYRvM2a1meP9oJZCw=",
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "devshell",
|
|
||||||
"rev": "67cce7359e4cd3c45296fb4aaf6a19e2a9c757ae",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "devshell",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"flake-compat": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1696426674,
|
|
||||||
"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
|
|
||||||
"rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
|
|
||||||
"revCount": 57,
|
|
||||||
"type": "tarball",
|
|
||||||
"url": "https://api.flakehub.com/f/pinned/edolstra/flake-compat/1.0.1/018afb31-abd1-7bff-a5e4-cff7e18efb7a/source.tar.gz"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"type": "tarball",
|
|
||||||
"url": "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"flake-parts": {
|
"flake-parts": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs-lib": [
|
"nixpkgs-lib": [
|
||||||
@@ -43,11 +8,32 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1722555600,
|
"lastModified": 1749398372,
|
||||||
"narHash": "sha256-XOQkdLafnb/p9ij77byFQjDf5m5QYl9b2REiVClC+x4=",
|
"narHash": "sha256-tYBdgS56eXYaWVW3fsnPQ/nFlgWi/Z2Ymhyu21zVM98=",
|
||||||
"owner": "hercules-ci",
|
"owner": "hercules-ci",
|
||||||
"repo": "flake-parts",
|
"repo": "flake-parts",
|
||||||
"rev": "8471fe90ad337a8074e957b69ca4d0089218391d",
|
"rev": "9305fe4e5c2a6fcf5ba6a3ff155720fbe4076569",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "hercules-ci",
|
||||||
|
"repo": "flake-parts",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"flake-parts_2": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs-lib": [
|
||||||
|
"nur",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1733312601,
|
||||||
|
"narHash": "sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c=",
|
||||||
|
"owner": "hercules-ci",
|
||||||
|
"repo": "flake-parts",
|
||||||
|
"rev": "205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -61,11 +47,11 @@
|
|||||||
"systems": "systems"
|
"systems": "systems"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1710146030,
|
"lastModified": 1731533236,
|
||||||
"narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
|
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
||||||
"owner": "numtide",
|
"owner": "numtide",
|
||||||
"repo": "flake-utils",
|
"repo": "flake-utils",
|
||||||
"rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
|
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -74,58 +60,6 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"git-hooks": {
|
|
||||||
"inputs": {
|
|
||||||
"flake-compat": [
|
|
||||||
"nixvim",
|
|
||||||
"flake-compat"
|
|
||||||
],
|
|
||||||
"gitignore": "gitignore",
|
|
||||||
"nixpkgs": [
|
|
||||||
"nixvim",
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"nixpkgs-stable": [
|
|
||||||
"nixvim",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1724857454,
|
|
||||||
"narHash": "sha256-Qyl9Q4QMTLZnnBb/8OuQ9LSkzWjBU1T5l5zIzTxkkhk=",
|
|
||||||
"owner": "cachix",
|
|
||||||
"repo": "git-hooks.nix",
|
|
||||||
"rev": "4509ca64f1084e73bc7a721b20c669a8d4c5ebe6",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "cachix",
|
|
||||||
"repo": "git-hooks.nix",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"gitignore": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"nixvim",
|
|
||||||
"git-hooks",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1709087332,
|
|
||||||
"narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=",
|
|
||||||
"owner": "hercules-ci",
|
|
||||||
"repo": "gitignore.nix",
|
|
||||||
"rev": "637db329424fd7e46cf4185293b9cc8c88c95394",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hercules-ci",
|
|
||||||
"repo": "gitignore.nix",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"home-manager": {
|
"home-manager": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
@@ -133,11 +67,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1725180166,
|
"lastModified": 1749935160,
|
||||||
"narHash": "sha256-fzssXuGR/mCeGbzM1ExaTqDz7QDGta3WA4jJsZyRruo=",
|
"narHash": "sha256-lTLR7AyrrIS/b4frHKb5pw/gcPM0GgoGCURqeiOX9k8=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "471e3eb0a114265bcd62d11d58ba8d3421ee68eb",
|
"rev": "8fabeb9c142a303e02270c3a3a0d8e00af9d0dfe",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -149,16 +83,16 @@
|
|||||||
"home-manager_2": {
|
"home-manager_2": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixvim",
|
"plasma-manager",
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1724435763,
|
"lastModified": 1740494361,
|
||||||
"narHash": "sha256-UNky3lJNGQtUEXT2OY8gMxejakSWPTfWKvpFkpFlAfM=",
|
"narHash": "sha256-Dd/GhJ9qKmUwuhgt/PAROG8J6YdU2ZjtJI9SQX5sVQI=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "c2cd2a52e02f1dfa1c88f95abeb89298d46023be",
|
"rev": "74f0a8546e3f2458c870cf90fc4b38ac1f498b17",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -167,24 +101,31 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"home-manager_3": {
|
"ixx": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
|
"flake-utils": [
|
||||||
|
"nixvim",
|
||||||
|
"nuschtosSearch",
|
||||||
|
"flake-utils"
|
||||||
|
],
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"plasma-manager",
|
"nixvim",
|
||||||
|
"nuschtosSearch",
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1714377222,
|
"lastModified": 1748294338,
|
||||||
"narHash": "sha256-UsDsjWCKlWn8vbXi8Zza9Hkq3xyk8fpvFNo2VM5S74E=",
|
"narHash": "sha256-FVO01jdmUNArzBS7NmaktLdGA5qA3lUMJ4B7a05Iynw=",
|
||||||
"owner": "nix-community",
|
"owner": "NuschtOS",
|
||||||
"repo": "home-manager",
|
"repo": "ixx",
|
||||||
"rev": "2af7c78b7bb9cf18406a193eba13ef9f99388f49",
|
"rev": "cc5f390f7caf265461d4aab37e98d2292ebbdb85",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nix-community",
|
"owner": "NuschtOS",
|
||||||
"repo": "home-manager",
|
"ref": "v0.0.8",
|
||||||
|
"repo": "ixx",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -204,34 +145,29 @@
|
|||||||
"url": "https://git.psf.lt/xezo360hye/nethack"
|
"url": "https://git.psf.lt/xezo360hye/nethack"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nix-darwin": {
|
"nixpkgs": {
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"nixvim",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1724561770,
|
"lastModified": 1749794982,
|
||||||
"narHash": "sha256-zv8C9RNa86CIpyHwPIVO/k+5TfM8ZbjGwOOpTe1grls=",
|
"narHash": "sha256-Kh9K4taXbVuaLC0IL+9HcfvxsSUx8dPB5s5weJcc9pc=",
|
||||||
"owner": "lnl7",
|
"owner": "nixos",
|
||||||
"repo": "nix-darwin",
|
"repo": "nixpkgs",
|
||||||
"rev": "ac5694a0b855a981e81b4d9f14052e3ff46ca39e",
|
"rev": "ee930f9755f58096ac6e8ca94a1887e0534e2d81",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "lnl7",
|
"owner": "nixos",
|
||||||
"repo": "nix-darwin",
|
"ref": "nixos-unstable",
|
||||||
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1725103162,
|
"lastModified": 1749794982,
|
||||||
"narHash": "sha256-Ym04C5+qovuQDYL/rKWSR+WESseQBbNAe5DsXNx5trY=",
|
"narHash": "sha256-Kh9K4taXbVuaLC0IL+9HcfvxsSUx8dPB5s5weJcc9pc=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "12228ff1752d7b7624a54e9c1af4b222b3c1073b",
|
"rev": "ee930f9755f58096ac6e8ca94a1887e0534e2d81",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -243,24 +179,19 @@
|
|||||||
},
|
},
|
||||||
"nixvim": {
|
"nixvim": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"devshell": "devshell",
|
|
||||||
"flake-compat": "flake-compat",
|
|
||||||
"flake-parts": "flake-parts",
|
"flake-parts": "flake-parts",
|
||||||
"git-hooks": "git-hooks",
|
|
||||||
"home-manager": "home-manager_2",
|
|
||||||
"nix-darwin": "nix-darwin",
|
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
],
|
],
|
||||||
"nuschtosSearch": "nuschtosSearch",
|
"nuschtosSearch": "nuschtosSearch",
|
||||||
"treefmt-nix": "treefmt-nix"
|
"systems": "systems_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1725269752,
|
"lastModified": 1749924512,
|
||||||
"narHash": "sha256-AtZ9fSo2q6UeMoDy6kw6solM1B+BCABbKgCyUclsctg=",
|
"narHash": "sha256-IYv0yEFh86c+UnkcjrUAV0UeIE+9vMEeXDIF+YRlooc=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "nixvim",
|
"repo": "nixvim",
|
||||||
"rev": "18b7597e6ca4b98a6c3f20ddc9783165d5998018",
|
"rev": "e114d442b14f3a299307ca9b0f0eab20e821f419",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -270,12 +201,17 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nur": {
|
"nur": {
|
||||||
|
"inputs": {
|
||||||
|
"flake-parts": "flake-parts_2",
|
||||||
|
"nixpkgs": "nixpkgs_2",
|
||||||
|
"treefmt-nix": "treefmt-nix"
|
||||||
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1725367994,
|
"lastModified": 1749934169,
|
||||||
"narHash": "sha256-H0RJ9+pmXnUgdQzj4Hq45khxpkD8jKxgc3qMzxaTFqY=",
|
"narHash": "sha256-2oGEmCWq0T2qG7tUaPdUv0jOk09oWTit9NfI6gCScC4=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "NUR",
|
"repo": "NUR",
|
||||||
"rev": "8b7d030200a43ec6b2b794c94b6142709a231203",
|
"rev": "da2de77056b07a63601c9198708ff02ddab21fcb",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -287,17 +223,18 @@
|
|||||||
"nuschtosSearch": {
|
"nuschtosSearch": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-utils": "flake-utils",
|
"flake-utils": "flake-utils",
|
||||||
|
"ixx": "ixx",
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixvim",
|
"nixvim",
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1724584782,
|
"lastModified": 1749730855,
|
||||||
"narHash": "sha256-7FfHv7b1jwMPSu9SPY9hdxStk8E6EeSwzqdvV69U4BM=",
|
"narHash": "sha256-L3x2nSlFkXkM6tQPLJP3oCBMIsRifhIDPMQQdHO5xWo=",
|
||||||
"owner": "NuschtOS",
|
"owner": "NuschtOS",
|
||||||
"repo": "search",
|
"repo": "search",
|
||||||
"rev": "5a08d691de30b6fc28d58ce71a5e420f2694e087",
|
"rev": "8dfe5879dd009ff4742b668d9c699bc4b9761742",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -308,17 +245,17 @@
|
|||||||
},
|
},
|
||||||
"plasma-manager": {
|
"plasma-manager": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"home-manager": "home-manager_3",
|
"home-manager": "home-manager_2",
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1725327224,
|
"lastModified": 1748196248,
|
||||||
"narHash": "sha256-+cMfiE+zigDuChOFlhUH3yN7Yll9hr1LRBHsO09pqjY=",
|
"narHash": "sha256-1iHjsH6/5UOerJEoZKE+Gx1BgAoge/YcnUsOA4wQ/BU=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "plasma-manager",
|
"repo": "plasma-manager",
|
||||||
"rev": "3f1589c38428bd8121fd5deebd86ce4108b29d6e",
|
"rev": "b7697abe89967839b273a863a3805345ea54ab56",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -352,19 +289,34 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"systems_2": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1681028828,
|
||||||
|
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default",
|
||||||
|
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"treefmt-nix": {
|
"treefmt-nix": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixvim",
|
"nur",
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1724833132,
|
"lastModified": 1733222881,
|
||||||
"narHash": "sha256-F4djBvyNRAXGusJiNYInqR6zIMI3rvlp6WiKwsRISos=",
|
"narHash": "sha256-JIPcz1PrpXUCbaccEnrcUS8jjEb/1vJbZz5KkobyFdM=",
|
||||||
"owner": "numtide",
|
"owner": "numtide",
|
||||||
"repo": "treefmt-nix",
|
"repo": "treefmt-nix",
|
||||||
"rev": "3ffd842a5f50f435d3e603312eefa4790db46af5",
|
"rev": "49717b5af6f80172275d47a418c9719a31a78b53",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
161
flake.nix
161
flake.nix
@@ -2,102 +2,107 @@
|
|||||||
description = "My homebrew NixOS configurations";
|
description = "My homebrew NixOS configurations";
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = github:nixos/nixpkgs/nixos-unstable;
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
|
|
||||||
home-manager = {
|
home-manager = {
|
||||||
url = github:nix-community/home-manager;
|
url = "github:nix-community/home-manager";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
nixvim = {
|
nixvim = {
|
||||||
url = github:nix-community/nixvim;
|
url = "github:nix-community/nixvim";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
plasma-manager = {
|
plasma-manager = {
|
||||||
url = github:nix-community/plasma-manager;
|
url = "github:nix-community/plasma-manager";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
nur.url = github:nix-community/NUR;
|
nur.url = "github:nix-community/NUR";
|
||||||
nethack.url = git+https://git.psf.lt/xezo360hye/nethack?shallow=1;
|
nethack.url = "git+https://git.psf.lt/xezo360hye/nethack?shallow=1";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = {
|
outputs =
|
||||||
self,
|
{
|
||||||
nixpkgs,
|
self,
|
||||||
home-manager,
|
nixpkgs,
|
||||||
nixvim,
|
home-manager,
|
||||||
nethack,
|
nixvim,
|
||||||
plasma-manager,
|
nethack,
|
||||||
nur,
|
plasma-manager,
|
||||||
...
|
nur,
|
||||||
} @ inputs:
|
...
|
||||||
let
|
}@inputs:
|
||||||
inherit (nixpkgs) lib;
|
|
||||||
|
|
||||||
username = "andrey";
|
|
||||||
hostnames = [ "tokishiko" "maidena" "noma" ];
|
|
||||||
stateVersion = "24.05";
|
|
||||||
|
|
||||||
makeSystem = hostname: {
|
|
||||||
"${hostname}" = nixpkgs.lib.nixosSystem {
|
|
||||||
specialArgs = { inherit inputs; };
|
|
||||||
modules = [
|
|
||||||
nur.nixosModules.nur
|
|
||||||
|
|
||||||
./system/common.nix
|
|
||||||
./system/${hostname}.nix
|
|
||||||
./hardware/${hostname}.nix
|
|
||||||
|
|
||||||
{
|
|
||||||
system.stateVersion = stateVersion;
|
|
||||||
networking.hostName = hostname;
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
makeHome = hostname:
|
|
||||||
let
|
let
|
||||||
extractModules = map
|
inherit (nixpkgs) lib;
|
||||||
(module:
|
|
||||||
let hm = module.homeManagerModules;
|
username = "andrey";
|
||||||
in hm.${lib.head (lib.attrNames hm)});
|
hostnames = [
|
||||||
|
"tokishiko"
|
||||||
|
"maidena"
|
||||||
|
"noma"
|
||||||
|
"tuxedo"
|
||||||
|
];
|
||||||
|
stateVersion = "24.05";
|
||||||
|
|
||||||
|
makeSystem = hostname: {
|
||||||
|
"${hostname}" = nixpkgs.lib.nixosSystem {
|
||||||
|
specialArgs = { inherit inputs; };
|
||||||
|
modules = [
|
||||||
|
home-manager.nixosModules.home-manager
|
||||||
|
nur.modules.nixos.default
|
||||||
|
|
||||||
|
./system/common.nix
|
||||||
|
./system/${hostname}.nix
|
||||||
|
./hardware/${hostname}.nix
|
||||||
|
|
||||||
|
{
|
||||||
|
system.stateVersion = stateVersion;
|
||||||
|
networking.hostName = hostname;
|
||||||
|
|
||||||
|
home-manager.useGlobalPkgs = true;
|
||||||
|
home-manager.useUserPackages = true;
|
||||||
|
|
||||||
|
home-manager.users.${username} = {
|
||||||
|
imports =
|
||||||
|
[
|
||||||
|
./home/${hostname}.nix
|
||||||
|
./home/common.nix
|
||||||
|
]
|
||||||
|
++ (map
|
||||||
|
(
|
||||||
|
module:
|
||||||
|
let
|
||||||
|
hm = module.homeManagerModules;
|
||||||
|
in
|
||||||
|
hm.${lib.head (lib.attrNames hm)}
|
||||||
|
)
|
||||||
|
[
|
||||||
|
nixvim
|
||||||
|
nethack
|
||||||
|
plasma-manager
|
||||||
|
]
|
||||||
|
);
|
||||||
|
|
||||||
|
home = {
|
||||||
|
username = username;
|
||||||
|
homeDirectory = "/home/${username}";
|
||||||
|
stateVersion = stateVersion;
|
||||||
|
};
|
||||||
|
|
||||||
|
news.display = "show";
|
||||||
|
};
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
forEachHost = fn: lib.mergeAttrsList (map fn hostnames);
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
"${username}@${hostname}" = home-manager.lib.homeManagerConfiguration
|
nixosConfigurations = forEachHost makeSystem;
|
||||||
{
|
|
||||||
extraSpecialArgs = { inherit inputs; };
|
|
||||||
pkgs = import nixpkgs {
|
|
||||||
system = "x86_64-linux";
|
|
||||||
overlays = [ nur.overlay ];
|
|
||||||
};
|
|
||||||
|
|
||||||
modules = (extractModules [
|
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixfmt-tree;
|
||||||
nixvim
|
|
||||||
nethack
|
|
||||||
plasma-manager
|
|
||||||
]) ++ [
|
|
||||||
nur.hmModules.nur
|
|
||||||
|
|
||||||
./home/${hostname}.nix
|
|
||||||
./home/common.nix
|
|
||||||
|
|
||||||
{
|
|
||||||
news.display = "show";
|
|
||||||
home.username = username;
|
|
||||||
home.homeDirectory = "/home/${username}";
|
|
||||||
home.stateVersion = stateVersion;
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
forEachHost = fn: lib.mergeAttrsList (map fn hostnames);
|
|
||||||
in {
|
|
||||||
nixosConfigurations = forEachHost makeSystem;
|
|
||||||
homeConfigurations = forEachHost makeHome;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
42
hardware/tuxedo.nix
Normal file
42
hardware/tuxedo.nix
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||||
|
# and may be overwritten by future invocations. Please make changes
|
||||||
|
# to /etc/nixos/configuration.nix instead.
|
||||||
|
{ config, lib, pkgs, modulesPath, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports =
|
||||||
|
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||||
|
];
|
||||||
|
|
||||||
|
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "rtsx_pci_sdmmc" ];
|
||||||
|
boot.initrd.kernelModules = [ ];
|
||||||
|
boot.kernelModules = [ "kvm-intel" ];
|
||||||
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
|
fileSystems."/" =
|
||||||
|
{ device = "/dev/disk/by-uuid/67e3bb85-4f70-4b8f-8b88-ad0e0f96e336";
|
||||||
|
fsType = "ext4";
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/boot/efi" =
|
||||||
|
{ device = "/dev/disk/by-uuid/8834-14B3";
|
||||||
|
fsType = "vfat";
|
||||||
|
options = [ "fmask=0022" "dmask=0022" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
swapDevices =
|
||||||
|
[ { device = "/dev/disk/by-uuid/f198a128-2b2f-48b9-a804-cce6ab9803de"; }
|
||||||
|
];
|
||||||
|
|
||||||
|
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||||
|
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||||
|
# still possible to use this option, but it's recommended to use it in conjunction
|
||||||
|
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
||||||
|
networking.useDHCP = lib.mkDefault true;
|
||||||
|
# networking.interfaces.enp58s0f1.useDHCP = lib.mkDefault true;
|
||||||
|
# networking.interfaces.tailscale0.useDHCP = lib.mkDefault true;
|
||||||
|
# networking.interfaces.wlp59s0.useDHCP = lib.mkDefault true;
|
||||||
|
|
||||||
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
|
}
|
@@ -4,71 +4,94 @@
|
|||||||
./modules/thunderbird
|
./modules/thunderbird
|
||||||
./modules/nethack
|
./modules/nethack
|
||||||
./modules/firefox
|
./modules/firefox
|
||||||
./modules/neovim
|
|
||||||
./modules/emacs
|
|
||||||
];
|
];
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
home-manager.enable = true;
|
home-manager.enable = true;
|
||||||
fastfetch.enable = true;
|
fastfetch.enable = true;
|
||||||
htop.enable = true;
|
btop.enable = true;
|
||||||
|
|
||||||
|
|
||||||
bash = {
|
bash = {
|
||||||
enable = true;
|
enable = true;
|
||||||
historyControl = [ "ignoreboth" ];
|
historyControl = [ "ignoreboth" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
git = {
|
git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
userName = "xezo360hye";
|
userName = "xezo360hye";
|
||||||
userEmail = "xezo360hye@gmail.com";
|
userEmail = "xezo360hye@gmail.com";
|
||||||
|
delta.enable = true;
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
|
credential.helper = "store";
|
||||||
init.defaultBranch = "master";
|
init.defaultBranch = "master";
|
||||||
url."https://github.com/".insteadOf = [ "gh:" "github:" ];
|
url."https://github.com/".insteadOf = [
|
||||||
url."https://git.psf.lt/".insteadOf = [ "psf:" "gitea:" ];
|
"gh:"
|
||||||
|
"github:"
|
||||||
|
];
|
||||||
|
url."https://git.psf.lt/".insteadOf = [
|
||||||
|
"psf:"
|
||||||
|
"gitea:"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
mpv = {
|
mpv = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
config.hwdec = "auto";
|
||||||
|
scripts = with pkgs.mpvScripts; [
|
||||||
|
mpris
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
gtk = {
|
||||||
nixpkgs.config.allowUnfree = true;
|
enable = true;
|
||||||
|
iconTheme = {
|
||||||
|
package = pkgs.adwaita-icon-theme;
|
||||||
|
name = "Adwaita";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
home = {
|
home = {
|
||||||
packages = with pkgs; let
|
packages =
|
||||||
sent' = sent.overrideAttrs (oldAttrs: {
|
with pkgs;
|
||||||
buildInputs = oldAttrs.buildInputs ++ [ cairo ];
|
let
|
||||||
patches = [
|
sent' = sent.overrideAttrs (oldAttrs: {
|
||||||
./resources/patches/sent-pdf.diff
|
buildInputs = oldAttrs.buildInputs ++ [ cairo ];
|
||||||
];
|
patches = [
|
||||||
});
|
./resources/patches/sent-pdf.diff
|
||||||
in [
|
];
|
||||||
texlive.combined.scheme-full
|
});
|
||||||
telegram-desktop
|
in
|
||||||
libreoffice-qt6
|
[
|
||||||
libqalculate
|
texlive.combined.scheme-full
|
||||||
arduino-cli
|
telegram-desktop
|
||||||
|
libreoffice-qt6
|
||||||
|
libqalculate
|
||||||
|
arduino-cli
|
||||||
|
|
||||||
ani-cli
|
gimp
|
||||||
ytfzf
|
krita
|
||||||
|
inkscape
|
||||||
|
|
||||||
cpufrequtils
|
ani-cli
|
||||||
steam-run
|
ytfzf
|
||||||
|
|
||||||
sent'
|
cpufrequtils
|
||||||
];
|
steam-run
|
||||||
|
|
||||||
|
sent'
|
||||||
|
|
||||||
|
gcc
|
||||||
|
python3
|
||||||
|
nodejs
|
||||||
|
lua
|
||||||
|
|
||||||
|
wl-clipboard
|
||||||
|
];
|
||||||
|
|
||||||
sessionVariables = {
|
sessionVariables = {
|
||||||
ANI_CLI_PLAYER = "mpv";
|
ANI_CLI_PLAYER = "mpv";
|
||||||
};
|
};
|
||||||
|
|
||||||
file = {
|
|
||||||
".config/nixpkgs/config.nix".text = "{ allowUnfree = true; }";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@@ -3,15 +3,16 @@
|
|||||||
programs.emacs = {
|
programs.emacs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.emacs-gtk;
|
package = pkgs.emacs-gtk;
|
||||||
extraPackages = epkgs: with epkgs; [
|
extraPackages =
|
||||||
doom
|
epkgs: with epkgs; [
|
||||||
|
doom
|
||||||
|
|
||||||
magit
|
magit
|
||||||
minimap
|
minimap
|
||||||
rainbow-delimiters
|
rainbow-delimiters
|
||||||
|
|
||||||
company
|
company
|
||||||
company-tabnine
|
company-tabnine
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@@ -4,10 +4,10 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
profiles.default = {
|
profiles.default = {
|
||||||
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
extensions.packages = with pkgs.nur.repos.rycee.firefox-addons; [
|
||||||
ublock-origin
|
ublock-origin
|
||||||
private-relay
|
private-relay
|
||||||
libredirect
|
yomitan
|
||||||
|
|
||||||
reddit-enhancement-suite
|
reddit-enhancement-suite
|
||||||
enhancer-for-youtube
|
enhancer-for-youtube
|
||||||
@@ -46,6 +46,9 @@
|
|||||||
"browser.translations.automaticallyPopup" = false;
|
"browser.translations.automaticallyPopup" = false;
|
||||||
"browser.tabs.inTitlebar" = 0;
|
"browser.tabs.inTitlebar" = 0;
|
||||||
|
|
||||||
|
"devtools.accessibility.enabled" = false;
|
||||||
|
"browser.eme.ui.enabled" = false;
|
||||||
|
|
||||||
"services.sync.engine.addons" = false;
|
"services.sync.engine.addons" = false;
|
||||||
|
|
||||||
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
|
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
|
||||||
@@ -54,61 +57,99 @@
|
|||||||
|
|
||||||
search = {
|
search = {
|
||||||
force = true;
|
force = true;
|
||||||
default = "DuckDuckGo";
|
default = "ddg";
|
||||||
|
|
||||||
engines = let
|
engines =
|
||||||
makeShortcuts = let
|
let
|
||||||
prefix = "@";
|
makeShortcuts =
|
||||||
in map (shortcut: prefix + shortcut);
|
let
|
||||||
|
prefix = "@";
|
||||||
|
in
|
||||||
|
map (shortcut: prefix + shortcut);
|
||||||
|
|
||||||
hideEngines = let
|
hideEngines =
|
||||||
hideEngine = engine: {
|
let
|
||||||
name = engine;
|
hideEngine = engine: {
|
||||||
value = {
|
name = engine;
|
||||||
metaData.hidden = true;
|
value = {
|
||||||
};
|
metaData.hidden = true;
|
||||||
};
|
};
|
||||||
in engines: lib.listToAttrs (map hideEngine engines);
|
};
|
||||||
in (hideEngines [ "Google" "Bing" "Amazon.com" "eBay" ]) //
|
in
|
||||||
{
|
engines: lib.listToAttrs (map hideEngine engines);
|
||||||
"Arch Wiki" = {
|
in
|
||||||
urls = [{ template = "https://wiki.archlinux.org/index.php?search={searchTerms}"; }];
|
(hideEngines [
|
||||||
iconUpdateURL = "https://wiki.archlinux.org/favicon.ico";
|
"google"
|
||||||
definedAliases = makeShortcuts [ "archlinux" "aw" ];
|
"bing"
|
||||||
};
|
"amazondotcom-us"
|
||||||
|
"ebay"
|
||||||
"Nix Packages" = {
|
])
|
||||||
urls = [{
|
// {
|
||||||
template = "https://search.nixos.org/packages";
|
"Arch Wiki" = {
|
||||||
params = [
|
urls = [ { template = "https://wiki.archlinux.org/index.php?search={searchTerms}"; } ];
|
||||||
{ name = "type"; value = "packages"; }
|
icon = "https://wiki.archlinux.org/favicon.ico";
|
||||||
{ name = "channel"; value = "unstable"; }
|
definedAliases = makeShortcuts [
|
||||||
{ name = "query"; value = "{searchTerms}"; }
|
"archlinux"
|
||||||
|
"aw"
|
||||||
];
|
];
|
||||||
}];
|
};
|
||||||
|
|
||||||
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
"Nix Packages" = {
|
||||||
definedAliases = makeShortcuts [ "nixpkgs" "packages" "np" ];
|
urls = [
|
||||||
};
|
{
|
||||||
|
template = "https://search.nixos.org/packages";
|
||||||
|
params = [
|
||||||
|
{
|
||||||
|
name = "type";
|
||||||
|
value = "packages";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "channel";
|
||||||
|
value = "unstable";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "query";
|
||||||
|
value = "{searchTerms}";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
"NixOS Wiki" = {
|
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||||
urls = [{ template = "https://wiki.nixos.org/w/index.php?search={searchTerms}"; }];
|
definedAliases = makeShortcuts [
|
||||||
iconUpdateURL = "https://wiki.nixos.org/favicon.png";
|
"nixpkgs"
|
||||||
definedAliases = makeShortcuts [ "nixos" "nw" ];
|
"packages"
|
||||||
};
|
"np"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
"MyNixOS" = {
|
"NixOS Wiki" = {
|
||||||
urls = [{ template = "https://mynixos.com/search?q={searchTerms}"; }];
|
urls = [ { template = "https://wiki.nixos.org/w/index.php?search={searchTerms}"; } ];
|
||||||
iconUpdateURL = "https://mynixos.com/favicon-light.svg";
|
icon = "https://wiki.nixos.org/favicon.png";
|
||||||
definedAliases = makeShortcuts [ "mynixos" "mw" ];
|
definedAliases = makeShortcuts [
|
||||||
};
|
"nixos"
|
||||||
|
"nw"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
"RuTracker" = {
|
"MyNixOS" = {
|
||||||
urls = [{ template = "https://rutracker.org/forum/tracker.php?nm={searchTerms}"; }];
|
urls = [ { template = "https://mynixos.com/search?q={searchTerms}"; } ];
|
||||||
iconUpdateURL = "https://rutracker.org/favicon.ico";
|
icon = "https://mynixos.com/favicon-light.svg";
|
||||||
definedAliases = makeShortcuts [ "rutracker" "rt" ];
|
definedAliases = makeShortcuts [
|
||||||
|
"mynixos"
|
||||||
|
"mw"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
"RuTracker" = {
|
||||||
|
urls = [ { template = "https://rutracker.org/forum/tracker.php?nm={searchTerms}"; } ];
|
||||||
|
icon = "https://rutracker.org/favicon.ico";
|
||||||
|
definedAliases = makeShortcuts [
|
||||||
|
"rutracker"
|
||||||
|
"rt"
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -126,7 +167,7 @@
|
|||||||
EmailTracking = true;
|
EmailTracking = true;
|
||||||
Fingerprinting = true;
|
Fingerprinting = true;
|
||||||
|
|
||||||
Exceptions = [];
|
Exceptions = [ ];
|
||||||
};
|
};
|
||||||
|
|
||||||
FirefoxHome = {
|
FirefoxHome = {
|
||||||
|
@@ -5,7 +5,8 @@
|
|||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let genFlatList = f: n: builtins.concatLists (builtins.genList f n);
|
let
|
||||||
|
genFlatList = f: n: builtins.concatLists (builtins.genList f n);
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
programs.kitty = {
|
programs.kitty = {
|
||||||
@@ -50,26 +51,28 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
bind = [
|
bind =
|
||||||
"SUPER, Return, exec, kitty"
|
[
|
||||||
"SUPER SHIFT, Q, exit"
|
"SUPER, Return, exec, kitty"
|
||||||
|
"SUPER SHIFT, Q, exit"
|
||||||
|
|
||||||
"SUPER, V, togglefloating"
|
"SUPER, V, togglefloating"
|
||||||
"SUPER, J, togglesplit"
|
"SUPER, J, togglesplit"
|
||||||
"SUPER, P, pseudo"
|
"SUPER, P, pseudo"
|
||||||
|
|
||||||
"ALT CTRL, left, workspace, -1"
|
"ALT CTRL, left, workspace, -1"
|
||||||
"ALT CTRL, right, workspace, +1"
|
"ALT CTRL, right, workspace, +1"
|
||||||
] ++ (
|
]
|
||||||
genFlatList
|
++ (genFlatList (
|
||||||
( x: let n = toString (x + 1);
|
x:
|
||||||
|
let
|
||||||
|
n = toString (x + 1);
|
||||||
in
|
in
|
||||||
[ "SUPER, ${n}, workspace, ${n}"
|
[
|
||||||
|
"SUPER, ${n}, workspace, ${n}"
|
||||||
"SUPER SHIFT, ${n}, movetoworkspace, ${n}"
|
"SUPER SHIFT, ${n}, movetoworkspace, ${n}"
|
||||||
]
|
]
|
||||||
)
|
) 9);
|
||||||
9
|
|
||||||
);
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@@ -14,29 +14,31 @@
|
|||||||
|
|
||||||
copilot-lua = {
|
copilot-lua = {
|
||||||
enable = true;
|
enable = true;
|
||||||
suggestion.autoTrigger = true;
|
settings = {
|
||||||
suggestion.keymap = {
|
suggestion.autoTrigger = true;
|
||||||
accept = "<M-a>";
|
suggestion.keymap = {
|
||||||
acceptLine = "<M-l>";
|
accept = "<M-a>";
|
||||||
acceptWord = "<M-w>";
|
acceptLine = "<M-l>";
|
||||||
|
acceptWord = "<M-w>";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
keymaps = [
|
keymaps = [
|
||||||
{
|
{
|
||||||
mode = "n";
|
mode = "n";
|
||||||
key = ";";
|
key = ";";
|
||||||
action = ":";
|
action = ":";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
mode = "n";
|
mode = "n";
|
||||||
key = "<Esc>";
|
key = "<Esc>";
|
||||||
action = "<Cmd>nohlsearch<CR>";
|
action = "<Cmd>nohlsearch<CR>";
|
||||||
options = {
|
options = {
|
||||||
silent = true;
|
silent = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
nethack_options = {
|
nethack_options = {
|
||||||
windowtype = "curses";
|
windowtype = "curses";
|
||||||
align_message = "bottom";
|
align_message = "top";
|
||||||
msg_window = "reverse";
|
msg_window = "reverse";
|
||||||
msghistory = 1000;
|
msghistory = 1000;
|
||||||
statuslines = 3;
|
statuslines = 3;
|
||||||
@@ -24,48 +24,30 @@
|
|||||||
autopickup = true;
|
autopickup = true;
|
||||||
pickup_burden = "B";
|
pickup_burden = "B";
|
||||||
disclose = "+iagcvo";
|
disclose = "+iagcvo";
|
||||||
sortloot = "full";
|
sortloot = "none";
|
||||||
runmode = "crawl";
|
runmode = "walk";
|
||||||
boulder = "0";
|
boulder = "0";
|
||||||
|
|
||||||
gender = "male";
|
gender = "male";
|
||||||
};
|
pickup_types = ''$!=/?'';
|
||||||
|
|
||||||
choose_options = {
|
|
||||||
wizard.nethack_options = {
|
|
||||||
race = "elf";
|
|
||||||
role = "wizard";
|
|
||||||
pickup_types = ''$!="+?'';
|
|
||||||
};
|
|
||||||
|
|
||||||
tourist.nethack_options = {
|
|
||||||
role = "tourist";
|
|
||||||
pickup_types = ''$!="+?'';
|
|
||||||
};
|
|
||||||
|
|
||||||
caveman.nethack_options = {
|
|
||||||
race = "dwarf";
|
|
||||||
role = "caveman";
|
|
||||||
pickup_types = ''$!=%"?()'';
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
hilite_status = {
|
hilite_status = {
|
||||||
hitpoints = {
|
hitpoints = {
|
||||||
"100%" = "grey";
|
"100%" = "grey";
|
||||||
"<100%" = "green";
|
"<100%" = "green";
|
||||||
"<66%" = "yellow";
|
"<66%" = "yellow";
|
||||||
"<50%" = "orange";
|
"<50%" = "orange";
|
||||||
"<33%" = "red&bold";
|
"<33%" = "red&bold";
|
||||||
"<15%" = "red&inverse";
|
"<15%" = "red&inverse";
|
||||||
};
|
};
|
||||||
|
|
||||||
power = {
|
power = {
|
||||||
"100%" = "grey";
|
"100%" = "grey";
|
||||||
"<100%" = "green";
|
"<100%" = "green";
|
||||||
"<66%" = "yellow";
|
"<66%" = "yellow";
|
||||||
"<50%" = "orange";
|
"<50%" = "orange";
|
||||||
"<33%" = "red&bold";
|
"<33%" = "red&bold";
|
||||||
};
|
};
|
||||||
|
|
||||||
cap = {
|
cap = {
|
||||||
@@ -107,40 +89,40 @@
|
|||||||
msg_types = {
|
msg_types = {
|
||||||
stop = [
|
stop = [
|
||||||
"The .* (grabs|swings itself around) you!"
|
"The .* (grabs|swings itself around) you!"
|
||||||
"You don't feel very well."
|
"You don't feel very well."
|
||||||
"You are turning a little green."
|
"You are turning a little green."
|
||||||
"Your limbs are getting oozy."
|
"Your limbs are getting oozy."
|
||||||
"Your skin begins to peel away."
|
"Your skin begins to peel away."
|
||||||
"You are turning into a green slime."
|
"You are turning into a green slime."
|
||||||
"You are slowing down."
|
"You are slowing down."
|
||||||
"Your limbs are stiffening."
|
"Your limbs are stiffening."
|
||||||
"It constricts your throat!"
|
"It constricts your throat!"
|
||||||
"You find it hard to breathe."
|
"You find it hard to breathe."
|
||||||
"You're gasping for air."
|
"You're gasping for air."
|
||||||
"Your blood is having trouble reaching your brain."
|
"Your blood is having trouble reaching your brain."
|
||||||
"You can no longer breathe."
|
"You can no longer breathe."
|
||||||
"You're turning blue."
|
"You're turning blue."
|
||||||
"You faint from lack of food"
|
"You faint from lack of food"
|
||||||
"Your consciousness is fading."
|
"Your consciousness is fading."
|
||||||
"You regain consciousness"
|
"You regain consciousness"
|
||||||
|
|
||||||
"You feel weak"
|
"You feel weak"
|
||||||
"You feel weak now"
|
"You feel weak now"
|
||||||
"You are beginning to feel weak"
|
"You are beginning to feel weak"
|
||||||
"You feel deathly sick"
|
"You feel deathly sick"
|
||||||
"You feel (much|even) worse"
|
"You feel (much|even) worse"
|
||||||
|
|
||||||
"You feel more confident "
|
"You feel more confident "
|
||||||
|
|
||||||
"You only feel hungry now"
|
"You only feel hungry now"
|
||||||
" needs food, badly!"
|
" needs food, badly!"
|
||||||
"You feel hungry"
|
"You feel hungry"
|
||||||
"You are beginning to feel hungry"
|
"You are beginning to feel hungry"
|
||||||
"You are getting the munchies"
|
"You are getting the munchies"
|
||||||
"You still have the munchies"
|
"You still have the munchies"
|
||||||
"The munchies are interfering with your motor capabilities"
|
"The munchies are interfering with your motor capabilities"
|
||||||
"You now have a lesser case of the munchies"
|
"You now have a lesser case of the munchies"
|
||||||
];
|
];
|
||||||
|
|
||||||
hide = [
|
hide = [
|
||||||
"You swap places with .*"
|
"You swap places with .*"
|
||||||
@@ -217,17 +199,21 @@
|
|||||||
"(mud|buckled|riding|snow|hiking|combat|jungle) boots" = "magenta";
|
"(mud|buckled|riding|snow|hiking|combat|jungle) boots" = "magenta";
|
||||||
" (Dragonbane|Fire Brand|Frost Brand|Ogresmasher|Trollsbane|Werebane)" = "lightgreen";
|
" (Dragonbane|Fire Brand|Frost Brand|Ogresmasher|Trollsbane|Werebane)" = "lightgreen";
|
||||||
" (Demonbane|Excalibur|Grayswandir|Snickersnee|Sunsword)" = "lightgreen";
|
" (Demonbane|Excalibur|Grayswandir|Snickersnee|Sunsword)" = "lightgreen";
|
||||||
" (Orb of Detection|Sceptre of Might|Magic Mirror of Merlin|Mitre of Holiness|Tsurugi of Muramasa)" = "lightgreen";
|
" (Orb of Detection|Sceptre of Might|Magic Mirror of Merlin|Mitre of Holiness|Tsurugi of Muramasa)" =
|
||||||
|
"lightgreen";
|
||||||
" (Cleaver|Giantslayer|Magicbane|Mjollnir|Vorpal Blade)" = "lightgreen";
|
" (Cleaver|Giantslayer|Magicbane|Mjollnir|Vorpal Blade)" = "lightgreen";
|
||||||
" (Heart of Ahriman|Staff of Aesculapius|Eyes of the Overworld|Platinum Yendorian Express Card|Orb of Fate|Eye of the Aethiopica)" = "lightgreen";
|
" (Heart of Ahriman|Staff of Aesculapius|Eyes of the Overworld|Platinum Yendorian Express Card|Orb of Fate|Eye of the Aethiopica)" =
|
||||||
|
"lightgreen";
|
||||||
" (Grimtooth|Orcrist|Sting|Stormbringer)" = "lightgreen";
|
" (Grimtooth|Orcrist|Sting|Stormbringer)" = "lightgreen";
|
||||||
" (Longbow of Diana|Master Key of Thievery)" = "lightgreen";
|
" (Longbow of Diana|Master Key of Thievery)" = "lightgreen";
|
||||||
" (Bell of Opening|silver bell|Candelabrum of Invocation|candelabrum|Book of the Dead|papyrus spellbook)" = "magenta&bold";
|
" (Bell of Opening|silver bell|Candelabrum of Invocation|candelabrum|Book of the Dead|papyrus spellbook)" =
|
||||||
|
"magenta&bold";
|
||||||
" Amulet of Yendor named" = "magenta&bold";
|
" Amulet of Yendor named" = "magenta&bold";
|
||||||
" cursed.* bag .* holding" = "red&bold";
|
" cursed.* bag .* holding" = "red&bold";
|
||||||
" cursed.* luck(stone)?($| )" = "red&bold";
|
" cursed.* luck(stone)?($| )" = "red&bold";
|
||||||
" cursed.* unicorn horn" = "red&bold";
|
" cursed.* unicorn horn" = "red&bold";
|
||||||
" cursed.* (Bell of Opening|silver bell|Candelabrum of Invocation|candelabrum|Book of the Dead|papyrus spellbook)" = "red&bold";
|
" cursed.* (Bell of Opening|silver bell|Candelabrum of Invocation|candelabrum|Book of the Dead|papyrus spellbook)" =
|
||||||
|
"red&bold";
|
||||||
"cursed tins? .* spinach|tins? .* spinach .* (cursed|C($| ))" = "red";
|
"cursed tins? .* spinach|tins? .* spinach .* (cursed|C($| ))" = "red";
|
||||||
" load(stone)?($| )" = "red&underline";
|
" load(stone)?($| )" = "red&underline";
|
||||||
" bag .* tricks" = "blue&underline";
|
" bag .* tricks" = "blue&underline";
|
||||||
@@ -236,8 +222,10 @@
|
|||||||
" gold piece" = "yellow";
|
" gold piece" = "yellow";
|
||||||
" valuable" = "brown";
|
" valuable" = "brown";
|
||||||
" gems? .* hard" = "yellow";
|
" gems? .* hard" = "yellow";
|
||||||
" ([0-9]+|an?|gems? .*) (uncursed |cursed |blessed )?(dilithium|opal|garnet|jasper|agate|jet|obsidian|jade|citrine|chrysoberyl|amber|amethyst|fluorite|turquoise)(e?s)?( stones?| gems?| crystals?)?( named .*)?$" = "brown";
|
" ([0-9]+|an?|gems? .*) (uncursed |cursed |blessed )?(dilithium|opal|garnet|jasper|agate|jet|obsidian|jade|citrine|chrysoberyl|amber|amethyst|fluorite|turquoise)(e?s)?( stones?| gems?| crystals?)?( named .*)?$" =
|
||||||
" ([0-9]+|an?|gems?.*) (uncursed |cursed |blessed )?(diamond|rub(y|ies)|jacinth|sapphire|black opal|emerald|topaz|aquamarine)(e?s)?( stones?| gems?)?( named .*)?$" = "yellow";
|
"brown";
|
||||||
|
" ([0-9]+|an?|gems?.*) (uncursed |cursed |blessed )?(diamond|rub(y|ies)|jacinth|sapphire|black opal|emerald|topaz|aquamarine)(e?s)?( stones?| gems?)?( named .*)?$" =
|
||||||
|
"yellow";
|
||||||
" 0%" = "white";
|
" 0%" = "white";
|
||||||
" [1-9]%" = "cyan";
|
" [1-9]%" = "cyan";
|
||||||
" [12][0-9]%" = "cyan";
|
" [12][0-9]%" = "cyan";
|
||||||
|
@@ -1,10 +1,10 @@
|
|||||||
{ lib, pkgs, ... }:
|
{ lib, pkgs, ... }:
|
||||||
{
|
{
|
||||||
programs.firefox = {
|
programs.firefox = {
|
||||||
nativeMessagingHosts = [ pkgs.plasma-browser-integration ];
|
nativeMessagingHosts = [ pkgs.kdePackages.plasma-browser-integration ];
|
||||||
|
|
||||||
profiles.default = {
|
profiles.default = {
|
||||||
extensions = [ pkgs.nur.repos.rycee.firefox-addons.plasma-integration ];
|
extensions.packages = [ pkgs.nur.repos.rycee.firefox-addons.plasma-integration ];
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
"widget.use-xdg-desktop-portal.file-picker" = 1;
|
"widget.use-xdg-desktop-portal.file-picker" = 1;
|
||||||
@@ -13,27 +13,21 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.kdeconnect.enable = true;
|
||||||
|
|
||||||
programs.plasma = {
|
programs.plasma = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
input.touchpads = [{
|
input.touchpads = [
|
||||||
enable = true;
|
{
|
||||||
name = "SynPS/2 Synaptics TouchPad";
|
enable = true;
|
||||||
vendorId = "0002";
|
name = "SynPS/2 Synaptics TouchPad";
|
||||||
productId = "0007";
|
vendorId = "0002";
|
||||||
disableWhileTyping = false;
|
productId = "0007";
|
||||||
naturalScroll = true;
|
disableWhileTyping = false;
|
||||||
}];
|
naturalScroll = true;
|
||||||
|
}
|
||||||
powerdevil = let
|
];
|
||||||
settings = {
|
|
||||||
powerButtonAction = "sleep";
|
|
||||||
};
|
|
||||||
|
|
||||||
modes = [ "AC" "battery" "lowBattery" ];
|
|
||||||
in lib.mergeAttrsList (
|
|
||||||
map (m: { "${m}" = settings; }) modes
|
|
||||||
);
|
|
||||||
|
|
||||||
kwin.edgeBarrier = 0;
|
kwin.edgeBarrier = 0;
|
||||||
workspace = {
|
workspace = {
|
||||||
@@ -50,56 +44,54 @@
|
|||||||
floating = false;
|
floating = false;
|
||||||
height = 44;
|
height = 44;
|
||||||
|
|
||||||
widgets = let
|
widgets =
|
||||||
kickoff = {
|
let
|
||||||
kickoff.icon = "nix-snowflake-white";
|
kickoff = {
|
||||||
};
|
kickoff.icon = "nix-snowflake-white";
|
||||||
|
|
||||||
taskmanager = {
|
|
||||||
iconTasks.launchers = [
|
|
||||||
"applications:systemsettings.desktop"
|
|
||||||
"applications:org.kde.dolphin.desktop"
|
|
||||||
"applications:firefox.desktop"
|
|
||||||
"applications:org.kde.konsole.desktop"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
systray = {
|
|
||||||
systemTray.items.shown = [
|
|
||||||
"org.kde.plasma.battery"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
digital-clock = {
|
|
||||||
digitalClock = {
|
|
||||||
date.format = "isoDate";
|
|
||||||
time.format = "24h";
|
|
||||||
|
|
||||||
date.position = "besideTime";
|
|
||||||
calendar.firstDayOfWeek = "monday";
|
|
||||||
};
|
};
|
||||||
};
|
|
||||||
|
|
||||||
workspaces = "org.kde.plasma.pager";
|
taskmanager = {
|
||||||
separator = "org.kde.plasma.panelspacer";
|
iconTasks.launchers = [
|
||||||
desktop = "org.kde.plasma.showdesktop";
|
"applications:systemsettings.desktop"
|
||||||
in
|
"applications:org.kde.dolphin.desktop"
|
||||||
[
|
"applications:firefox.desktop"
|
||||||
kickoff
|
"applications:org.kde.konsole.desktop"
|
||||||
workspaces
|
];
|
||||||
taskmanager
|
};
|
||||||
|
|
||||||
separator
|
systray = {
|
||||||
digital-clock
|
systemTray.items.shown = [
|
||||||
separator
|
"org.kde.plasma.battery"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
systray
|
digital-clock = {
|
||||||
desktop
|
digitalClock = {
|
||||||
];
|
date.format = "isoDate";
|
||||||
|
time.format = "24h";
|
||||||
|
|
||||||
|
date.position = "belowTime";
|
||||||
|
calendar.firstDayOfWeek = "monday";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
workspaces = "org.kde.plasma.pager";
|
||||||
|
separator = "org.kde.plasma.panelspacer";
|
||||||
|
in
|
||||||
|
[
|
||||||
|
kickoff
|
||||||
|
workspaces
|
||||||
|
taskmanager
|
||||||
|
|
||||||
|
separator
|
||||||
|
digital-clock
|
||||||
|
separator
|
||||||
|
|
||||||
|
systray
|
||||||
|
];
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
window-rules = [
|
window-rules = [
|
||||||
{
|
{
|
||||||
description = "Konsole";
|
description = "Konsole";
|
||||||
@@ -160,4 +152,6 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
gtk.gtk2.force = true;
|
||||||
}
|
}
|
||||||
|
13
home/tuxedo.nix
Normal file
13
home/tuxedo.nix
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
{ lib, pkgs, ... }:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./modules/plasma
|
||||||
|
];
|
||||||
|
|
||||||
|
home = {
|
||||||
|
packages = lib.mkAfter [ pkgs.discord ];
|
||||||
|
file = {
|
||||||
|
".config/discord/settings.json".text = ''{ "SKIP_HOST_UPDATE": true }'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
@@ -1,39 +1,37 @@
|
|||||||
{ inputs, config, pkgs, lib, ... }:
|
{
|
||||||
let flakeInputs = lib.filterAttrs (_: lib.isType "flake") inputs;
|
inputs,
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
flakeInputs = lib.filterAttrs (_: lib.isType "flake") inputs;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
# Bootloader
|
# Bootloader
|
||||||
boot.loader.grub.enable = true;
|
boot.loader.grub.enable = true;
|
||||||
boot.loader.grub.device = lib.mkDefault "/dev/sda";
|
boot.loader.grub.device = lib.mkDefault "/dev/sda";
|
||||||
|
|
||||||
|
|
||||||
# Networking
|
# Networking
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
|
networking.firewall = rec {
|
||||||
|
allowedTCPPortRanges = [
|
||||||
|
{
|
||||||
|
from = 1714;
|
||||||
|
to = 1764;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
|
allowedUDPPortRanges = allowedTCPPortRanges;
|
||||||
|
};
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
services.tailscale.enable = true;
|
services.tailscale.enable = true;
|
||||||
|
|
||||||
|
|
||||||
# Router shared filesystem
|
|
||||||
fileSystems."/home/andrey/Public" = {
|
|
||||||
device = "root@192.168.0.3:/mnt/sda1";
|
|
||||||
fsType = "sshfs";
|
|
||||||
options = [
|
|
||||||
"nodev"
|
|
||||||
"noatime"
|
|
||||||
"allow_other"
|
|
||||||
"reconnect"
|
|
||||||
"noauto"
|
|
||||||
"x-systemd.automount"
|
|
||||||
"IdentityFile=/home/andrey/.ssh/id_ed25519"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
# l10n and i8n
|
# l10n and i8n
|
||||||
time.timeZone = "Europe/Riga";
|
time.timeZone = "Europe/Riga";
|
||||||
i18n.defaultLocale = "en_US.UTF-8";
|
i18n.defaultLocale = "en_US.UTF-8";
|
||||||
|
|
||||||
|
|
||||||
# Editor
|
# Editor
|
||||||
programs.neovim = {
|
programs.neovim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -42,13 +40,15 @@ in
|
|||||||
defaultEditor = true;
|
defaultEditor = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
# Nix
|
# Nix
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
nix = {
|
nix = {
|
||||||
settings = {
|
settings = {
|
||||||
trusted-users = [ "andrey" ];
|
trusted-users = [ "andrey" ];
|
||||||
experimental-features = [ "nix-command" "flakes" ];
|
experimental-features = [
|
||||||
|
"nix-command"
|
||||||
|
"flakes"
|
||||||
|
];
|
||||||
flake-registry = "";
|
flake-registry = "";
|
||||||
nix-path = config.nix.nixPath;
|
nix-path = config.nix.nixPath;
|
||||||
};
|
};
|
||||||
@@ -58,23 +58,29 @@ in
|
|||||||
nixPath = lib.mapAttrsToList (n: _: "${n}=flake:${n}") flakeInputs;
|
nixPath = lib.mapAttrsToList (n: _: "${n}=flake:${n}") flakeInputs;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
# Users
|
# Users
|
||||||
users.mutableUsers = false;
|
users.mutableUsers = false;
|
||||||
users.users.andrey = {
|
users.users.andrey = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
initialHashedPassword = "$y$j9T$mGZT4otEkrc94e.Ile.P20$BoxfgxCiacs.tYoEp7S5AjcP.aMUBrsaCJYJkBot635";
|
initialHashedPassword = "$y$j9T$mGZT4otEkrc94e.Ile.P20$BoxfgxCiacs.tYoEp7S5AjcP.aMUBrsaCJYJkBot635";
|
||||||
extraGroups = [ "wheel" "cdrom" "networkmanager" "audio" "dialout" "scanner" "lp" "adbusers" ];
|
extraGroups = [
|
||||||
|
"wheel"
|
||||||
|
"cdrom"
|
||||||
|
"networkmanager"
|
||||||
|
"audio"
|
||||||
|
"dialout"
|
||||||
|
"scanner"
|
||||||
|
"lp"
|
||||||
|
"adbusers"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
security.sudo.execWheelOnly = true;
|
security.sudo.execWheelOnly = true;
|
||||||
security.sudo.wheelNeedsPassword = false;
|
security.sudo.wheelNeedsPassword = false;
|
||||||
|
|
||||||
|
|
||||||
# Printers and scanners
|
# Printers and scanners
|
||||||
hardware.sane.enable = true;
|
hardware.sane.enable = true;
|
||||||
services.printing.enable = true;
|
services.printing.enable = true;
|
||||||
services.printing.drivers = [ pkgs.cnijfilter2 ];
|
|
||||||
programs.system-config-printer.enable = true;
|
programs.system-config-printer.enable = true;
|
||||||
|
|
||||||
services.avahi = {
|
services.avahi = {
|
||||||
@@ -83,8 +89,6 @@ in
|
|||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.adb.enable = true;
|
|
||||||
|
|
||||||
# Distcc
|
# Distcc
|
||||||
services.distccd = {
|
services.distccd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -92,32 +96,39 @@ in
|
|||||||
stats.enable = true;
|
stats.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
# Programs
|
# Programs
|
||||||
programs = {
|
programs = {
|
||||||
git = {
|
git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
config = {
|
config = {
|
||||||
init.defaultBranch = "master";
|
init.defaultBranch = "master";
|
||||||
url."https://github.com/".insteadOf = [ "gh:" "github:" ];
|
url."https://github.com/".insteadOf = [
|
||||||
url."https://git.psf.lt/".insteadOf = [ "psf:" "gitea:" ];
|
"gh:"
|
||||||
|
"github:"
|
||||||
|
];
|
||||||
|
url."https://git.psf.lt/".insteadOf = [
|
||||||
|
"psf:"
|
||||||
|
"gitea:"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
# Packages
|
# Packages
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
alsa-utils
|
alsa-utils
|
||||||
];
|
|
||||||
|
|
||||||
|
libextractor
|
||||||
|
file
|
||||||
|
|
||||||
|
unzip
|
||||||
|
];
|
||||||
|
|
||||||
hardware.bluetooth = {
|
hardware.bluetooth = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.General.Enable = "Source,Sink,Media,Socket";
|
settings.General.Enable = "Source,Sink,Media,Socket";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
# Xorg
|
# Xorg
|
||||||
security.rtkit.enable = true;
|
security.rtkit.enable = true;
|
||||||
services = {
|
services = {
|
||||||
@@ -136,4 +147,11 @@ in
|
|||||||
tappingDragLock = false;
|
tappingDragLock = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fonts.packages = with pkgs; [
|
||||||
|
noto-fonts-cjk-sans
|
||||||
|
noto-fonts-cjk-serif
|
||||||
|
|
||||||
|
nerd-fonts.fira-code
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
38
system/tuxedo.nix
Normal file
38
system/tuxedo.nix
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
{ lib, pkgs, ... }:
|
||||||
|
{
|
||||||
|
boot.loader = {
|
||||||
|
efi = {
|
||||||
|
canTouchEfiVariables = true;
|
||||||
|
efiSysMountPoint = "/boot/efi";
|
||||||
|
};
|
||||||
|
grub = {
|
||||||
|
efiSupport = true;
|
||||||
|
device = "nodev";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
hardware.graphics.extraPackages = with pkgs; [
|
||||||
|
intel-media-driver
|
||||||
|
intel-compute-runtime
|
||||||
|
intel-media-sdk
|
||||||
|
];
|
||||||
|
|
||||||
|
virtualisation.docker.enable = true;
|
||||||
|
users.users.andrey.extraGroups = lib.mkAfter [ "docker" ];
|
||||||
|
|
||||||
|
services = {
|
||||||
|
desktopManager.plasma6.enable = true;
|
||||||
|
displayManager.sddm = {
|
||||||
|
enable = true;
|
||||||
|
wayland.enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
fonts.packages = lib.mkAfter (
|
||||||
|
with pkgs;
|
||||||
|
[
|
||||||
|
vistafonts
|
||||||
|
corefonts
|
||||||
|
]
|
||||||
|
);
|
||||||
|
}
|
Reference in New Issue
Block a user