g
This commit is contained in:
parent
dbefb96cb9
commit
1e0ffa6afb
335
flake.lock
335
flake.lock
|
@ -37,11 +37,11 @@
|
||||||
"base16-helix": {
|
"base16-helix": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1725860795,
|
"lastModified": 1736852337,
|
||||||
"narHash": "sha256-Z2o8VBPW3I+KKTSfe25kskz0EUj7MpUh8u355Z1nVsU=",
|
"narHash": "sha256-esD42YdgLlEh7koBrSqcT7p2fsMctPAcGl/+2sYJa2o=",
|
||||||
"owner": "tinted-theming",
|
"owner": "tinted-theming",
|
||||||
"repo": "base16-helix",
|
"repo": "base16-helix",
|
||||||
"rev": "7f795bf75d38e0eea9fed287264067ca187b88a9",
|
"rev": "03860521c40b0b9c04818f2218d9cc9efc21e7a5",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -53,37 +53,17 @@
|
||||||
"base16-vim": {
|
"base16-vim": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1731949548,
|
"lastModified": 1732806396,
|
||||||
"narHash": "sha256-XIDexXM66sSh5j/x70e054BnUsviibUShW7XhbDGhYo=",
|
"narHash": "sha256-e0bpPySdJf0F68Ndanwm+KWHgQiZ0s7liLhvJSWDNsA=",
|
||||||
"owner": "tinted-theming",
|
"owner": "tinted-theming",
|
||||||
"repo": "base16-vim",
|
"repo": "base16-vim",
|
||||||
"rev": "61165b1632409bd55e530f3dbdd4477f011cadc6",
|
"rev": "577fe8125d74ff456cf942c733a85d769afe58b7",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "tinted-theming",
|
"owner": "tinted-theming",
|
||||||
"repo": "base16-vim",
|
"repo": "base16-vim",
|
||||||
"type": "github"
|
"rev": "577fe8125d74ff456cf942c733a85d769afe58b7",
|
||||||
}
|
|
||||||
},
|
|
||||||
"devshell": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"nixvim",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1735644329,
|
|
||||||
"narHash": "sha256-tO3HrHriyLvipc4xr+Ewtdlo7wM1OjXNjlWRgmM7peY=",
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "devshell",
|
|
||||||
"rev": "f7795ede5b02664b57035b3b757876703e2c3eac",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "devshell",
|
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -94,11 +74,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1736165297,
|
"lastModified": 1740485968,
|
||||||
"narHash": "sha256-OT+sF4eNDFN/OdyUfIQwyp28+CFQL7PAdWn0wGU7F0U=",
|
"narHash": "sha256-WK+PZHbfDjLyveXAxpnrfagiFgZWaTJglewBWniTn2Y=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "disko",
|
"repo": "disko",
|
||||||
"rev": "76816af65d5294761636a838917e335992a52e0c",
|
"rev": "19c1140419c4f1cdf88ad4c1cfb6605597628940",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -107,28 +87,29 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"firefox-gnome-theme": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1739223196,
|
||||||
|
"narHash": "sha256-vAxN2f3rvl5q62gQQjZGVSvF93nAsOxntuFz+e/655w=",
|
||||||
|
"owner": "rafaelmardojai",
|
||||||
|
"repo": "firefox-gnome-theme",
|
||||||
|
"rev": "a89108e6272426f4eddd93ba17d0ea101c34fb21",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "rafaelmardojai",
|
||||||
|
"repo": "firefox-gnome-theme",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"flake-compat": {
|
"flake-compat": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1696426674,
|
"lastModified": 1733328505,
|
||||||
"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
|
"narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=",
|
||||||
"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-compat_2": {
|
|
||||||
"flake": false,
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1696426674,
|
|
||||||
"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
|
|
||||||
"owner": "edolstra",
|
"owner": "edolstra",
|
||||||
"repo": "flake-compat",
|
"repo": "flake-compat",
|
||||||
"rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
|
"rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -145,11 +126,33 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1736143030,
|
"lastModified": 1738453229,
|
||||||
"narHash": "sha256-+hu54pAoLDEZT9pjHlqL9DNzWz0NbUn8NEAHP7PQPzU=",
|
"narHash": "sha256-7H9XgNiGLKN1G1CgRh0vUL4AheZSYzPm+zmZ7vxbJdo=",
|
||||||
"owner": "hercules-ci",
|
"owner": "hercules-ci",
|
||||||
"repo": "flake-parts",
|
"repo": "flake-parts",
|
||||||
"rev": "b905f6fc23a9051a6e1b741e1438dbfc0634c6de",
|
"rev": "32ea77a06711b758da0ad9bd6a844c5740a87abd",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "hercules-ci",
|
||||||
|
"repo": "flake-parts",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"flake-parts_2": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs-lib": [
|
||||||
|
"stylix",
|
||||||
|
"nur",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1733312601,
|
||||||
|
"narHash": "sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c=",
|
||||||
|
"owner": "hercules-ci",
|
||||||
|
"repo": "flake-parts",
|
||||||
|
"rev": "205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -216,52 +219,21 @@
|
||||||
"git-hooks": {
|
"git-hooks": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-compat": [
|
"flake-compat": [
|
||||||
"nixvim",
|
"stylix",
|
||||||
"flake-compat"
|
"flake-compat"
|
||||||
],
|
],
|
||||||
"gitignore": "gitignore",
|
"gitignore": "gitignore",
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixvim",
|
"stylix",
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1735882644,
|
"lastModified": 1737465171,
|
||||||
"narHash": "sha256-3FZAG+pGt3OElQjesCAWeMkQ7C/nB1oTHLRQ8ceP110=",
|
"narHash": "sha256-R10v2hoJRLq8jcL4syVFag7nIGE7m13qO48wRIukWNg=",
|
||||||
"owner": "cachix",
|
"owner": "cachix",
|
||||||
"repo": "git-hooks.nix",
|
"repo": "git-hooks.nix",
|
||||||
"rev": "a5a961387e75ae44cc20f0a57ae463da5e959656",
|
"rev": "9364dc02281ce2d37a1f55b6e51f7c0f65a75f17",
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "cachix",
|
|
||||||
"repo": "git-hooks.nix",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"git-hooks_2": {
|
|
||||||
"inputs": {
|
|
||||||
"flake-compat": [
|
|
||||||
"stylix",
|
|
||||||
"flake-compat"
|
|
||||||
],
|
|
||||||
"gitignore": "gitignore_2",
|
|
||||||
"nixpkgs": [
|
|
||||||
"stylix",
|
|
||||||
"nixpkgs"
|
|
||||||
],
|
|
||||||
"nixpkgs-stable": [
|
|
||||||
"stylix",
|
|
||||||
"git-hooks",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1731363552,
|
|
||||||
"narHash": "sha256-vFta1uHnD29VUY4HJOO/D6p6rxyObnf+InnSMT4jlMU=",
|
|
||||||
"owner": "cachix",
|
|
||||||
"repo": "git-hooks.nix",
|
|
||||||
"rev": "cd1af27aa85026ac759d5d3fccf650abe7e1bbf0",
|
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -271,28 +243,6 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"gitignore": {
|
"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"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"gitignore_2": {
|
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"stylix",
|
"stylix",
|
||||||
|
@ -338,11 +288,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1736089250,
|
"lastModified": 1741056285,
|
||||||
"narHash": "sha256-/LPWMiiJGPHGd7ZYEgmbE2da4zvBW0acmshUjYC3WG4=",
|
"narHash": "sha256-/JKDMVqq8PIqcGonBVKbKq1SooV3kzGmv+cp3rKAgPA=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "172b91bfb2b7f5c4a8c6ceac29fd53a01ef07196",
|
"rev": "70fbbf05a5594b0a72124ab211bff1d502c89e3f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -352,27 +302,6 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"home-manager_2": {
|
"home-manager_2": {
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"nixvim",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1736089250,
|
|
||||||
"narHash": "sha256-/LPWMiiJGPHGd7ZYEgmbE2da4zvBW0acmshUjYC3WG4=",
|
|
||||||
"owner": "nix-community",
|
|
||||||
"repo": "home-manager",
|
|
||||||
"rev": "172b91bfb2b7f5c4a8c6ceac29fd53a01ef07196",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nix-community",
|
|
||||||
"repo": "home-manager",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"home-manager_3": {
|
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"stylix",
|
"stylix",
|
||||||
|
@ -380,11 +309,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1735774425,
|
"lastModified": 1740347597,
|
||||||
"narHash": "sha256-C73gLFnEh8ZI0uDijUgCDWCd21T6I6tsaWgIBHcfAXg=",
|
"narHash": "sha256-st5q9egkPGz8TUcVVlIQX7y6G3AzHob+6M963bwVq74=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "5f6aa268e419d053c3d5025da740e390b12ac936",
|
"rev": "12e26a74e5eb1a31e13daaa08858689e25ebd449",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -395,11 +324,11 @@
|
||||||
},
|
},
|
||||||
"impermanence": {
|
"impermanence": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1734945620,
|
"lastModified": 1737831083,
|
||||||
"narHash": "sha256-olIfsfJK4/GFmPH8mXMmBDAkzVQ1TWJmeGT3wBGfQPY=",
|
"narHash": "sha256-LJggUHbpyeDvNagTUrdhe/pRVp4pnS6wVKALS782gRI=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "impermanence",
|
"repo": "impermanence",
|
||||||
"rev": "d000479f4f41390ff7cf9204979660ad5dd16176",
|
"rev": "4b3e914cdf97a5b536a889e939fb2fd2b043a170",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -436,27 +365,6 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nix-darwin": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"nixvim",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1736085891,
|
|
||||||
"narHash": "sha256-bTl9fcUo767VaSx4Q5kFhwiDpFQhBKna7lNbGsqCQiA=",
|
|
||||||
"owner": "lnl7",
|
|
||||||
"repo": "nix-darwin",
|
|
||||||
"rev": "ba9b3173b0f642ada42b78fb9dfc37ca82266f6c",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "lnl7",
|
|
||||||
"repo": "nix-darwin",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nix-index-database": {
|
"nix-index-database": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
|
@ -464,11 +372,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1736047960,
|
"lastModified": 1740886574,
|
||||||
"narHash": "sha256-hutd85FA1jUJhhqBRRJ+u7UHO9oFGD/RVm2x5w8WjVQ=",
|
"narHash": "sha256-jN6kJ41B6jUVDTebIWeebTvrKP6YiLd1/wMej4uq4Sk=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "nix-index-database",
|
"repo": "nix-index-database",
|
||||||
"rev": "816a6ae88774ba7e74314830546c29e134e0dffb",
|
"rev": "26a0f969549cf4d56f6e9046b9e0418b3f3b94a5",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -479,11 +387,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1736012469,
|
"lastModified": 1741010256,
|
||||||
"narHash": "sha256-/qlNWm/IEVVH7GfgAIyP6EsVZI6zjAx1cV5zNyrs+rI=",
|
"narHash": "sha256-WZNlK/KX7Sni0RyqLSqLPbK8k08Kq7H7RijPJbq9KHM=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "8f3e1f807051e32d8c95cd12b9b421623850a34d",
|
"rev": "ba487dbc9d04e0634c64e3b1f0d25839a0a68246",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -495,11 +403,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1735648875,
|
"lastModified": 1740367490,
|
||||||
"narHash": "sha256-fQ4k/hyQiH9RRPznztsA9kbcDajvwV1sRm01el6Sr3c=",
|
"narHash": "sha256-WGaHVAjcrv+Cun7zPlI41SerRtfknGQap281+AakSAw=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "47e29c20abef74c45322eca25ca1550cdf5c3b50",
|
"rev": "0196c0175e9191c474c26ab5548db27ef5d34b05",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -511,24 +419,18 @@
|
||||||
},
|
},
|
||||||
"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"
|
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1736157655,
|
"lastModified": 1741098523,
|
||||||
"narHash": "sha256-/ggXMK8Q/rN94kaaSHPtEcf4SPKgPXfzSbDgAR6Odzs=",
|
"narHash": "sha256-gXDSXDr6tAb+JgxGMvcEjKC9YO8tVOd8hMMZHJLyQ6Q=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "nixvim",
|
"repo": "nixvim",
|
||||||
"rev": "31139e0605fd886d981e0a197e30ceac4b859d6e",
|
"rev": "03065fd4708bfdf47dd541d655392a60daa25ded",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -537,6 +439,29 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nur": {
|
||||||
|
"inputs": {
|
||||||
|
"flake-parts": "flake-parts_2",
|
||||||
|
"nixpkgs": [
|
||||||
|
"stylix",
|
||||||
|
"nixpkgs"
|
||||||
|
],
|
||||||
|
"treefmt-nix": "treefmt-nix"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1740408283,
|
||||||
|
"narHash": "sha256-2xECnhgF3MU9YjmvOkrRp8wRFo2OjjewgCtlfckhL5s=",
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "NUR",
|
||||||
|
"rev": "496a4a11162bdffb9a7b258942de138873f019f7",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "NUR",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nuschtosSearch": {
|
"nuschtosSearch": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-utils": "flake-utils",
|
"flake-utils": "flake-utils",
|
||||||
|
@ -547,11 +472,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1735854821,
|
"lastModified": 1738508923,
|
||||||
"narHash": "sha256-Iv59gMDZajNfezTO0Fw6LHE7uKAShxbvMidmZREit7c=",
|
"narHash": "sha256-4DaDrQDAIxlWhTjH6h/+xfG05jt3qDZrZE/7zDLQaS4=",
|
||||||
"owner": "NuschtOS",
|
"owner": "NuschtOS",
|
||||||
"repo": "search",
|
"repo": "search",
|
||||||
"rev": "836908e3bddd837ae0f13e215dd48767aee355f0",
|
"rev": "86e2038290859006e05ca7201425ea5b5de4aecb",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -578,24 +503,27 @@
|
||||||
"base16-fish": "base16-fish",
|
"base16-fish": "base16-fish",
|
||||||
"base16-helix": "base16-helix",
|
"base16-helix": "base16-helix",
|
||||||
"base16-vim": "base16-vim",
|
"base16-vim": "base16-vim",
|
||||||
"flake-compat": "flake-compat_2",
|
"firefox-gnome-theme": "firefox-gnome-theme",
|
||||||
|
"flake-compat": "flake-compat",
|
||||||
"flake-utils": "flake-utils_2",
|
"flake-utils": "flake-utils_2",
|
||||||
"git-hooks": "git-hooks_2",
|
"git-hooks": "git-hooks",
|
||||||
"gnome-shell": "gnome-shell",
|
"gnome-shell": "gnome-shell",
|
||||||
"home-manager": "home-manager_3",
|
"home-manager": "home-manager_2",
|
||||||
"nixpkgs": "nixpkgs_2",
|
"nixpkgs": "nixpkgs_2",
|
||||||
|
"nur": "nur",
|
||||||
"systems": "systems_2",
|
"systems": "systems_2",
|
||||||
"tinted-foot": "tinted-foot",
|
"tinted-foot": "tinted-foot",
|
||||||
"tinted-kitty": "tinted-kitty",
|
"tinted-kitty": "tinted-kitty",
|
||||||
|
"tinted-schemes": "tinted-schemes",
|
||||||
"tinted-tmux": "tinted-tmux",
|
"tinted-tmux": "tinted-tmux",
|
||||||
"tinted-zed": "tinted-zed"
|
"tinted-zed": "tinted-zed"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1736176887,
|
"lastModified": 1741112087,
|
||||||
"narHash": "sha256-XacDv8TFEcqaZlfsRqNFUCgca7Xv3SQtzrXon8oEhVo=",
|
"narHash": "sha256-dBGwN4aHmX2QUXolZDhV+p06+WM5ZykL4wd9BD6bT7k=",
|
||||||
"owner": "danth",
|
"owner": "danth",
|
||||||
"repo": "stylix",
|
"repo": "stylix",
|
||||||
"rev": "b47ef3b8560c3921404d72cec95d84632e355e01",
|
"rev": "11780517948f214b9f93d1bf5a2d29bc181d3a33",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -668,14 +596,30 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"tinted-schemes": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1740351358,
|
||||||
|
"narHash": "sha256-Hdk850xgAd3DL8KX0AbyU7tC834d3Lej1jOo3duWiOA=",
|
||||||
|
"owner": "tinted-theming",
|
||||||
|
"repo": "schemes",
|
||||||
|
"rev": "a1bc2bd89e693e7e3f5764cfe8114e2ae150e184",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "tinted-theming",
|
||||||
|
"repo": "schemes",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"tinted-tmux": {
|
"tinted-tmux": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1729501581,
|
"lastModified": 1740272597,
|
||||||
"narHash": "sha256-1ohEFMC23elnl39kxWnjzH1l2DFWWx4DhFNNYDTYt54=",
|
"narHash": "sha256-/etfUV3HzAaLW3RSJVwUaW8ULbMn3v6wbTlXSKbcoWQ=",
|
||||||
"owner": "tinted-theming",
|
"owner": "tinted-theming",
|
||||||
"repo": "tinted-tmux",
|
"repo": "tinted-tmux",
|
||||||
"rev": "f0e7f7974a6441033eb0a172a0342e96722b4f14",
|
"rev": "b6c7f46c8718cc484f2db8b485b06e2a98304cd0",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -703,16 +647,17 @@
|
||||||
"treefmt-nix": {
|
"treefmt-nix": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixvim",
|
"stylix",
|
||||||
|
"nur",
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1736115332,
|
"lastModified": 1733222881,
|
||||||
"narHash": "sha256-FBG9d7e0BTFfxVdw4b5EmNll2Mv7hfRc54hbB4LrKko=",
|
"narHash": "sha256-JIPcz1PrpXUCbaccEnrcUS8jjEb/1vJbZz5KkobyFdM=",
|
||||||
"owner": "numtide",
|
"owner": "numtide",
|
||||||
"repo": "treefmt-nix",
|
"repo": "treefmt-nix",
|
||||||
"rev": "1788ca5acd4b542b923d4757d4cfe4183cc6a92d",
|
"rev": "49717b5af6f80172275d47a418c9719a31a78b53",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
41
flake.nix
41
flake.nix
|
@ -51,24 +51,31 @@
|
||||||
# url = "github:hyprwm/hyprland-plugins";
|
# url = "github:hyprwm/hyprland-plugins";
|
||||||
# inputs.hyprland.follows = "hyprland";
|
# inputs.hyprland.follows = "hyprland";
|
||||||
# };
|
# };
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, ... } @ inputs:
|
outputs = {
|
||||||
let
|
self,
|
||||||
|
nixpkgs,
|
||||||
|
...
|
||||||
|
} @ inputs: let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
pkgs = import nixpkgs { inherit system; overlays = []; };
|
pkgs = import nixpkgs {
|
||||||
in
|
inherit system;
|
||||||
{
|
overlays = [];
|
||||||
|
};
|
||||||
|
in {
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
|
|
||||||
bootstrap = nixpkgs.lib.nixosSystem {
|
bootstrap = nixpkgs.lib.nixosSystem {
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit inputs;
|
inherit inputs;
|
||||||
};
|
};
|
||||||
modules = [
|
modules = [
|
||||||
inputs.disko.nixosModules.default
|
inputs.disko.nixosModules.default
|
||||||
(import ./modules/disko/disko-luks.nix { device = "/dev/nvme0n1"; swap-size = "8G"; encrypted = false; })
|
(import ./modules/disko/disko-luks.nix {
|
||||||
|
device = "/dev/nvme0n1";
|
||||||
|
swap-size = "8G";
|
||||||
|
encrypted = false;
|
||||||
|
})
|
||||||
|
|
||||||
./hosts/bootstrap/configuration.nix
|
./hosts/bootstrap/configuration.nix
|
||||||
|
|
||||||
|
@ -82,7 +89,11 @@
|
||||||
};
|
};
|
||||||
modules = [
|
modules = [
|
||||||
inputs.disko.nixosModules.default
|
inputs.disko.nixosModules.default
|
||||||
(import ./modules/disko/disko-luks.nix { device = "/dev/nvme0n1"; swap-size = "8G"; encrypted = false; })
|
(import ./modules/disko/disko-luks.nix {
|
||||||
|
device = "/dev/nvme0n1";
|
||||||
|
swap-size = "8G";
|
||||||
|
encrypted = false;
|
||||||
|
})
|
||||||
|
|
||||||
./hosts/desktop/configuration.nix
|
./hosts/desktop/configuration.nix
|
||||||
|
|
||||||
|
@ -119,7 +130,11 @@
|
||||||
};
|
};
|
||||||
modules = [
|
modules = [
|
||||||
inputs.disko.nixosModules.default
|
inputs.disko.nixosModules.default
|
||||||
(import ./modules/disko/disko-luks.nix { device = "/dev/sda"; swap-size = "32G"; encrypted = true; })
|
(import ./modules/disko/disko-luks.nix {
|
||||||
|
device = "/dev/sda";
|
||||||
|
swap-size = "32G";
|
||||||
|
encrypted = true;
|
||||||
|
})
|
||||||
|
|
||||||
./hosts/laptop/configuration.nix
|
./hosts/laptop/configuration.nix
|
||||||
|
|
||||||
|
@ -134,8 +149,9 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
templates = {
|
formatter.x86_64-linux = pkgs.alejandra;
|
||||||
|
|
||||||
|
templates = {
|
||||||
dotnet = {
|
dotnet = {
|
||||||
path = ./templates/dotnet;
|
path = ./templates/dotnet;
|
||||||
description = "Flake for programming in dotnet";
|
description = "Flake for programming in dotnet";
|
||||||
|
@ -145,9 +161,6 @@
|
||||||
path = ./templates/latex;
|
path = ./templates/latex;
|
||||||
description = "Flake for creating latex documents";
|
description = "Flake for creating latex documents";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,12 +1,15 @@
|
||||||
# Edit this configuration file to define what should be installed on
|
# Edit this configuration file to define what should be installed on
|
||||||
# your system. Help is available in the configuration.nix(5) man page, on
|
# your system. Help is available in the configuration.nix(5) man page, on
|
||||||
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
|
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
|
||||||
|
|
||||||
{ config, lib, pkgs, inputs, ... }:
|
|
||||||
{
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
inputs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
# This is where you specify all .nix files to import
|
# This is where you specify all .nix files to import
|
||||||
imports =
|
imports = [
|
||||||
[
|
|
||||||
# Hardware configuration that you generated in earlier steps
|
# Hardware configuration that you generated in earlier steps
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
|
||||||
|
@ -80,5 +83,4 @@
|
||||||
#
|
#
|
||||||
# For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion .
|
# For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion .
|
||||||
system.stateVersion = "23.11"; # Did you read the comment?
|
system.stateVersion = "23.11"; # Did you read the comment?
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,11 +1,15 @@
|
||||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||||
# and may be overwritten by future invocations. Please make changes
|
# and may be overwritten by future invocations. Please make changes
|
||||||
# to /etc/nixos/configuration.nix instead.
|
# to /etc/nixos/configuration.nix instead.
|
||||||
{ config, lib, pkgs, modulesPath, ... }:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
config,
|
||||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
lib,
|
||||||
|
pkgs,
|
||||||
|
modulesPath,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
imports = [
|
||||||
|
(modulesPath + "/installer/scan/not-detected.nix")
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usb_storage" "usbhid" "sd_mod"];
|
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usb_storage" "usbhid" "sd_mod"];
|
||||||
|
|
|
@ -1,16 +1,18 @@
|
||||||
# Edit this configuration file to define what should be installed on
|
# Edit this configuration file to define what should be installed on
|
||||||
# your system. Help is available in the configuration.nix(5) man page, on
|
# your system. Help is available in the configuration.nix(5) man page, on
|
||||||
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
|
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
|
||||||
|
{
|
||||||
{ config, lib, pkgs, inputs, ... }:
|
config,
|
||||||
let
|
lib,
|
||||||
|
pkgs,
|
||||||
|
inputs,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
persistence = {
|
persistence = {
|
||||||
"snorre" = import ./persist.nix;
|
"snorre" = import ./persist.nix;
|
||||||
};
|
};
|
||||||
in
|
in {
|
||||||
{
|
imports = [
|
||||||
imports =
|
|
||||||
[
|
|
||||||
# Include the results of the hardware scan.
|
# Include the results of the hardware scan.
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
# ../../modules/drivers/nvidia.nix
|
# ../../modules/drivers/nvidia.nix
|
||||||
|
@ -26,11 +28,15 @@ in
|
||||||
#../../modules/users/main-user.nix
|
#../../modules/users/main-user.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
services.mullvad-vpn.enable = true;
|
||||||
|
|
||||||
# Use the systemd-boot EFI boot loader.
|
# Use the systemd-boot EFI boot loader.
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
boot.loader.timeout = 0;
|
boot.loader.timeout = 0;
|
||||||
|
|
||||||
|
boot.blacklistedKernelModules = ["btusb"];
|
||||||
|
|
||||||
boot.kernelPackages = pkgs.linuxPackages_zen;
|
boot.kernelPackages = pkgs.linuxPackages_zen;
|
||||||
|
|
||||||
# boot.plymouth.enable = true;
|
# boot.plymouth.enable = true;
|
||||||
|
@ -175,7 +181,7 @@ in
|
||||||
# Gnome keyring makes it so we dont have to keep logging into programs
|
# Gnome keyring makes it so we dont have to keep logging into programs
|
||||||
gnome-keyring
|
gnome-keyring
|
||||||
# Ui for when programs want sudo
|
# Ui for when programs want sudo
|
||||||
polkit-kde-agent
|
hyprpolkitagent
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.gamemode = {
|
programs.gamemode = {
|
||||||
|
@ -191,24 +197,20 @@ in
|
||||||
# start = "${pkgs.libnotify}/bin/notify-send 'GameMode started'";
|
# start = "${pkgs.libnotify}/bin/notify-send 'GameMode started'";
|
||||||
# end = "${pkgs.libnotify}/bin/notify-send 'GameMode ended'";
|
# end = "${pkgs.libnotify}/bin/notify-send 'GameMode ended'";
|
||||||
|
|
||||||
start =
|
start = let
|
||||||
let
|
|
||||||
script = pkgs.writeScriptBin "gamemode_start.sh" ''
|
script = pkgs.writeScriptBin "gamemode_start.sh" ''
|
||||||
${pkgs.libnotify}/bin/notify-send "GameMode started"
|
${pkgs.libnotify}/bin/notify-send "GameMode started"
|
||||||
${pkgs.libnotify}/bin/notify-send "user is: $USER"
|
${pkgs.libnotify}/bin/notify-send "user is: $USER"
|
||||||
/home/$USER/.nix-profile/bin/hyprctl keyword input:touchpad:disable_while_typing false
|
/home/$USER/.nix-profile/bin/hyprctl keyword input:touchpad:disable_while_typing false
|
||||||
'';
|
'';
|
||||||
in
|
in "${script}/bin/gamemode_start.sh";
|
||||||
"${script}/bin/gamemode_start.sh";
|
|
||||||
|
|
||||||
end =
|
end = let
|
||||||
let
|
|
||||||
script = pkgs.writeScriptBin "gamemode_end.sh" ''
|
script = pkgs.writeScriptBin "gamemode_end.sh" ''
|
||||||
${pkgs.libnotify}/bin/notify-send "GameMode end"
|
${pkgs.libnotify}/bin/notify-send "GameMode end"
|
||||||
/home/$USER/.nix-profile/bin/hyprctl keyword input:touchpad:disable_while_typing true
|
/home/$USER/.nix-profile/bin/hyprctl keyword input:touchpad:disable_while_typing true
|
||||||
'';
|
'';
|
||||||
in
|
in "${script}/bin/gamemode_end.sh";
|
||||||
"${script}/bin/gamemode_end.sh";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -238,12 +240,15 @@ in
|
||||||
# xdgOpenUsePortal = true;
|
# xdgOpenUsePortal = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
xdg.mime.defaultApplications = {
|
||||||
|
"application/pdf" = "firefox.desktop";
|
||||||
|
};
|
||||||
|
|
||||||
qt = {
|
qt = {
|
||||||
enable = true;
|
enable = true;
|
||||||
platformTheme = "qt5ct";
|
platformTheme = "qt5ct";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
# Delete old entries to
|
# Delete old entries to
|
||||||
nix = {
|
nix = {
|
||||||
gc = {
|
gc = {
|
||||||
|
@ -255,6 +260,7 @@ in
|
||||||
stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-material-dark-soft.yaml";
|
stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-material-dark-soft.yaml";
|
||||||
stylix.autoEnable = true;
|
stylix.autoEnable = true;
|
||||||
stylix.polarity = "dark";
|
stylix.polarity = "dark";
|
||||||
|
stylix.targets.qt.platform = "qtct";
|
||||||
|
|
||||||
# stylix.cursor.package = ( pkgs.callPackage ../../modules/stylix/cursors/posy-improved {} );
|
# stylix.cursor.package = ( pkgs.callPackage ../../modules/stylix/cursors/posy-improved {} );
|
||||||
# stylix.cursor.name = "Posy_Cursor";
|
# stylix.cursor.name = "Posy_Cursor";
|
||||||
|
@ -266,18 +272,46 @@ in
|
||||||
stylix.image = ./nixos-wallpaper.png;
|
stylix.image = ./nixos-wallpaper.png;
|
||||||
|
|
||||||
networking.hostName = "desktop"; # Define your hostname.
|
networking.hostName = "desktop"; # Define your hostname.
|
||||||
networking.networkmanager.enable = true; # Easiest to use and most distros use this by default.
|
networking.networkmanager.enable = false; # Easiest to use and most distros use this by default.
|
||||||
networking.networkmanager.wifi.powersave = true;
|
networking.useNetworkd = true;
|
||||||
|
networking.useDHCP = false;
|
||||||
|
networking.hosts."10.0.101.10" = ["server"];
|
||||||
|
networking.interfaces = {
|
||||||
|
enp8s0.ipv4.addresses = [
|
||||||
|
{
|
||||||
|
address = "10.0.101.11";
|
||||||
|
prefixLength = 24;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
wlp7s0.ipv4.addresses = [
|
||||||
|
{
|
||||||
|
address = "10.0.101.12";
|
||||||
|
prefixLength = 24;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
networking.defaultGateway = {
|
||||||
|
address = "10.0.101.1";
|
||||||
|
interface = "enp8s0";
|
||||||
|
};
|
||||||
|
networking.nameservers = [
|
||||||
|
"10.0.101.1"
|
||||||
|
"4.4.4.4"
|
||||||
|
];
|
||||||
networking.firewall = {
|
networking.firewall = {
|
||||||
enable = true;
|
enable = true;
|
||||||
allowedTCPPorts = [8000];
|
allowedTCPPorts = [8000];
|
||||||
allowedUDPPortRanges = [
|
allowedUDPPortRanges = [
|
||||||
{ from = 8000; to = 8010; }
|
{
|
||||||
|
from = 8000;
|
||||||
|
to = 8010;
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Fuck off, i wanna boot
|
# Fuck off, i wanna boot
|
||||||
systemd.services."NetworkManager-wait-online".enable = false;
|
systemd.services."NetworkManager-wait-online".enable = false;
|
||||||
|
systemd.services."systemd-networkd-wait-online".enable = lib.mkForce false;
|
||||||
|
|
||||||
# Set your time zone.
|
# Set your time zone.
|
||||||
time.timeZone = "Europe/Copenhagen";
|
time.timeZone = "Europe/Copenhagen";
|
||||||
|
@ -296,16 +330,20 @@ in
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.udev.extraRules = ''
|
||||||
|
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="6964", ATTRS{idProduct}=="0075", MODE="0660", GROUP="users", TAG+="uaccess", TAG+="udev-acl"
|
||||||
|
'';
|
||||||
|
|
||||||
services.blueman = {
|
services.blueman = {
|
||||||
enable = true;
|
enable = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
virtualisation.docker = {
|
virtualisation.docker = {
|
||||||
enable = true;
|
enable = false;
|
||||||
storageDriver = "btrfs";
|
storageDriver = "btrfs";
|
||||||
};
|
};
|
||||||
|
|
||||||
hardware.bluetooth.enable = true;
|
hardware.bluetooth.enable = false;
|
||||||
hardware.bluetooth.powerOnBoot = false;
|
hardware.bluetooth.powerOnBoot = false;
|
||||||
hardware.bluetooth.settings = {
|
hardware.bluetooth.settings = {
|
||||||
General = {
|
General = {
|
||||||
|
@ -316,8 +354,8 @@ in
|
||||||
hardware.graphics = {
|
hardware.graphics = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraPackages = with pkgs; [
|
extraPackages = with pkgs; [
|
||||||
intel-media-driver # LIBVA_DRIVER_NAME=iHD
|
# intel-media-driver # LIBVA_DRIVER_NAME=iHD
|
||||||
intel-vaapi-driver # LIBVA_DRIVER_NAME=i965 (older but works better for Firefox/Chromium)
|
# intel-vaapi-driver # LIBVA_DRIVER_NAME=i965 (older but works better for Firefox/Chromium)
|
||||||
libvdpau-va-gl
|
libvdpau-va-gl
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
@ -355,7 +393,6 @@ in
|
||||||
turbo = "never";
|
turbo = "never";
|
||||||
scaling_max_freq = 1000000;
|
scaling_max_freq = 1000000;
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -392,7 +429,6 @@ in
|
||||||
# hardware.opengl.driSupport = true; # This is already enabled by default
|
# hardware.opengl.driSupport = true; # This is already enabled by default
|
||||||
# hardware.opengl.driSupport32Bit = true; # For 32 bit applications
|
# hardware.opengl.driSupport32Bit = true; # For 32 bit applications
|
||||||
|
|
||||||
|
|
||||||
# This option defines the first version of NixOS you have installed on this particular machine,
|
# This option defines the first version of NixOS you have installed on this particular machine,
|
||||||
# and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions.
|
# and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions.
|
||||||
#
|
#
|
||||||
|
@ -410,6 +446,4 @@ in
|
||||||
#
|
#
|
||||||
# For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion .
|
# For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion .
|
||||||
system.stateVersion = "23.11"; # Did you read the comment?
|
system.stateVersion = "23.11"; # Did you read the comment?
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,13 +1,12 @@
|
||||||
{ device ? throw "Set this to your disk device, e.g. /dev/sda"
|
|
||||||
, swap-size ? "0"
|
|
||||||
, encrypted ? false
|
|
||||||
, lib
|
|
||||||
, ...
|
|
||||||
}:
|
|
||||||
let
|
|
||||||
disko-luks = import ../modules/disko/disko-luks.nix;
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
|
device ? throw "Set this to your disk device, e.g. /dev/sda",
|
||||||
|
swap-size ? "0",
|
||||||
|
encrypted ? false,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
disko-luks = import ../modules/disko/disko-luks.nix;
|
||||||
|
in {
|
||||||
disko.devices.disk = lib.mergeAttrsList [
|
disko.devices.disk = lib.mergeAttrsList [
|
||||||
{main = disko-luks.devices.disk.main;}
|
{main = disko-luks.devices.disk.main;}
|
||||||
{
|
{
|
||||||
|
@ -19,7 +18,6 @@ in
|
||||||
partitions = {
|
partitions = {
|
||||||
main = {
|
main = {
|
||||||
size = "100%";
|
size = "100%";
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,16 +1,20 @@
|
||||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||||
# and may be overwritten by future invocations. Please make changes
|
# and may be overwritten by future invocations. Please make changes
|
||||||
# to /etc/nixos/configuration.nix instead.
|
# to /etc/nixos/configuration.nix instead.
|
||||||
{ config, lib, pkgs, modulesPath, ... }:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
config,
|
||||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
lib,
|
||||||
|
pkgs,
|
||||||
|
modulesPath,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
imports = [
|
||||||
|
(modulesPath + "/installer/scan/not-detected.nix")
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usb_storage" "usbhid" "sd_mod"];
|
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usb_storage" "usbhid" "sd_mod"];
|
||||||
boot.initrd.kernelModules = [];
|
boot.initrd.kernelModules = [];
|
||||||
boot.kernelModules = [ "kvm-amd" ];
|
boot.kernelModules = ["kvm-amd" "joydev" "usbhid"];
|
||||||
boot.extraModulePackages = [];
|
boot.extraModulePackages = [];
|
||||||
|
|
||||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
{ pkgs, inputs, lib, ... }:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
|
pkgs,
|
||||||
|
inputs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
# inputs.impermanence.nixosModules.home-manager.impermanence
|
# inputs.impermanence.nixosModules.home-manager.impermanence
|
||||||
|
|
||||||
|
@ -12,7 +15,11 @@
|
||||||
../../modules/programs/waybar
|
../../modules/programs/waybar
|
||||||
../../modules/programs/hyprpaper.nix
|
../../modules/programs/hyprpaper.nix
|
||||||
../../modules/programs/tofi.nix
|
../../modules/programs/tofi.nix
|
||||||
../../modules/programs/alacritty.nix
|
|
||||||
|
# ../../modules/programs/alacritty.nix
|
||||||
|
../../modules/programs/foot.nix
|
||||||
|
../../modules/programs/legcord.nix
|
||||||
|
|
||||||
../../modules/programs/firefox.nix
|
../../modules/programs/firefox.nix
|
||||||
../../modules/programs/tmux.nix
|
../../modules/programs/tmux.nix
|
||||||
../../modules/programs/mangohud.nix
|
../../modules/programs/mangohud.nix
|
||||||
|
@ -66,16 +73,24 @@
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
home.packages =
|
nixpkgs.config.permittedInsecurePackages = [
|
||||||
let
|
"dotnet-runtime-7.0.20"
|
||||||
tex = (pkgs.texlive.combine {
|
];
|
||||||
inherit (pkgs.texlive) scheme-medium
|
|
||||||
|
home.packages = let
|
||||||
|
tex = pkgs.texlive.combine {
|
||||||
|
inherit
|
||||||
|
(pkgs.texlive)
|
||||||
|
scheme-medium
|
||||||
titling
|
titling
|
||||||
biblatex hyperref amsmath tcolorbox environ
|
biblatex
|
||||||
|
hyperref
|
||||||
|
amsmath
|
||||||
|
tcolorbox
|
||||||
|
environ
|
||||||
;
|
;
|
||||||
});
|
};
|
||||||
in
|
in (with pkgs; [
|
||||||
(with pkgs; [
|
|
||||||
file
|
file
|
||||||
nixpkgs-fmt
|
nixpkgs-fmt
|
||||||
ripgrep
|
ripgrep
|
||||||
|
@ -92,7 +107,7 @@
|
||||||
|
|
||||||
localsend
|
localsend
|
||||||
|
|
||||||
ipe
|
# ipe
|
||||||
texlivePackages.latex
|
texlivePackages.latex
|
||||||
texlivePackages.luatex
|
texlivePackages.luatex
|
||||||
zathura
|
zathura
|
||||||
|
@ -102,13 +117,28 @@
|
||||||
prismlauncher
|
prismlauncher
|
||||||
|
|
||||||
spotify
|
spotify
|
||||||
vesktop
|
# vesktop
|
||||||
sublime-merge
|
sublime-merge
|
||||||
|
|
||||||
obs-studio
|
obs-studio
|
||||||
|
|
||||||
|
(vintagestory.overrideAttrs (old: {
|
||||||
|
desktopItems = [
|
||||||
|
(makeDesktopItem {
|
||||||
|
name = "vintagestory";
|
||||||
|
desktopName = "Vintage Story";
|
||||||
|
exec = "mangohud gamemoderun vintagestory";
|
||||||
|
icon = "vintagestory";
|
||||||
|
comment = "Innovate and explore in a sandbox world";
|
||||||
|
categories = ["Game"];
|
||||||
|
})
|
||||||
|
];
|
||||||
|
}))
|
||||||
|
|
||||||
vial
|
vial
|
||||||
|
|
||||||
|
(qt6Packages.callPackage ../../modules/programs/path-of-building-poe2 {})
|
||||||
|
|
||||||
path-of-building
|
path-of-building
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|
|
@ -16,8 +16,10 @@
|
||||||
|
|
||||||
".mozilla"
|
".mozilla"
|
||||||
|
|
||||||
".config/vesktop"
|
# ".config/vesktop"
|
||||||
|
".config/legcord"
|
||||||
".config/zsh"
|
".config/zsh"
|
||||||
|
".config/VintagestoryData"
|
||||||
|
|
||||||
".cache/mozilla"
|
".cache/mozilla"
|
||||||
".cache/nix"
|
".cache/nix"
|
||||||
|
|
|
@ -1,17 +1,19 @@
|
||||||
# Edit this configuration file to define what should be installed on
|
# Edit this configuration file to define what should be installed on
|
||||||
# your system. Help is available in the configuration.nix(5) man page, on
|
# your system. Help is available in the configuration.nix(5) man page, on
|
||||||
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
|
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
|
||||||
|
{
|
||||||
{ config, lib, pkgs, inputs, ... }:
|
config,
|
||||||
let
|
lib,
|
||||||
|
pkgs,
|
||||||
|
inputs,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
persistence = {
|
persistence = {
|
||||||
"snorre" = import ./persist.nix;
|
"snorre" = import ./persist.nix;
|
||||||
"work" = import ./persist-work.nix;
|
"work" = import ./persist-work.nix;
|
||||||
};
|
};
|
||||||
in
|
in {
|
||||||
{
|
imports = [
|
||||||
imports =
|
|
||||||
[
|
|
||||||
# Include the results of the hardware scan.
|
# Include the results of the hardware scan.
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
../../modules/drivers/nvidia.nix
|
../../modules/drivers/nvidia.nix
|
||||||
|
@ -116,7 +118,6 @@ in
|
||||||
];
|
];
|
||||||
|
|
||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
users.users."work" = {
|
users.users."work" = {
|
||||||
|
@ -209,24 +210,20 @@ in
|
||||||
# start = "${pkgs.libnotify}/bin/notify-send 'GameMode started'";
|
# start = "${pkgs.libnotify}/bin/notify-send 'GameMode started'";
|
||||||
# end = "${pkgs.libnotify}/bin/notify-send 'GameMode ended'";
|
# end = "${pkgs.libnotify}/bin/notify-send 'GameMode ended'";
|
||||||
|
|
||||||
start =
|
start = let
|
||||||
let
|
|
||||||
script = pkgs.writeScriptBin "gamemode_start.sh" ''
|
script = pkgs.writeScriptBin "gamemode_start.sh" ''
|
||||||
${pkgs.libnotify}/bin/notify-send "GameMode started"
|
${pkgs.libnotify}/bin/notify-send "GameMode started"
|
||||||
${pkgs.libnotify}/bin/notify-send "user is: $USER"
|
${pkgs.libnotify}/bin/notify-send "user is: $USER"
|
||||||
/home/$USER/.nix-profile/bin/hyprctl keyword input:touchpad:disable_while_typing false
|
/home/$USER/.nix-profile/bin/hyprctl keyword input:touchpad:disable_while_typing false
|
||||||
'';
|
'';
|
||||||
in
|
in "${script}/bin/gamemode_start.sh";
|
||||||
"${script}/bin/gamemode_start.sh";
|
|
||||||
|
|
||||||
end =
|
end = let
|
||||||
let
|
|
||||||
script = pkgs.writeScriptBin "gamemode_end.sh" ''
|
script = pkgs.writeScriptBin "gamemode_end.sh" ''
|
||||||
${pkgs.libnotify}/bin/notify-send "GameMode end"
|
${pkgs.libnotify}/bin/notify-send "GameMode end"
|
||||||
/home/$USER/.nix-profile/bin/hyprctl keyword input:touchpad:disable_while_typing true
|
/home/$USER/.nix-profile/bin/hyprctl keyword input:touchpad:disable_while_typing true
|
||||||
'';
|
'';
|
||||||
in
|
in "${script}/bin/gamemode_end.sh";
|
||||||
"${script}/bin/gamemode_end.sh";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -261,7 +258,6 @@ in
|
||||||
platformTheme = "qt5ct";
|
platformTheme = "qt5ct";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
# Delete old entries to
|
# Delete old entries to
|
||||||
nix = {
|
nix = {
|
||||||
gc = {
|
gc = {
|
||||||
|
@ -290,7 +286,10 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
allowedTCPPorts = [8000];
|
allowedTCPPorts = [8000];
|
||||||
allowedUDPPortRanges = [
|
allowedUDPPortRanges = [
|
||||||
{ from = 8000; to = 8010; }
|
{
|
||||||
|
from = 8000;
|
||||||
|
to = 8010;
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -373,7 +372,6 @@ in
|
||||||
turbo = "never";
|
turbo = "never";
|
||||||
scaling_max_freq = 1000000;
|
scaling_max_freq = 1000000;
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -410,7 +408,6 @@ in
|
||||||
# hardware.opengl.driSupport = true; # This is already enabled by default
|
# hardware.opengl.driSupport = true; # This is already enabled by default
|
||||||
# hardware.opengl.driSupport32Bit = true; # For 32 bit applications
|
# hardware.opengl.driSupport32Bit = true; # For 32 bit applications
|
||||||
|
|
||||||
|
|
||||||
# This option defines the first version of NixOS you have installed on this particular machine,
|
# This option defines the first version of NixOS you have installed on this particular machine,
|
||||||
# and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions.
|
# and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions.
|
||||||
#
|
#
|
||||||
|
@ -428,6 +425,4 @@ in
|
||||||
#
|
#
|
||||||
# For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion .
|
# For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion .
|
||||||
system.stateVersion = "23.11"; # Did you read the comment?
|
system.stateVersion = "23.11"; # Did you read the comment?
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,11 +1,15 @@
|
||||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||||
# and may be overwritten by future invocations. Please make changes
|
# and may be overwritten by future invocations. Please make changes
|
||||||
# to /etc/nixos/configuration.nix instead.
|
# to /etc/nixos/configuration.nix instead.
|
||||||
{ config, lib, pkgs, modulesPath, ... }:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
config,
|
||||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
lib,
|
||||||
|
pkgs,
|
||||||
|
modulesPath,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
imports = [
|
||||||
|
(modulesPath + "/installer/scan/not-detected.nix")
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usb_storage" "usbhid" "sd_mod"];
|
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usb_storage" "usbhid" "sd_mod"];
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
{ pkgs, inputs, ... }:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
|
pkgs,
|
||||||
|
inputs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
# inputs.impermanence.nixosModules.home-manager.impermanence
|
# inputs.impermanence.nixosModules.home-manager.impermanence
|
||||||
|
|
||||||
|
@ -57,16 +59,20 @@
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
home.packages =
|
home.packages = let
|
||||||
let
|
tex = pkgs.texlive.combine {
|
||||||
tex = (pkgs.texlive.combine {
|
inherit
|
||||||
inherit (pkgs.texlive) scheme-medium
|
(pkgs.texlive)
|
||||||
|
scheme-medium
|
||||||
titling
|
titling
|
||||||
biblatex hyperref amsmath tcolorbox environ
|
biblatex
|
||||||
|
hyperref
|
||||||
|
amsmath
|
||||||
|
tcolorbox
|
||||||
|
environ
|
||||||
;
|
;
|
||||||
});
|
};
|
||||||
in
|
in (with pkgs; [
|
||||||
(with pkgs; [
|
|
||||||
file
|
file
|
||||||
nixpkgs-fmt
|
nixpkgs-fmt
|
||||||
ripgrep
|
ripgrep
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
{ config, pkgs, inputs, ... }:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
inputs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
inputs.impermanence.nixosModules.home-manager.impermanence
|
inputs.impermanence.nixosModules.home-manager.impermanence
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,14 @@
|
||||||
# Edit this configuration file to define what should be installed on
|
# Edit this configuration file to define what should be installed on
|
||||||
# your system. Help is available in the configuration.nix(5) man page, on
|
# your system. Help is available in the configuration.nix(5) man page, on
|
||||||
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
|
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
|
||||||
|
|
||||||
{ config, lib, pkgs, inputs, ... }:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
config,
|
||||||
[
|
lib,
|
||||||
|
pkgs,
|
||||||
|
inputs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
imports = [
|
||||||
# Include the results of the hardware scan.
|
# Include the results of the hardware scan.
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
#../../modules/users/main-user.nix
|
#../../modules/users/main-user.nix
|
||||||
|
@ -67,7 +69,12 @@
|
||||||
"/var/lib/nixos"
|
"/var/lib/nixos"
|
||||||
"/var/lib/systemd/coredump"
|
"/var/lib/systemd/coredump"
|
||||||
"/etc/NetworkManager/system-connections"
|
"/etc/NetworkManager/system-connections"
|
||||||
{ directory = "/var/lib/colord"; user = "colord"; group = "colord"; mode = "u=rwx, g=rx, o="; }
|
{
|
||||||
|
directory = "/var/lib/colord";
|
||||||
|
user = "colord";
|
||||||
|
group = "colord";
|
||||||
|
mode = "u=rwx, g=rx, o=";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
files = [
|
files = [
|
||||||
"/etc/machine-id"
|
"/etc/machine-id"
|
||||||
|
@ -87,8 +94,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
users.users."snorre" =
|
users.users."snorre" = {
|
||||||
{
|
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
initialPassword = "1234";
|
initialPassword = "1234";
|
||||||
extraGroups = [
|
extraGroups = [
|
||||||
|
@ -128,7 +134,6 @@
|
||||||
# Set your time zone.
|
# Set your time zone.
|
||||||
time.timeZone = "Europe/Copenhagen";
|
time.timeZone = "Europe/Copenhagen";
|
||||||
|
|
||||||
|
|
||||||
# Select internationalisation properties.
|
# Select internationalisation properties.
|
||||||
i18n.defaultLocale = "en_US.UTF-8";
|
i18n.defaultLocale = "en_US.UTF-8";
|
||||||
console = {
|
console = {
|
||||||
|
@ -179,6 +184,4 @@
|
||||||
#
|
#
|
||||||
# For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion .
|
# For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion .
|
||||||
system.stateVersion = "23.11"; # Did you read the comment?
|
system.stateVersion = "23.11"; # Did you read the comment?
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
{ device ? throw "Set this to your disk device, e.g. /dev/sda"
|
{device ? throw "Set this to your disk device, e.g. /dev/sda", ...}: {
|
||||||
, ...
|
|
||||||
}: {
|
|
||||||
disko.devices = {
|
disko.devices = {
|
||||||
disk = {
|
disk = {
|
||||||
main = {
|
main = {
|
||||||
|
@ -63,7 +61,6 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,11 +1,14 @@
|
||||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||||
# and may be overwritten by future invocations. Please make changes
|
# and may be overwritten by future invocations. Please make changes
|
||||||
# to /etc/nixos/configuration.nix instead.
|
# to /etc/nixos/configuration.nix instead.
|
||||||
{ config, lib, pkgs, modulesPath, ... }:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
config,
|
||||||
[
|
lib,
|
||||||
|
pkgs,
|
||||||
|
modulesPath,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
imports = [
|
||||||
(modulesPath + "/profiles/qemu-guest.nix")
|
(modulesPath + "/profiles/qemu-guest.nix")
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
{ config, pkgs, inputs, ... }:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
inputs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
inputs.impermanence.nixosModules.home-manager.impermanence
|
inputs.impermanence.nixosModules.home-manager.impermanence
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,11 @@
|
||||||
{ lib
|
|
||||||
, persistExtraDirectories
|
|
||||||
, persistExtraFiles
|
|
||||||
, users ? {}
|
|
||||||
, extraConfig ? {}
|
|
||||||
, ...
|
|
||||||
}:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
|
lib,
|
||||||
|
persistExtraDirectories,
|
||||||
|
persistExtraFiles,
|
||||||
|
users ? {},
|
||||||
|
extraConfig ? {},
|
||||||
|
...
|
||||||
|
}: {
|
||||||
boot.initrd.postDeviceCommands = lib.mkAfter ''
|
boot.initrd.postDeviceCommands = lib.mkAfter ''
|
||||||
# Prepare temporary folder
|
# Prepare temporary folder
|
||||||
mkdir /btrfs_tmp
|
mkdir /btrfs_tmp
|
||||||
|
@ -49,23 +48,40 @@
|
||||||
fileSystems."/persist".neededForBoot = true;
|
fileSystems."/persist".neededForBoot = true;
|
||||||
environment.persistence."/persist/system" = {
|
environment.persistence."/persist/system" = {
|
||||||
hideMounts = true;
|
hideMounts = true;
|
||||||
directories = [
|
directories =
|
||||||
|
[
|
||||||
"/etc/nixos"
|
"/etc/nixos"
|
||||||
"/var/log"
|
"/var/log"
|
||||||
"/var/lib/bluetooth"
|
"/var/lib/bluetooth"
|
||||||
"/var/lib/nixos"
|
"/var/lib/nixos"
|
||||||
"/var/lib/systemd/coredump"
|
"/var/lib/systemd/coredump"
|
||||||
"/etc/NetworkManager/system-connections"
|
"/etc/NetworkManager/system-connections"
|
||||||
{ directory = "/var/lib/colord"; user = "colord"; group = "colord"; mode = "u=rwx, g=rx, o="; }
|
{
|
||||||
] ++ (if (persistExtraDirectories == null) then [ ] else persistExtraDirectories);
|
directory = "/var/lib/colord";
|
||||||
|
user = "colord";
|
||||||
|
group = "colord";
|
||||||
|
mode = "u=rwx, g=rx, o=";
|
||||||
|
}
|
||||||
|
]
|
||||||
|
++ (
|
||||||
|
if (persistExtraDirectories == null)
|
||||||
|
then []
|
||||||
|
else persistExtraDirectories
|
||||||
|
);
|
||||||
|
|
||||||
files = [
|
files =
|
||||||
|
[
|
||||||
"/etc/machine-id"
|
"/etc/machine-id"
|
||||||
"/etc/ssh/ssh_host_rsa_key"
|
"/etc/ssh/ssh_host_rsa_key"
|
||||||
"/etc/ssh/ssh_host_ed25519_key"
|
"/etc/ssh/ssh_host_ed25519_key"
|
||||||
"/etc/ssh/ssh_host_rsa_key.pub"
|
"/etc/ssh/ssh_host_rsa_key.pub"
|
||||||
"/etc/ssh/ssh_host_ed25519_key.pub"
|
"/etc/ssh/ssh_host_ed25519_key.pub"
|
||||||
] ++ (if (persistExtraFiles == null) then [ ] else persistExtraFiles);
|
]
|
||||||
|
++ (
|
||||||
|
if (persistExtraFiles == null)
|
||||||
|
then []
|
||||||
|
else persistExtraFiles
|
||||||
|
);
|
||||||
|
|
||||||
inherit users;
|
inherit users;
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
{ device ? throw "Set this to your disk device, e.g. /dev/sda"
|
{
|
||||||
, swap-size ? "0"
|
device ? throw "Set this to your disk device, e.g. /dev/sda",
|
||||||
, encrypted ? false
|
swap-size ? "0",
|
||||||
, ...
|
encrypted ? false,
|
||||||
|
...
|
||||||
}: {
|
}: {
|
||||||
disko.devices = {
|
disko.devices = {
|
||||||
disk = {
|
disk = {
|
||||||
|
@ -24,7 +25,10 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
swap = if swap-size == "0" then {} else {
|
swap =
|
||||||
|
if swap-size == "0"
|
||||||
|
then {}
|
||||||
|
else {
|
||||||
size = swap-size;
|
size = swap-size;
|
||||||
content = {
|
content = {
|
||||||
type = "swap";
|
type = "swap";
|
||||||
|
@ -33,7 +37,9 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
# Fill until 8gb are left
|
# Fill until 8gb are left
|
||||||
root = if encrypted then {
|
root =
|
||||||
|
if encrypted
|
||||||
|
then {
|
||||||
size = "100%";
|
size = "100%";
|
||||||
content = {
|
content = {
|
||||||
type = "luks";
|
type = "luks";
|
||||||
|
@ -45,15 +51,13 @@
|
||||||
keyFile = null;
|
keyFile = null;
|
||||||
};
|
};
|
||||||
# additionalKeyFiles = [ "/tmp/additionalSecret.key" ];
|
# additionalKeyFiles = [ "/tmp/additionalSecret.key" ];
|
||||||
content = (import ./disko-btrfs-impermanence.nix);
|
content = import ./disko-btrfs-impermanence.nix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
else
|
else {
|
||||||
{
|
|
||||||
size = "100%";
|
size = "100%";
|
||||||
content = (import ./disko-btrfs-impermanence.nix);
|
content = import ./disko-btrfs-impermanence.nix;
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
{ extraDirectories
|
|
||||||
, extraFiles
|
|
||||||
, username ? throw "need to know the username"
|
|
||||||
, nixIndexEnabled ? false
|
|
||||||
, ...
|
|
||||||
}:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
|
extraDirectories,
|
||||||
|
extraFiles,
|
||||||
|
username ? throw "need to know the username",
|
||||||
|
nixIndexEnabled ? false,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
home.persistence."/persist/home/${username}" = {
|
home.persistence."/persist/home/${username}" = {
|
||||||
directories = [
|
directories =
|
||||||
|
[
|
||||||
# "Downloads" # no.
|
# "Downloads" # no.
|
||||||
"Documents"
|
"Documents"
|
||||||
"Music"
|
"Music"
|
||||||
|
@ -19,11 +19,22 @@
|
||||||
".cache/mesa_shader_cache"
|
".cache/mesa_shader_cache"
|
||||||
".cache/mesa_shader_cache_db"
|
".cache/mesa_shader_cache_db"
|
||||||
# TODO: Move this shit into work user
|
# TODO: Move this shit into work user
|
||||||
] ++ (if (extraDirectories == null) then [ ] else extraDirectories);
|
]
|
||||||
files = [
|
++ (
|
||||||
|
if (extraDirectories == null)
|
||||||
|
then []
|
||||||
|
else extraDirectories
|
||||||
|
);
|
||||||
|
files =
|
||||||
|
[
|
||||||
".gitconfig"
|
".gitconfig"
|
||||||
# ".zsh_history"
|
# ".zsh_history"
|
||||||
] ++ (if (extraFiles == null) then [ ] else extraFiles)
|
]
|
||||||
|
++ (
|
||||||
|
if (extraFiles == null)
|
||||||
|
then []
|
||||||
|
else extraFiles
|
||||||
|
)
|
||||||
# ++ (if nixIndexEnabled then [ ".cache/nix-index" ] else [])
|
# ++ (if nixIndexEnabled then [ ".cache/nix-index" ] else [])
|
||||||
;
|
;
|
||||||
allowOther = true;
|
allowOther = true;
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
{ config, pkgs, lib, ... }:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
nixpkgs.config.nvidia.acceptLicense = true;
|
nixpkgs.config.nvidia.acceptLicense = true;
|
||||||
services.xserver.videoDrivers = ["nvidia"];
|
services.xserver.videoDrivers = ["nvidia"];
|
||||||
|
|
||||||
|
@ -15,7 +18,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
hardware.nvidia = {
|
hardware.nvidia = {
|
||||||
|
|
||||||
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
||||||
modesetting.enable = true;
|
modesetting.enable = true;
|
||||||
open = false;
|
open = false;
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
{ config, pkgs, lib, inputs, ... }:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
inputs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
inputs.nixvim.homeManagerModules.default
|
inputs.nixvim.homeManagerModules.default
|
||||||
|
|
||||||
|
@ -8,11 +12,10 @@
|
||||||
./plugins/undotree.nix
|
./plugins/undotree.nix
|
||||||
./plugins/telescope.nix
|
./plugins/telescope.nix
|
||||||
./plugins/lsp.nix
|
./plugins/lsp.nix
|
||||||
./plugins/lsp-lines.nix
|
# ./plugins/lsp-lines.nix
|
||||||
./plugins/cmp.nix
|
./plugins/cmp.nix
|
||||||
./plugins/wilder.nix
|
./plugins/wilder.nix
|
||||||
./plugins/nvim-ts-comment-context.nix
|
./plugins/nvim-ts-comment-context.nix
|
||||||
./plugins/treesitter.nix
|
|
||||||
./plugins/vimtex.nix
|
./plugins/vimtex.nix
|
||||||
# ./plugins/neorg.nix
|
# ./plugins/neorg.nix
|
||||||
# ./plugins/image.nix
|
# ./plugins/image.nix
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
{ config, pkgs, lib, ... }:
|
|
||||||
{
|
{
|
||||||
programs.nixvim.extraConfigLua = lib.strings.concatLines ([
|
config,
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
programs.nixvim.extraConfigLua = lib.strings.concatLines [
|
||||||
''
|
''
|
||||||
vim.cmd([[
|
vim.cmd([[
|
||||||
augroup highlight_yank
|
augroup highlight_yank
|
||||||
|
@ -10,10 +14,10 @@
|
||||||
]])
|
]])
|
||||||
|
|
||||||
''
|
''
|
||||||
]
|
];
|
||||||
);
|
|
||||||
|
|
||||||
programs.nixvim.extraPlugins = [
|
programs.nixvim.extraPlugins =
|
||||||
|
[
|
||||||
# actions-preview.nvim
|
# actions-preview.nvim
|
||||||
(pkgs.vimUtils.buildVimPlugin {
|
(pkgs.vimUtils.buildVimPlugin {
|
||||||
name = "actions-preview.nvim";
|
name = "actions-preview.nvim";
|
||||||
|
@ -45,10 +49,8 @@
|
||||||
# hash = "";
|
# hash = "";
|
||||||
# };
|
# };
|
||||||
# })
|
# })
|
||||||
|
|
||||||
]
|
]
|
||||||
++
|
++ (
|
||||||
(
|
|
||||||
if config.programs.nixvim.plugins.neorg.enable
|
if config.programs.nixvim.plugins.neorg.enable
|
||||||
then [
|
then [
|
||||||
(pkgs.vimUtils.buildVimPlugin {
|
(pkgs.vimUtils.buildVimPlugin {
|
||||||
|
@ -64,7 +66,5 @@
|
||||||
})
|
})
|
||||||
]
|
]
|
||||||
else []
|
else []
|
||||||
)
|
);
|
||||||
;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
{ ... }:
|
{...}: {
|
||||||
{
|
|
||||||
programs.nixvim.globals.mapleader = " ";
|
programs.nixvim.globals.mapleader = " ";
|
||||||
programs.nixvim.globals.maplocalleader = ",";
|
programs.nixvim.globals.maplocalleader = ",";
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
{ ... }:
|
{...}: {
|
||||||
{
|
|
||||||
programs.nixvim.opts = {
|
programs.nixvim.opts = {
|
||||||
number = true;
|
number = true;
|
||||||
relativenumber = true;
|
relativenumber = true;
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
{ config, ... }:
|
{config, ...}: {
|
||||||
{
|
|
||||||
# programs.nixvim.plugins.cmp-vsnip.enable = true;
|
# programs.nixvim.plugins.cmp-vsnip.enable = true;
|
||||||
# programs.nixvim.plugins.cmp_luasnip.enable = true;
|
# programs.nixvim.plugins.cmp_luasnip.enable = true;
|
||||||
programs.nixvim.plugins.cmp-nvim-lsp-signature-help.enable = true;
|
programs.nixvim.plugins.cmp-nvim-lsp-signature-help.enable = true;
|
||||||
|
@ -10,7 +9,8 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
autoEnableSources = true;
|
autoEnableSources = true;
|
||||||
settings = {
|
settings = {
|
||||||
sources = [
|
sources =
|
||||||
|
[
|
||||||
{name = "nvim_lsp";}
|
{name = "nvim_lsp";}
|
||||||
{name = "path";}
|
{name = "path";}
|
||||||
# { name = "buffer"; }
|
# { name = "buffer"; }
|
||||||
|
@ -18,19 +18,16 @@
|
||||||
{name = "latex_symbols";}
|
{name = "latex_symbols";}
|
||||||
{name = "vsnip";}
|
{name = "vsnip";}
|
||||||
]
|
]
|
||||||
++
|
++ (
|
||||||
(
|
|
||||||
if config.programs.nixvim.plugins.orgmode.enable
|
if config.programs.nixvim.plugins.orgmode.enable
|
||||||
then [{name = "orgmode";}]
|
then [{name = "orgmode";}]
|
||||||
else []
|
else []
|
||||||
)
|
)
|
||||||
++
|
++ (
|
||||||
(
|
|
||||||
if config.programs.nixvim.plugins.neorg.enable
|
if config.programs.nixvim.plugins.neorg.enable
|
||||||
then [{name = "neorg";}]
|
then [{name = "neorg";}]
|
||||||
else []
|
else []
|
||||||
)
|
);
|
||||||
;
|
|
||||||
|
|
||||||
mapping = {
|
mapping = {
|
||||||
"<CR>" = "cmp.mapping.confirm({ select = true })";
|
"<CR>" = "cmp.mapping.confirm({ select = true })";
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
{ pkgs, ... }:
|
{pkgs, ...}: {
|
||||||
{
|
|
||||||
programs.nixvim.plugins.image = {
|
programs.nixvim.plugins.image = {
|
||||||
enable = true;
|
enable = true;
|
||||||
backend = "ueberzug";
|
backend = "ueberzug";
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
{ ... }:
|
{...}: {
|
||||||
{
|
|
||||||
programs.nixvim.plugins.lsp-lines = {
|
programs.nixvim.plugins.lsp-lines = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
{ ... }:
|
{...}: {
|
||||||
{
|
|
||||||
programs.nixvim.plugins.zig.enable = true;
|
programs.nixvim.plugins.zig.enable = true;
|
||||||
programs.nixvim.plugins.lsp = {
|
programs.nixvim.plugins.lsp = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -32,6 +31,9 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
cssls.enable = true;
|
||||||
|
html.enable = true;
|
||||||
|
|
||||||
rust_analyzer = {
|
rust_analyzer = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = null; # Install your own rust
|
package = null; # Install your own rust
|
||||||
|
@ -65,11 +67,12 @@
|
||||||
# };
|
# };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
omnisharp.enable = true;
|
||||||
|
|
||||||
csharp_ls = {
|
csharp_ls = {
|
||||||
enable = true;
|
enable = false;
|
||||||
# package = null; # Fuck c#, install it yourself if you need it
|
# package = null; # Fuck c#, install it yourself if you need it
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
{ ... }:
|
{...}: {
|
||||||
{
|
|
||||||
programs.nixvim.plugins.lualine.enable = true;
|
programs.nixvim.plugins.lualine.enable = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
{ ... }:
|
{...}: {
|
||||||
{
|
|
||||||
programs.nixvim.plugins.neorg = {
|
programs.nixvim.plugins.neorg = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# lazyLoading = true;
|
# lazyLoading = true;
|
||||||
|
@ -22,5 +21,4 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
{ lib, ... }:
|
{lib, ...}: {
|
||||||
|
|
||||||
{
|
|
||||||
programs.nixvim.plugins.ts-context-commentstring.enable = true;
|
programs.nixvim.plugins.ts-context-commentstring.enable = true;
|
||||||
programs.nixvim.plugins.comment.enable = true;
|
programs.nixvim.plugins.comment.enable = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
{ ... }:
|
{...}: {
|
||||||
{
|
|
||||||
programs.nixvim.plugins.orgmode = {
|
programs.nixvim.plugins.orgmode = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
{...}:
|
{...}: {
|
||||||
{
|
|
||||||
programs.nixvim.plugins.telescope.enable = true;
|
programs.nixvim.plugins.telescope.enable = true;
|
||||||
programs.nixvim.plugins.web-devicons.enable = true;
|
programs.nixvim.plugins.web-devicons.enable = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,12 +1,15 @@
|
||||||
{ ... }:
|
{pkgs, ...}: {
|
||||||
|
|
||||||
{
|
|
||||||
programs.nixvim.plugins.treesitter = {
|
programs.nixvim.plugins.treesitter = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
auto_install = false;
|
auto_install = false;
|
||||||
|
# highlight.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# grammarPackages = with pkgs.vimPlugins.nvim-treesitter.builtGrammars; [
|
||||||
|
# wgsl
|
||||||
|
# ];
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.nixvim.plugins.treesitter-textobjects.enable = true;
|
programs.nixvim.plugins.treesitter-textobjects.enable = true;
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
{ ... }:
|
{...}: {
|
||||||
{
|
|
||||||
programs.nixvim.plugins.undotree.enable = true;
|
programs.nixvim.plugins.undotree.enable = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
{ ... }:
|
{...}: {
|
||||||
{
|
|
||||||
programs.nixvim.plugins.vimtex = {
|
programs.nixvim.plugins.vimtex = {
|
||||||
enable = true;
|
enable = true;
|
||||||
texlivePackage = null;
|
texlivePackage = null;
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
{ ... }:
|
{...}: {
|
||||||
{
|
|
||||||
programs.nixvim.plugins.which-key.enable = true;
|
programs.nixvim.plugins.which-key.enable = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
{ ... }:
|
{...}: {
|
||||||
{
|
|
||||||
programs.nixvim.plugins.wilder = {
|
programs.nixvim.plugins.wilder = {
|
||||||
enable = true;
|
enable = true;
|
||||||
modes = [":" "/" "?"];
|
modes = [":" "/" "?"];
|
||||||
|
|
10
modules/editors/nixvim/syntax/e2.nix
Normal file
10
modules/editors/nixvim/syntax/e2.nix
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
{pkgs, ...}: {
|
||||||
|
xdg.configFile."nvim/syntax/e2.vim" = let
|
||||||
|
fetch = pkgs.fetchurl {
|
||||||
|
url = "https://www.vim.org/scripts/download_script.php?src_id=17326";
|
||||||
|
sha256 = "";
|
||||||
|
};
|
||||||
|
in {
|
||||||
|
source = "${fetch}/e2.vim";
|
||||||
|
};
|
||||||
|
}
|
|
@ -1,15 +1,12 @@
|
||||||
{ pkgs, ... }:
|
{pkgs, ...}: {
|
||||||
{
|
xdg.configFile."nvim/syntax/fsharp.vim" = let
|
||||||
xdg.configFile."nvim/syntax/fsharp.vim" =
|
|
||||||
let
|
|
||||||
git = pkgs.fetchFromGitHub {
|
git = pkgs.fetchFromGitHub {
|
||||||
owner = "lulu-berlin";
|
owner = "lulu-berlin";
|
||||||
repo = "vim-fsharp";
|
repo = "vim-fsharp";
|
||||||
rev = "1afff075e0a1bcbedcc52881454b99f58ec5bbfc";
|
rev = "1afff075e0a1bcbedcc52881454b99f58ec5bbfc";
|
||||||
sha256 = "sha256-tpEgCxZubyzz4z+JVep1R6F+mQidw/iAfRMTOF00v6U=";
|
sha256 = "sha256-tpEgCxZubyzz4z+JVep1R6F+mQidw/iAfRMTOF00v6U=";
|
||||||
};
|
};
|
||||||
in
|
in {
|
||||||
{
|
|
||||||
source = "${git}/syntax/fsharp.vim";
|
source = "${git}/syntax/fsharp.vim";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
{pkgs, ...}:
|
{pkgs, ...}: {
|
||||||
{
|
|
||||||
boot.plymouth.enable = true;
|
boot.plymouth.enable = true;
|
||||||
boot.plymouth.themePackages = with pkgs; [
|
boot.plymouth.themePackages = with pkgs; [
|
||||||
plymouth-blahaj-theme
|
plymouth-blahaj-theme
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
{pkgs, ...}:
|
{pkgs, ...}: {
|
||||||
{
|
|
||||||
boot.plymouth.enable = true;
|
boot.plymouth.enable = true;
|
||||||
# boot.plymouth.themePackages = with pkgs; [
|
# boot.plymouth.themePackages = with pkgs; [
|
||||||
# plymouth-blahaj-theme
|
# plymouth-blahaj-theme
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
{ lib
|
{
|
||||||
, stdenv
|
lib,
|
||||||
, fetchFromGitHub
|
stdenv,
|
||||||
, unstableGitUpdater
|
fetchFromGitHub,
|
||||||
, pkgs
|
unstableGitUpdater,
|
||||||
|
pkgs,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "modern-bgrt";
|
name = "modern-bgrt";
|
||||||
version = "0-unstable-2023-03-10";
|
version = "0-unstable-2023-03-10";
|
||||||
|
@ -274,4 +274,3 @@ PwBkf//Z
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
{ lib
|
{
|
||||||
, stdenv
|
lib,
|
||||||
, fetchFromGitHub
|
stdenv,
|
||||||
, unstableGitUpdater
|
fetchFromGitHub,
|
||||||
, pkgs
|
unstableGitUpdater,
|
||||||
|
pkgs,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "xdg-desktop-portal-termfilechooser";
|
name = "xdg-desktop-portal-termfilechooser";
|
||||||
version = "1.0.0";
|
version = "1.0.0";
|
||||||
|
@ -70,5 +70,4 @@ stdenv.mkDerivation {
|
||||||
mainProgram = "xdg-desktop-portal-termfilechooser";
|
mainProgram = "xdg-desktop-portal-termfilechooser";
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
{ ... }:
|
{...}: {
|
||||||
|
|
||||||
{
|
|
||||||
programs.alacritty = {
|
programs.alacritty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
{ pkgs, lib, config, ... }:
|
|
||||||
{
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
services.dunst.enable = true;
|
services.dunst.enable = true;
|
||||||
services.dunst.settings = {
|
services.dunst.settings = {
|
||||||
global = {
|
global = {
|
||||||
|
@ -38,7 +42,6 @@
|
||||||
|
|
||||||
stack_duplicates = false;
|
stack_duplicates = false;
|
||||||
show_indicators = false;
|
show_indicators = false;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
"[spotify-album-art-waybar]" = {
|
"[spotify-album-art-waybar]" = {
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
{ config
|
{
|
||||||
, pkgs
|
config,
|
||||||
, ...
|
pkgs,
|
||||||
}:
|
...
|
||||||
let
|
}: let
|
||||||
lock-false = {
|
lock-false = {
|
||||||
Value = false;
|
Value = false;
|
||||||
Status = "locked";
|
Status = "locked";
|
||||||
|
@ -11,8 +11,7 @@ let
|
||||||
Value = true;
|
Value = true;
|
||||||
Status = "locked";
|
Status = "locked";
|
||||||
};
|
};
|
||||||
in
|
in {
|
||||||
{
|
|
||||||
programs = {
|
programs = {
|
||||||
firefox = {
|
firefox = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
{ ... }:
|
{...}: {
|
||||||
|
|
||||||
{
|
|
||||||
programs.foot.enable = true;
|
programs.foot.enable = true;
|
||||||
|
|
||||||
home.sessionVariables.TERM = "alacritty";
|
home.sessionVariables.TERM = "xterm";
|
||||||
home.sessionVariables.TERMINAL = "alacritty";
|
home.sessionVariables.TERMINAL = "foot";
|
||||||
home.sessionVariables.TERMCMD = "alacritty";
|
home.sessionVariables.TERMCMD = "foot";
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
{ lib, config, ... }:
|
|
||||||
{
|
{
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
options = {
|
options = {
|
||||||
hyprpaper.wallpaper = lib.mkOption {
|
hyprpaper.wallpaper = lib.mkOption {
|
||||||
description = "Path to the wallpaper that should be used";
|
description = "Path to the wallpaper that should be used";
|
||||||
|
@ -10,8 +13,8 @@
|
||||||
config = {
|
config = {
|
||||||
xdg.configFile."hypr/hyprpaper.conf".text =
|
xdg.configFile."hypr/hyprpaper.conf".text =
|
||||||
# if builtins.pathExists config.hyprpaper.wallpaper then
|
# if builtins.pathExists config.hyprpaper.wallpaper then
|
||||||
if config.stylix.enable then
|
if config.stylix.enable
|
||||||
"
|
then "
|
||||||
preload = ${config.stylix.image}
|
preload = ${config.stylix.image}
|
||||||
wallpaper = ,${config.stylix.image}
|
wallpaper = ,${config.stylix.image}
|
||||||
"
|
"
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
{}
|
75
modules/programs/legcord.nix
Normal file
75
modules/programs/legcord.nix
Normal file
|
@ -0,0 +1,75 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
with config.lib.stylix.colors.withHashtag; {
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
legcord
|
||||||
|
];
|
||||||
|
|
||||||
|
xdg.configFile."legcord/themes/Stylix-BD/manifest.json".text = builtins.toJSON {
|
||||||
|
theme = "src.css";
|
||||||
|
name = "Stylix";
|
||||||
|
enabled = true;
|
||||||
|
author = "Stylix";
|
||||||
|
version = "0.0.0";
|
||||||
|
description = "Theme configured via NixOS or Home Manager.";
|
||||||
|
supportsLegcordTitlebar = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
xdg.configFile."legcord/themes/Stylix-BD/src.css".text = ''
|
||||||
|
:root {
|
||||||
|
--base00: ${base00}; /* Black */
|
||||||
|
--base01: ${base01}; /* Bright Black */
|
||||||
|
--base02: ${base02}; /* Grey */
|
||||||
|
--base03: ${base03}; /* Brighter Grey */
|
||||||
|
--base04: ${base04}; /* Bright Grey */
|
||||||
|
--base05: ${base05}; /* White */
|
||||||
|
--base06: ${base06}; /* Brighter White */
|
||||||
|
--base07: ${base07}; /* Bright White */
|
||||||
|
--base08: ${base08}; /* Red */
|
||||||
|
--base09: ${base09}; /* Orange */
|
||||||
|
--base0A: ${base0A}; /* Yellow */
|
||||||
|
--base0B: ${base0B}; /* Green */
|
||||||
|
--base0C: ${base0C}; /* Cyan */
|
||||||
|
--base0D: ${base0D}; /* Blue */
|
||||||
|
--base0E: ${base0E}; /* Purple */
|
||||||
|
--base0F: ${base0F}; /* Magenta */
|
||||||
|
|
||||||
|
--primary-630: var(--base00); /* Autocomplete background */
|
||||||
|
--primary-660: var(--base00); /* Search input background */
|
||||||
|
}
|
||||||
|
|
||||||
|
.theme-light, .theme-dark {
|
||||||
|
--search-popout-option-fade: none; /* Disable fade for search popout */
|
||||||
|
--bg-overlay-2: var(--base00); /* These 2 are needed for proper threads coloring */
|
||||||
|
--home-background: var(--base00);
|
||||||
|
--bg-overlay-chat : var(--base00); /* Recolor forum channels */
|
||||||
|
--background-primary: var(--base00);
|
||||||
|
--background-secondary: var(--base01);
|
||||||
|
--background-secondary-alt: var(--base01);
|
||||||
|
--channeltextarea-background: var(--base01);
|
||||||
|
--background-tertiary: var(--base00);
|
||||||
|
--background-accent: var(--base0E);
|
||||||
|
--background-floating: var(--base01);
|
||||||
|
--background-modifier-hover: ${base00}4c; /* 30% of base00 */
|
||||||
|
--background-modifier-selected: var(--base00);
|
||||||
|
--text-normal: var(--base05);
|
||||||
|
--text-secondary: var(--base03);
|
||||||
|
--text-muted: var(--base04);
|
||||||
|
--text-link: var(--base0C);
|
||||||
|
--interactive-normal: var(--base05);
|
||||||
|
--interactive-hover: var(--base05);
|
||||||
|
--interactive-active: var(--base07);
|
||||||
|
--interactive-muted: var(--base03);
|
||||||
|
--channels-default: var(--base04);
|
||||||
|
--channel-icon: var(--base04);
|
||||||
|
--header-primary: var(--base06);
|
||||||
|
--header-secondary: var(--base04);
|
||||||
|
--scrollbar-thin-track: transparent;
|
||||||
|
--scrollbar-auto-track: transparent;
|
||||||
|
}
|
||||||
|
'';
|
||||||
|
}
|
|
@ -1,5 +1,9 @@
|
||||||
{ pkgs, config, lib, ... }:
|
|
||||||
{
|
{
|
||||||
|
pkgs,
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
programs.mangohud = {
|
programs.mangohud = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
@ -10,6 +14,11 @@
|
||||||
alpha = lib.mkForce 1.0;
|
alpha = lib.mkForce 1.0;
|
||||||
round_corners = lib.mkForce 4;
|
round_corners = lib.mkForce 4;
|
||||||
gpu_name = true;
|
gpu_name = true;
|
||||||
|
|
||||||
|
battery = true;
|
||||||
|
device_battery = ["gamepad" "mouse"];
|
||||||
|
battery_watt = true;
|
||||||
|
battery_time = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
96
modules/programs/path-of-building-poe2/default.nix
Normal file
96
modules/programs/path-of-building-poe2/default.nix
Normal file
|
@ -0,0 +1,96 @@
|
||||||
|
{
|
||||||
|
stdenv,
|
||||||
|
lib,
|
||||||
|
fetchFromGitHub,
|
||||||
|
unzip,
|
||||||
|
wineWowPackages,
|
||||||
|
luajit,
|
||||||
|
copyDesktopItems,
|
||||||
|
makeDesktopItem,
|
||||||
|
}:
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "path-of-building-poe2";
|
||||||
|
version = "v0.3.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "PathOfBuildingCommunity";
|
||||||
|
repo = "PathOfBuilding-PoE2";
|
||||||
|
rev = "${version}";
|
||||||
|
hash = "sha256-eIT5QWadpIAgRLCQpA80D3wKmtikSnP6wBqj3TqkUPs=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [unzip] ++ lib.optional stdenv.hostPlatform.isLinux copyDesktopItems;
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
# wineWowPackages.base.out
|
||||||
|
# luajit
|
||||||
|
# luajit.pkgs.lua-curl
|
||||||
|
];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
# I have absolutely no idea how this file is generated
|
||||||
|
# and I don't think I want to know. The Flatpak also does this.
|
||||||
|
unzip -j -d $out $src/runtime-win32.zip lua/sha1.lua
|
||||||
|
|
||||||
|
# Install the actual data
|
||||||
|
# cp -r $src/src $src/runtime/lua/*.lua $src/manifest.xml $out
|
||||||
|
cp -r $src/* $out
|
||||||
|
|
||||||
|
# Pretend this is an official build so we don't get the ugly "dev mode" warning
|
||||||
|
substituteInPlace $out/manifest.xml --replace '<Version' '<Version platform="nixos"'
|
||||||
|
substituteInPlace $out/manifest.xml --replace '<Version' '<Version branch="master"'
|
||||||
|
touch $out/installed.cfg
|
||||||
|
|
||||||
|
# touch $out/src/Settings.xml
|
||||||
|
# chmod +w $out/src/Settings.xml
|
||||||
|
# echo '<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
# <PathOfBuilding2>
|
||||||
|
# <Mode mode="BUILD">
|
||||||
|
# <Arg boolean="false"/>
|
||||||
|
# <Arg string="Unnamed build"/>
|
||||||
|
# </Mode>
|
||||||
|
# <Accounts/>
|
||||||
|
# <SharedItems/>
|
||||||
|
# <Misc betaTest="nil" connectionProtocol="0" colorNegative="^xDD0022" thousandsSeparator="," showThousandsSeparators="true" colorPositive="^x33FF77" buildSortMode="NAME" showPublicBuilds="true" edgeSearchHighlight="true" POESESSID="" showTitlebarName="true" invertSliderScrollDirection="nil" disableDevAutoSave="nil" colorHighlight="^xFF0000" slotOnlyTooltips="true" defaultCharLevel="1" showWarnings="true" decimalSeparator="." defaultGemQuality="0" defaultItemAffixQuality="0.5" nodePowerTheme="RED/BLUE" buildPath="/home/snorre/Documents/PathOfBuilding"/>
|
||||||
|
# </PathOfBuilding2>
|
||||||
|
# ' > $out/src/Settings.xml
|
||||||
|
|
||||||
|
# Completely stub out the update check
|
||||||
|
chmod +w $out/src/UpdateCheck.lua
|
||||||
|
echo 'return "none"' > $out/src/UpdateCheck.lua
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
desktopItems = [
|
||||||
|
(makeDesktopItem {
|
||||||
|
name = "path-of-building-poe2";
|
||||||
|
desktopName = "Path of Building for PoE2";
|
||||||
|
comment = "Offline build planner for Path of Exile 2";
|
||||||
|
exec = "nix-shell -p wineWowPackages.base.out --run \"wine ${src}/runtime/Path{space}of{space}Building-PoE2.exe %U\"";
|
||||||
|
terminal = false;
|
||||||
|
type = "Application";
|
||||||
|
icon = "pathofbuilding";
|
||||||
|
categories = ["Game"];
|
||||||
|
keywords = [
|
||||||
|
"poe"
|
||||||
|
"pob"
|
||||||
|
"pobc"
|
||||||
|
"path"
|
||||||
|
"exile"
|
||||||
|
];
|
||||||
|
mimeTypes = ["x-scheme-handler/pob"];
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Offline build planner for Path of Exile 2";
|
||||||
|
homepage = "https://pathofbuilding.community/";
|
||||||
|
license = lib.licenses.mit;
|
||||||
|
maintainers = [];
|
||||||
|
mainProgram = "pob2frontend";
|
||||||
|
broken = stdenv.hostPlatform.isDarwin; # doesn't find uic6 for some reason
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,20 @@
|
||||||
|
diff --git a/src/Classes/PassiveTreeView.lua b/src/Classes/PassiveTreeView.lua
|
||||||
|
index 5757f18e..60a49b9b 100644
|
||||||
|
--- a/src/Classes/PassiveTreeView.lua
|
||||||
|
+++ b/src/Classes/PassiveTreeView.lua
|
||||||
|
@@ -912,7 +912,7 @@ function PassiveTreeViewClass:DrawAsset(data, x, y, scale, isHalf)
|
||||||
|
DrawImage(data.handle, x - width, y - height * 2, width * 2, height * 2)
|
||||||
|
DrawImage(data.handle, x - width, y, width * 2, height * 2, 0, 1, 1, 0)
|
||||||
|
else
|
||||||
|
- DrawImage(data.handle, x - width, y - height, width * 2, height * 2, unpack(data))
|
||||||
|
+ -- DrawImage(data.handle, x - width, y - height, width * 2, height * 2, 0,1,1,0)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
@@ -1308,4 +1308,4 @@ function PassiveTreeViewClass:LessLuminance()
|
||||||
|
|
||||||
|
local newA = a * alphaFactor;
|
||||||
|
SetDrawColor(newR, newG, newB, newA)
|
||||||
|
-end
|
||||||
|
\ No newline at end of file
|
||||||
|
+end
|
140
modules/programs/path-of-building-poe2/old.nix
Normal file
140
modules/programs/path-of-building-poe2/old.nix
Normal file
|
@ -0,0 +1,140 @@
|
||||||
|
{
|
||||||
|
stdenv,
|
||||||
|
lib,
|
||||||
|
fetchFromGitHub,
|
||||||
|
unzip,
|
||||||
|
meson,
|
||||||
|
ninja,
|
||||||
|
pkg-config,
|
||||||
|
qtbase,
|
||||||
|
qttools,
|
||||||
|
wrapQtAppsHook,
|
||||||
|
icoutils,
|
||||||
|
copyDesktopItems,
|
||||||
|
makeDesktopItem,
|
||||||
|
luajit,
|
||||||
|
}: let
|
||||||
|
data = stdenv.mkDerivation (finalAttrs: {
|
||||||
|
pname = "path-of-building-poe2-data";
|
||||||
|
version = "0.3.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "PathOfBuildingCommunity";
|
||||||
|
repo = "PathOfBuilding-PoE2";
|
||||||
|
rev = "v${finalAttrs.version}";
|
||||||
|
hash = "sha256-eIT5QWadpIAgRLCQpA80D3wKmtikSnP6wBqj3TqkUPs=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [unzip];
|
||||||
|
|
||||||
|
buildCommand = ''
|
||||||
|
# I have absolutely no idea how this file is generated
|
||||||
|
# and I don't think I want to know. The Flatpak also does this.
|
||||||
|
unzip -j -d $out $src/runtime-win32.zip lua/sha1.lua
|
||||||
|
|
||||||
|
# Install the actual data
|
||||||
|
cp -r $src/src $src/runtime/lua/*.lua $src/manifest.xml $out
|
||||||
|
|
||||||
|
# Pretend this is an official build so we don't get the ugly "dev mode" warning
|
||||||
|
substituteInPlace $out/manifest.xml --replace '<Version' '<Version platform="nixos"'
|
||||||
|
substituteInPlace $out/manifest.xml --replace '<Version' '<Version branch="master"'
|
||||||
|
touch $out/installed.cfg
|
||||||
|
|
||||||
|
# patch doesnt work, so fix manually
|
||||||
|
substituteInPlace $out/src/Classes/PassiveTreeView.lua --replace "DrawImage(data.handle, x - width, y - height, width * 2, height * 2, unpack(data))" "DrawImage(data.handle, x - width, y - height, width * 2, height * 2, 0,1,1,0)"
|
||||||
|
|
||||||
|
# Completely stub out the update check
|
||||||
|
chmod +w $out/src/UpdateCheck.lua
|
||||||
|
echo 'return "none"' > $out/src/UpdateCheck.lua
|
||||||
|
'';
|
||||||
|
});
|
||||||
|
in
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
pname = "path-of-building-poe2";
|
||||||
|
version = "${data.version}-unstable-2025-01-23";
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
./fix_drawimage.patch
|
||||||
|
];
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "ernstp";
|
||||||
|
repo = "pobfrontend";
|
||||||
|
rev = "9faa19aa362f975737169824c1578d5011487c18";
|
||||||
|
hash = "sha256-zhw2PZ6ZNMgZ2hG+a6AcYBkeg7kbBHNc2eSt4if17Wk=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs =
|
||||||
|
[
|
||||||
|
meson
|
||||||
|
ninja
|
||||||
|
pkg-config
|
||||||
|
qttools
|
||||||
|
wrapQtAppsHook
|
||||||
|
icoutils
|
||||||
|
]
|
||||||
|
++ lib.optional stdenv.hostPlatform.isLinux copyDesktopItems;
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
qtbase
|
||||||
|
luajit
|
||||||
|
luajit.pkgs.lua-curl
|
||||||
|
];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
install -Dm555 pobfrontend $out/bin/pob2frontend
|
||||||
|
|
||||||
|
wrestool -x -t 14 ${data.src}/runtime/Path{space}of{space}Building-PoE2.exe -o pathofbuilding2.ico
|
||||||
|
icotool -x pathofbuilding2.ico
|
||||||
|
|
||||||
|
for size in 16 32 48 256; do
|
||||||
|
mkdir -p $out/share/icons/hicolor/"$size"x"$size"/apps
|
||||||
|
install -Dm 644 pathofbuilding*"$size"x"$size"*.png \
|
||||||
|
$out/share/icons/hicolor/"$size"x"$size"/apps/pathofbuilding2.png
|
||||||
|
done
|
||||||
|
rm pathofbuilding2.ico
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
preFixup = ''
|
||||||
|
qtWrapperArgs+=(
|
||||||
|
--set LUA_PATH "$LUA_PATH"
|
||||||
|
--set LUA_CPATH "$LUA_CPATH"
|
||||||
|
--chdir "${data}"
|
||||||
|
)
|
||||||
|
'';
|
||||||
|
|
||||||
|
desktopItems = [
|
||||||
|
(makeDesktopItem {
|
||||||
|
name = "path-of-building-poe2";
|
||||||
|
desktopName = "Path of Building for PoE2";
|
||||||
|
comment = "Offline build planner for Path of Exile 2";
|
||||||
|
exec = "pob2frontend %U";
|
||||||
|
terminal = false;
|
||||||
|
type = "Application";
|
||||||
|
icon = "pathofbuilding2";
|
||||||
|
categories = ["Game"];
|
||||||
|
keywords = [
|
||||||
|
"poe"
|
||||||
|
"pob"
|
||||||
|
"pobc"
|
||||||
|
"path"
|
||||||
|
"exile"
|
||||||
|
];
|
||||||
|
mimeTypes = ["x-scheme-handler/pob"];
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
passthru.data = data;
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Offline build planner for Path of Exile";
|
||||||
|
homepage = "https://pathofbuilding.community/";
|
||||||
|
license = lib.licenses.mit;
|
||||||
|
maintainers = [lib.maintainers.k900];
|
||||||
|
mainProgram = "pob2frontend";
|
||||||
|
broken = stdenv.hostPlatform.isDarwin; # doesn't find uic6 for some reason
|
||||||
|
};
|
||||||
|
}
|
|
@ -1,9 +1,15 @@
|
||||||
{ pkgs, lib, config, ... }: {
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
programs.tmux = {
|
programs.tmux = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# Enable 24-hour clock
|
# Enable 24-hour clock
|
||||||
clock24 = true;
|
clock24 = true;
|
||||||
terminal = if config.programs.alacritty.enable then "alacritty" else lib.mkDefault;
|
# terminal = if config.programs.alacritty.enable then "alacritty" else lib.mkDefault;
|
||||||
|
terminal = config.home.sessionVariables.TERMINAL;
|
||||||
baseIndex = 1;
|
baseIndex = 1;
|
||||||
mouse = true;
|
mouse = true;
|
||||||
shell = "${pkgs.zsh}/bin/zsh";
|
shell = "${pkgs.zsh}/bin/zsh";
|
||||||
|
|
|
@ -1,4 +1,8 @@
|
||||||
{ lib, config, ...}: {
|
{
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
programs.tofi.enable = true;
|
programs.tofi.enable = true;
|
||||||
|
|
||||||
# xdg.configFile."tofi/config".text = ''
|
# xdg.configFile."tofi/config".text = ''
|
||||||
|
|
|
@ -1,8 +1,11 @@
|
||||||
{ config, lib, pkgs, ... }:
|
|
||||||
with config.lib.stylix.colors.withHashtag;
|
|
||||||
with config.stylix.fonts;
|
|
||||||
{
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
with config.lib.stylix.colors.withHashtag;
|
||||||
|
with config.stylix.fonts; {
|
||||||
stylix.targets.waybar.enable = false;
|
stylix.targets.waybar.enable = false;
|
||||||
|
|
||||||
services.playerctld.enable = true;
|
services.playerctld.enable = true;
|
||||||
|
@ -12,8 +15,10 @@ with config.stylix.fonts;
|
||||||
enable = true;
|
enable = true;
|
||||||
# style = ./style.css;
|
# style = ./style.css;
|
||||||
|
|
||||||
style = lib.mkForce
|
style =
|
||||||
(''
|
lib.mkForce
|
||||||
|
(
|
||||||
|
''
|
||||||
@define-color base00 ${base00}; @define-color base01 ${base01}; @define-color base02 ${base02}; @define-color base03 ${base03};
|
@define-color base00 ${base00}; @define-color base01 ${base01}; @define-color base02 ${base02}; @define-color base03 ${base03};
|
||||||
@define-color base04 ${base04}; @define-color base05 ${base05}; @define-color base06 ${base06}; @define-color base07 ${base07};
|
@define-color base04 ${base04}; @define-color base05 ${base05}; @define-color base06 ${base06}; @define-color base07 ${base07};
|
||||||
|
|
||||||
|
@ -40,7 +45,6 @@ with config.stylix.fonts;
|
||||||
);
|
);
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
|
|
||||||
test = {
|
test = {
|
||||||
layer = "top";
|
layer = "top";
|
||||||
output = ["eDP-1"];
|
output = ["eDP-1"];
|
||||||
|
@ -230,7 +234,6 @@ with config.stylix.fonts;
|
||||||
interval = 2;
|
interval = 2;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
{ pkgs, lib, config, ... }: {
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
options = {
|
options = {
|
||||||
zsh.jump = {
|
zsh.jump = {
|
||||||
enable = lib.mkEnableOption "enables jump in zsh";
|
enable = lib.mkEnableOption "enables jump in zsh";
|
||||||
|
@ -61,7 +65,8 @@
|
||||||
|
|
||||||
programs.zsh.initExtra = lib.concatStringsSep "\n" (
|
programs.zsh.initExtra = lib.concatStringsSep "\n" (
|
||||||
# Add any extra lines to the zsh config
|
# Add any extra lines to the zsh config
|
||||||
config.zsh.extraLines ++
|
config.zsh.extraLines
|
||||||
|
++
|
||||||
# Add jump shell script to list if jump is enabled
|
# Add jump shell script to list if jump is enabled
|
||||||
(
|
(
|
||||||
if config.zsh.jump.show-destination
|
if config.zsh.jump.show-destination
|
||||||
|
@ -76,9 +81,9 @@
|
||||||
]
|
]
|
||||||
else ["eval \"$(jump shell zsh)\""]
|
else ["eval \"$(jump shell zsh)\""]
|
||||||
)
|
)
|
||||||
++
|
++ (
|
||||||
(
|
if config.zsh.direnv
|
||||||
if config.zsh.direnv then [ "eval \"$(direnv hook zsh)\"" ]
|
then ["eval \"$(direnv hook zsh)\""]
|
||||||
else []
|
else []
|
||||||
)
|
)
|
||||||
# ++
|
# ++
|
||||||
|
@ -91,4 +96,3 @@
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
{ lib
|
{
|
||||||
, stdenvNoCC
|
lib,
|
||||||
, fetchFromGitHub
|
stdenvNoCC,
|
||||||
, unstableGitUpdater
|
fetchFromGitHub,
|
||||||
, pkgs
|
unstableGitUpdater,
|
||||||
|
pkgs,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenvNoCC.mkDerivation {
|
stdenvNoCC.mkDerivation {
|
||||||
name = "posy-cursors";
|
name = "posy-cursors";
|
||||||
|
|
||||||
|
|
|
@ -1,17 +1,19 @@
|
||||||
{ pkgs, ... }:
|
{pkgs, ...}: {
|
||||||
{
|
|
||||||
stylix.enable = true;
|
stylix.enable = true;
|
||||||
# stylix.image = ./nixos-wallpaper.png;
|
# stylix.image = ./nixos-wallpaper.png;
|
||||||
stylix.autoEnable = true;
|
stylix.autoEnable = true;
|
||||||
|
|
||||||
|
home.packages = [pkgs.dejavu_fonts];
|
||||||
|
|
||||||
stylix.fonts = {
|
stylix.fonts = {
|
||||||
serif = {
|
serif = {
|
||||||
package = pkgs.dejavu_fonts;
|
package = pkgs.iosevka-comfy.comfy;
|
||||||
name = "DejaVu Serif";
|
name = "FreeSerif";
|
||||||
};
|
};
|
||||||
|
|
||||||
sansSerif = {
|
sansSerif = {
|
||||||
package = pkgs.dejavu_fonts;
|
package = pkgs.ubuntu-sans;
|
||||||
name = "DejaVu Sans";
|
name = "Ubuntu Sans";
|
||||||
};
|
};
|
||||||
|
|
||||||
monospace = {
|
monospace = {
|
||||||
|
@ -21,14 +23,13 @@
|
||||||
# "Mononoki"
|
# "Mononoki"
|
||||||
# ];
|
# ];
|
||||||
# });
|
# });
|
||||||
package = pkgs.nerd-fonts.mononoki;
|
package = pkgs.nerd-fonts.jetbrains-mono;
|
||||||
name = "Mononoki Nerd Font";
|
name = "JetBrainsMono Nerd Font";
|
||||||
};
|
};
|
||||||
|
|
||||||
emoji = {
|
emoji = {
|
||||||
package = pkgs.noto-fonts-emoji;
|
package = pkgs.noto-fonts-emoji;
|
||||||
name = "Noto Color Emoji";
|
name = "Noto Color Emoji";
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,10 @@
|
||||||
{ pkgs, lib, config, ... }:
|
|
||||||
{
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
options = {
|
options = {
|
||||||
|
|
||||||
main-user = {
|
main-user = {
|
||||||
enable = lib.mkEnableOption "Enable main user";
|
enable = lib.mkEnableOption "Enable main user";
|
||||||
name = lib.mkOption {
|
name = lib.mkOption {
|
||||||
|
@ -25,13 +28,13 @@
|
||||||
|
|
||||||
home-manager = {
|
home-manager = {
|
||||||
enable = lib.mkEnableOption "Enable home-manager for the user";
|
enable = lib.mkEnableOption "Enable home-manager for the user";
|
||||||
import = lib.mkOption
|
import =
|
||||||
|
lib.mkOption
|
||||||
{
|
{
|
||||||
description = "Import path. MUST BE SET IN CONFIGURATION.NIX";
|
description = "Import path. MUST BE SET IN CONFIGURATION.NIX";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf config.main-user.enable {
|
config = lib.mkIf config.main-user.enable {
|
||||||
|
@ -39,7 +42,8 @@
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
initialPassword = "1234";
|
initialPassword = "1234";
|
||||||
description = "Main system user";
|
description = "Main system user";
|
||||||
extraGroups = [
|
extraGroups =
|
||||||
|
[
|
||||||
"networkmanager"
|
"networkmanager"
|
||||||
"audio"
|
"audio"
|
||||||
]
|
]
|
||||||
|
@ -53,4 +57,3 @@
|
||||||
lib.mkIf config.main-user.home-manager.enable config.main-user.home-manager.import;
|
lib.mkIf config.main-user.home-manager.enable config.main-user.home-manager.import;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,13 @@
|
||||||
{ monitors ? []
|
|
||||||
, border-radius ? 0
|
|
||||||
}:
|
|
||||||
{ lib, pkgs, inputs, config, ... } @ params:
|
|
||||||
{
|
{
|
||||||
|
monitors ? [],
|
||||||
|
border-radius ? 0,
|
||||||
|
}: {
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
inputs,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
} @ params: {
|
||||||
imports = [
|
imports = [
|
||||||
./exec.nix
|
./exec.nix
|
||||||
./env.nix
|
./env.nix
|
||||||
|
@ -10,12 +15,10 @@
|
||||||
|
|
||||||
# programs.alacritty.enable = lib.mkDefault true;
|
# programs.alacritty.enable = lib.mkDefault true;
|
||||||
|
|
||||||
wayland.windowManager.hyprland =
|
wayland.windowManager.hyprland = let
|
||||||
let
|
pluginsNix = import ./plugins.nix params;
|
||||||
pluginsNix = (import ./plugins.nix params);
|
|
||||||
inherit (pluginsNix) plugins;
|
inherit (pluginsNix) plugins;
|
||||||
in
|
in {
|
||||||
{
|
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
# plugins = plugins;
|
# plugins = plugins;
|
||||||
|
@ -99,7 +102,8 @@
|
||||||
# Set mod key
|
# Set mod key
|
||||||
"$mod" = "super";
|
"$mod" = "super";
|
||||||
|
|
||||||
bind = [
|
bind =
|
||||||
|
[
|
||||||
"$mod, Return, exec, ${config.home.sessionVariables.TERMCMD}"
|
"$mod, Return, exec, ${config.home.sessionVariables.TERMCMD}"
|
||||||
"$mod, C, killactive"
|
"$mod, C, killactive"
|
||||||
"$mod, V, togglefloating"
|
"$mod, V, togglefloating"
|
||||||
|
@ -124,20 +128,17 @@
|
||||||
"$mod SHIFT, Q, exec, hyprctl kill"
|
"$mod SHIFT, Q, exec, hyprctl kill"
|
||||||
|
|
||||||
"$mod, L, exec, hyprlock"
|
"$mod, L, exec, hyprlock"
|
||||||
|
]
|
||||||
] ++ (
|
++ (
|
||||||
# Auto generate workspace switching from [0-9] and shift + [0-9]
|
# Auto generate workspace switching from [0-9] and shift + [0-9]
|
||||||
builtins.concatLists (builtins.genList
|
builtins.concatLists (builtins.genList
|
||||||
(
|
(
|
||||||
x:
|
x: let
|
||||||
let
|
ws = let
|
||||||
ws =
|
|
||||||
let
|
|
||||||
c = (x + 1) / 10;
|
c = (x + 1) / 10;
|
||||||
in
|
in
|
||||||
builtins.toString (x + 1 - (c * 10));
|
builtins.toString (x + 1 - (c * 10));
|
||||||
in
|
in [
|
||||||
[
|
|
||||||
"$mod, ${ws}, workspace, ${toString (x + 1)}"
|
"$mod, ${ws}, workspace, ${toString (x + 1)}"
|
||||||
"$mod SHIFT, ${ws}, movetoworkspace, ${toString (x + 1)}"
|
"$mod SHIFT, ${ws}, movetoworkspace, ${toString (x + 1)}"
|
||||||
]
|
]
|
||||||
|
@ -170,12 +171,15 @@
|
||||||
|
|
||||||
windowrulev2 = [
|
windowrulev2 = [
|
||||||
"pin, initialClass:^(zen-alpha)$, initialTitle:^(Zen)$"
|
"pin, initialClass:^(zen-alpha)$, initialTitle:^(Zen)$"
|
||||||
|
"fullscreen, initialTitle:^(Steam Big Picture Mode)$"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
''
|
bind=CTRL,ALT_L,submap,passthrough
|
||||||
# + (import ./plugins.nix { inherit pkgs; inherit inputs; }).pluginConfig
|
submap=passthrough
|
||||||
;
|
bindr=CTRL,Escape,submap,reset
|
||||||
|
submap=reset
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
{...}:
|
{...}: {
|
||||||
|
|
||||||
{
|
|
||||||
wayland.windowManager.hyprland.settings.env = [
|
wayland.windowManager.hyprland.settings.env = [
|
||||||
# "LIBVA_DRIVER_NAME,nvidia"
|
# "LIBVA_DRIVER_NAME,nvidia"
|
||||||
"LIBVA_DRIVER_NAME,iHD"
|
"LIBVA_DRIVER_NAME,radeonsi"
|
||||||
"XDG_SESSION_TYPE,wayland"
|
"XDG_SESSION_TYPE,wayland"
|
||||||
# "GBM_BACKEND,wayland"
|
# "GBM_BACKEND,wayland"
|
||||||
"GTK_USE_PORTAL,1"
|
"GTK_USE_PORTAL,1"
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
{ ... }:
|
{...}: {
|
||||||
{
|
|
||||||
wayland.windowManager.hyprland.settings.exec = [];
|
wayland.windowManager.hyprland.settings.exec = [];
|
||||||
wayland.windowManager.hyprland.settings.exec-once = [
|
wayland.windowManager.hyprland.settings.exec-once = [
|
||||||
# "hyprpaper &"
|
# "hyprpaper &"
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
{ ... }:
|
{...}: {
|
||||||
|
|
||||||
{
|
|
||||||
services.hypridle = {
|
services.hypridle = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
@ -41,5 +39,4 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,15 +1,21 @@
|
||||||
{ lib, inputs, config, ... }:
|
|
||||||
{
|
{
|
||||||
|
lib,
|
||||||
|
inputs,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
programs.hyprlock = {
|
programs.hyprlock = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
general.grace = 2;
|
general.grace = 15;
|
||||||
|
|
||||||
background = {
|
# background = {
|
||||||
# path = (if config.stylix.enable then builtins.toString config.stylix.image else "");
|
# # path = (if config.stylix.enable then builtins.toString config.stylix.image else "");
|
||||||
# color = (if config.stylix.enable then config.lib.stylix.colors.base01 else "");
|
# # color = (if config.stylix.enable then config.lib.stylix.colors.base01 else "");
|
||||||
};
|
# };
|
||||||
|
|
||||||
|
background = lib.mkForce [];
|
||||||
|
|
||||||
input-field = {
|
input-field = {
|
||||||
size = "250, 50";
|
size = "250, 50";
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
{ pkgs, inputs, ... }:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
|
pkgs,
|
||||||
|
inputs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
plugins = with pkgs.hyprlandPlugins; [
|
plugins = with pkgs.hyprlandPlugins; [
|
||||||
hyprfocus
|
hyprfocus
|
||||||
# inputs.hypr-dynamic-cursors.packages.${pkgs.system}.hypr-dynamic-cursors
|
# inputs.hypr-dynamic-cursors.packages.${pkgs.system}.hypr-dynamic-cursors
|
||||||
|
|
|
@ -1,12 +1,14 @@
|
||||||
{
|
{
|
||||||
description = "Dotnet flake for dotnet development";
|
description = "Dotnet flake for dotnet development";
|
||||||
outputs = { self, nixpkgs }:
|
outputs = {
|
||||||
let
|
self,
|
||||||
|
nixpkgs,
|
||||||
|
}: let
|
||||||
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||||||
in
|
in {
|
||||||
{
|
|
||||||
devShells.x86_64-linux = {
|
devShells.x86_64-linux = {
|
||||||
default = with pkgs; mkShell {
|
default = with pkgs;
|
||||||
|
mkShell {
|
||||||
buildInputs = with pkgs; [
|
buildInputs = with pkgs; [
|
||||||
dotnet-sdk_8
|
dotnet-sdk_8
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue