mirror of
https://github.com/blahai/nyx.git
synced 2025-01-18 19:10:21 +00:00
Compare commits
3 commits
7cc96f4b42
...
997bff55a2
Author | SHA1 | Date | |
---|---|---|---|
997bff55a2 | |||
e08f66d286 | |||
4771948682 |
31 changed files with 854 additions and 356 deletions
479
flake.lock
479
flake.lock
|
@ -57,11 +57,11 @@
|
|||
},
|
||||
"catppuccin": {
|
||||
"locked": {
|
||||
"lastModified": 1734397929,
|
||||
"narHash": "sha256-VCTVpU/RlrI9StxzDnqc1R3ZTQloLVALSkiN/Fgiad4=",
|
||||
"lastModified": 1734637345,
|
||||
"narHash": "sha256-wmg3ghpD6TEgnAWQcm6uIrPIBKp4lY4rTqzEzgHRV8g=",
|
||||
"owner": "catppuccin",
|
||||
"repo": "nix",
|
||||
"rev": "21310cde33d3ee8023679dec01a9724a346c63ff",
|
||||
"rev": "72387df84ad52b0b54b98c3e72a62fa4a510413a",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -78,11 +78,11 @@
|
|||
"nixpkgs": "nixpkgs"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1734346739,
|
||||
"narHash": "sha256-Um5yY36idRodddotyBaI9sQjw/xw5SV6tt3jPRgL330=",
|
||||
"lastModified": 1734631939,
|
||||
"narHash": "sha256-ZrvI+3uXL6Y9v1+xyNVPpMav0SYPi2ZwcmkaTyarN0E=",
|
||||
"owner": "chaotic-cx",
|
||||
"repo": "nyx",
|
||||
"rev": "7228d7032f0316dbc69b69584ec07707efbd38c9",
|
||||
"rev": "5694778dcfd69cc5dab9bd83c9eeb147ed3537e4",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -114,6 +114,28 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"devshell": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"haivim",
|
||||
"nixvim",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1728330715,
|
||||
"narHash": "sha256-xRJ2nPOXb//u1jaBnDP56M7v5ldavjbtR6lfGqSvcKg=",
|
||||
"owner": "numtide",
|
||||
"repo": "devshell",
|
||||
"rev": "dd6b80932022cea34a019e2bb32f6fa9e494dfef",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "numtide",
|
||||
"repo": "devshell",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"disko": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
|
@ -152,6 +174,20 @@
|
|||
}
|
||||
},
|
||||
"flake-compat_2": {
|
||||
"locked": {
|
||||
"lastModified": 1696426674,
|
||||
"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
|
||||
"rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
|
||||
"revCount": 57,
|
||||
"type": "tarball",
|
||||
"url": "https://api.flakehub.com/f/pinned/edolstra/flake-compat/1.0.1/018afb31-abd1-7bff-a5e4-cff7e18efb7a/source.tar.gz"
|
||||
},
|
||||
"original": {
|
||||
"type": "tarball",
|
||||
"url": "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz"
|
||||
}
|
||||
},
|
||||
"flake-compat_3": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1696426674,
|
||||
|
@ -167,7 +203,7 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-compat_3": {
|
||||
"flake-compat_4": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1733328505,
|
||||
|
@ -184,6 +220,28 @@
|
|||
}
|
||||
},
|
||||
"flake-parts": {
|
||||
"inputs": {
|
||||
"nixpkgs-lib": [
|
||||
"haivim",
|
||||
"nixvim",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1733312601,
|
||||
"narHash": "sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c=",
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"rev": "205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-parts_2": {
|
||||
"inputs": {
|
||||
"nixpkgs-lib": [
|
||||
"nur",
|
||||
|
@ -219,9 +277,45 @@
|
|||
}
|
||||
},
|
||||
"flake-utils": {
|
||||
"inputs": {
|
||||
"systems": "systems_3"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1731533236,
|
||||
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-utils_2": {
|
||||
"inputs": {
|
||||
"systems": "systems_4"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1731533236,
|
||||
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-utils_3": {
|
||||
"inputs": {
|
||||
"systems": "systems_6"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1726560853,
|
||||
"narHash": "sha256-X6rJYSESBVr3hBoH0WbKE5KvhPU5bloyZ2L4K60/fPQ=",
|
||||
|
@ -253,7 +347,63 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"git-hooks": {
|
||||
"inputs": {
|
||||
"flake-compat": [
|
||||
"haivim",
|
||||
"nixvim",
|
||||
"flake-compat"
|
||||
],
|
||||
"gitignore": "gitignore",
|
||||
"nixpkgs": [
|
||||
"haivim",
|
||||
"nixvim",
|
||||
"nixpkgs"
|
||||
],
|
||||
"nixpkgs-stable": [
|
||||
"haivim",
|
||||
"nixvim",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1734425854,
|
||||
"narHash": "sha256-nzE5UbJ41aPEKf8R2ZFYtLkqPmF7EIUbNEdHMBLg0Ig=",
|
||||
"owner": "cachix",
|
||||
"repo": "git-hooks.nix",
|
||||
"rev": "0ddd26d0925f618c3a5d85a4fa5eb1e23a09491d",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "cachix",
|
||||
"repo": "git-hooks.nix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"gitignore": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"haivim",
|
||||
"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": {
|
||||
"nixpkgs": [
|
||||
"hyprland",
|
||||
|
@ -275,6 +425,28 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"haivim": {
|
||||
"inputs": {
|
||||
"flake-utils": "flake-utils",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
],
|
||||
"nixvim": "nixvim"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1734699281,
|
||||
"narHash": "sha256-pjlbWc1bgrlk5amtIOFoj5g1pHAMOWKWoYlIok8NAIs=",
|
||||
"ref": "refs/heads/main",
|
||||
"rev": "81db83c82f89b5db7095b2288e5d8fc21fd254d5",
|
||||
"revCount": 469,
|
||||
"type": "git",
|
||||
"url": "ssh://git@github.com/blahai/haivim"
|
||||
},
|
||||
"original": {
|
||||
"type": "git",
|
||||
"url": "ssh://git@github.com/blahai/haivim"
|
||||
}
|
||||
},
|
||||
"harfbuzz": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
|
@ -300,11 +472,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1734093295,
|
||||
"narHash": "sha256-hSwgGpcZtdDsk1dnzA0xj5cNaHgN9A99hRF/mxMtwS4=",
|
||||
"lastModified": 1734622158,
|
||||
"narHash": "sha256-h/fdzqlCqSa2ZCIqtDc9kshCJm6kQIoKuO0MSSmAX4A=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "66c5d8b62818ec4c1edb3e941f55ef78df8141a8",
|
||||
"rev": "832920a60833533eaabcc93ab729801bf586fa0c",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -316,6 +488,8 @@
|
|||
"home-manager_2": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"haivim",
|
||||
"nixvim",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
|
@ -333,6 +507,26 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"home-manager_3": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1734622215,
|
||||
"narHash": "sha256-OOfI0XhSJGHblfdNDhfnn8QnZxng63rWk9eeJ2tCbiI=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "1395379a7a36e40f2a76e7b9936cc52950baa1be",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"hyprcursor": {
|
||||
"inputs": {
|
||||
"hyprlang": [
|
||||
|
@ -401,17 +595,17 @@
|
|||
"hyprlang": "hyprlang",
|
||||
"hyprutils": "hyprutils",
|
||||
"hyprwayland-scanner": "hyprwayland-scanner",
|
||||
"nixpkgs": "nixpkgs_2",
|
||||
"nixpkgs": "nixpkgs_3",
|
||||
"pre-commit-hooks": "pre-commit-hooks",
|
||||
"systems": "systems_3",
|
||||
"systems": "systems_5",
|
||||
"xdph": "xdph"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1734423633,
|
||||
"narHash": "sha256-iCbptYR35ifgIwkvU44u6Pbub72wlq7wmlNtemqABOk=",
|
||||
"lastModified": 1734639812,
|
||||
"narHash": "sha256-MbE5G26NM18O9+VnYW5hweAv28o7RJaVFOrZT0gIvr0=",
|
||||
"owner": "hyprwm",
|
||||
"repo": "Hyprland",
|
||||
"rev": "c7d97199103fd1ca43c2a9810c085df5500169ac",
|
||||
"rev": "71dc9f6128b8d2e382b2a574d2d5f15e2d907f3a",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -553,6 +747,36 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"ixx": {
|
||||
"inputs": {
|
||||
"flake-utils": [
|
||||
"haivim",
|
||||
"nixvim",
|
||||
"nuschtosSearch",
|
||||
"flake-utils"
|
||||
],
|
||||
"nixpkgs": [
|
||||
"haivim",
|
||||
"nixvim",
|
||||
"nuschtosSearch",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1729958008,
|
||||
"narHash": "sha256-EiOq8jF4Z/zQe0QYVc3+qSKxRK//CFHMB84aYrYGwEs=",
|
||||
"owner": "NuschtOS",
|
||||
"repo": "ixx",
|
||||
"rev": "9fd01aad037f345350eab2cd45e1946cc66da4eb",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NuschtOS",
|
||||
"ref": "v0.0.6",
|
||||
"repo": "ixx",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"jovian": {
|
||||
"inputs": {
|
||||
"nix-github-actions": "nix-github-actions",
|
||||
|
@ -562,11 +786,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1734162608,
|
||||
"narHash": "sha256-m2AX+3eiVqIK6uO7GbGY7SFnkkYOlR5fQiNI0eRvWOQ=",
|
||||
"lastModified": 1734591594,
|
||||
"narHash": "sha256-7Q4hXE+b9A4DebZ5Q+q3WStuMiWR5bMW0ltpzbY/zMQ=",
|
||||
"owner": "Jovian-Experiments",
|
||||
"repo": "Jovian-NixOS",
|
||||
"rev": "31bdf4c7c91204d65afbde01146deee0259a8fb7",
|
||||
"rev": "ce2abe494524cdb389a5d31c11c41834d4362ac5",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -592,6 +816,28 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nix-darwin": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"haivim",
|
||||
"nixvim",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1733570843,
|
||||
"narHash": "sha256-sQJAxY1TYWD1UyibN/FnN97paTFuwBw3Vp3DNCyKsMk=",
|
||||
"owner": "lnl7",
|
||||
"repo": "nix-darwin",
|
||||
"rev": "a35b08d09efda83625bef267eb24347b446c80b8",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "lnl7",
|
||||
"repo": "nix-darwin",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nix-github-actions": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
|
@ -617,11 +863,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1734119587,
|
||||
"narHash": "sha256-AKU6qqskl0yf2+JdRdD0cfxX4b9x3KKV5RqA6wijmPM=",
|
||||
"lastModified": 1734424634,
|
||||
"narHash": "sha256-cHar1vqHOOyC7f1+tVycPoWTfKIaqkoe1Q6TnKzuti4=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "3566ab7246670a43abd2ffa913cc62dad9cdf7d5",
|
||||
"rev": "d3c42f187194c26d9f0309a8ecc469d6c878ce33",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -633,11 +879,11 @@
|
|||
},
|
||||
"nixpkgs-smol": {
|
||||
"locked": {
|
||||
"lastModified": 1734406807,
|
||||
"narHash": "sha256-+tsK4LslNBXn55GCWuC51mrUzv0nr+BE/VlZxq1NoTs=",
|
||||
"lastModified": 1734623593,
|
||||
"narHash": "sha256-iA3kxtbds7yOc77oRBz2On9ZmOVI/1Pic+YQtYUyIsg=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "948a31b4b765c01f485c05bdeb12b2197f440d5a",
|
||||
"rev": "8af52ff6ba2ed83047881e877718db3bb02fad85",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -665,11 +911,11 @@
|
|||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1734119587,
|
||||
"narHash": "sha256-AKU6qqskl0yf2+JdRdD0cfxX4b9x3KKV5RqA6wijmPM=",
|
||||
"lastModified": 1734424634,
|
||||
"narHash": "sha256-cHar1vqHOOyC7f1+tVycPoWTfKIaqkoe1Q6TnKzuti4=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "3566ab7246670a43abd2ffa913cc62dad9cdf7d5",
|
||||
"rev": "d3c42f187194c26d9f0309a8ecc469d6c878ce33",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -683,13 +929,13 @@
|
|||
"locked": {
|
||||
"lastModified": 1734119587,
|
||||
"narHash": "sha256-AKU6qqskl0yf2+JdRdD0cfxX4b9x3KKV5RqA6wijmPM=",
|
||||
"owner": "nixos",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "3566ab7246670a43abd2ffa913cc62dad9cdf7d5",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
|
@ -697,11 +943,11 @@
|
|||
},
|
||||
"nixpkgs_4": {
|
||||
"locked": {
|
||||
"lastModified": 1734119587,
|
||||
"narHash": "sha256-AKU6qqskl0yf2+JdRdD0cfxX4b9x3KKV5RqA6wijmPM=",
|
||||
"lastModified": 1734424634,
|
||||
"narHash": "sha256-cHar1vqHOOyC7f1+tVycPoWTfKIaqkoe1Q6TnKzuti4=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "3566ab7246670a43abd2ffa913cc62dad9cdf7d5",
|
||||
"rev": "d3c42f187194c26d9f0309a8ecc469d6c878ce33",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -712,6 +958,22 @@
|
|||
}
|
||||
},
|
||||
"nixpkgs_5": {
|
||||
"locked": {
|
||||
"lastModified": 1734424634,
|
||||
"narHash": "sha256-cHar1vqHOOyC7f1+tVycPoWTfKIaqkoe1Q6TnKzuti4=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "d3c42f187194c26d9f0309a8ecc469d6c878ce33",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs_6": {
|
||||
"locked": {
|
||||
"lastModified": 1729265718,
|
||||
"narHash": "sha256-4HQI+6LsO3kpWTYuVGIzhJs1cetFcwT7quWCk/6rqeo=",
|
||||
|
@ -727,7 +989,7 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs_6": {
|
||||
"nixpkgs_7": {
|
||||
"locked": {
|
||||
"lastModified": 1732521221,
|
||||
"narHash": "sha256-2ThgXBUXAE1oFsVATK1ZX9IjPcS4nKFOAjhPNKuiMn0=",
|
||||
|
@ -743,18 +1005,44 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nur": {
|
||||
"nixvim": {
|
||||
"inputs": {
|
||||
"devshell": "devshell",
|
||||
"flake-compat": "flake-compat_2",
|
||||
"flake-parts": "flake-parts",
|
||||
"nixpkgs": "nixpkgs_4",
|
||||
"git-hooks": "git-hooks",
|
||||
"home-manager": "home-manager_2",
|
||||
"nix-darwin": "nix-darwin",
|
||||
"nixpkgs": "nixpkgs_2",
|
||||
"nuschtosSearch": "nuschtosSearch",
|
||||
"treefmt-nix": "treefmt-nix"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1734441016,
|
||||
"narHash": "sha256-5yhAotAxJJEEjrKE5RqpqRpJ73XLCu+HBHTSib1/UQI=",
|
||||
"lastModified": 1734567959,
|
||||
"narHash": "sha256-ghNQlnI/r6cnknY58x60695sFrYnI6ZUMg65bmoNGqw=",
|
||||
"owner": "nix-community",
|
||||
"repo": "nixvim",
|
||||
"rev": "37608b462772e35220e02bfbd9045d0946564436",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"repo": "nixvim",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nur": {
|
||||
"inputs": {
|
||||
"flake-parts": "flake-parts_2",
|
||||
"nixpkgs": "nixpkgs_5",
|
||||
"treefmt-nix": "treefmt-nix_2"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1734645119,
|
||||
"narHash": "sha256-EZBgqIVmEQpereef8PwNVkqZ724J07i0/j9S3xkYTGQ=",
|
||||
"owner": "nix-community",
|
||||
"repo": "NUR",
|
||||
"rev": "6df25dc17e9c708bee5866a23d6974be4f90b332",
|
||||
"rev": "b0b6a0589045d85ae5dabc725338c869487f0d4c",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -763,10 +1051,34 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nuschtosSearch": {
|
||||
"inputs": {
|
||||
"flake-utils": "flake-utils_2",
|
||||
"ixx": "ixx",
|
||||
"nixpkgs": [
|
||||
"haivim",
|
||||
"nixvim",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1733773348,
|
||||
"narHash": "sha256-Y47y+LesOCkJaLvj+dI/Oa6FAKj/T9sKVKDXLNsViPw=",
|
||||
"owner": "NuschtOS",
|
||||
"repo": "search",
|
||||
"rev": "3051be7f403bff1d1d380e4612f0c70675b44fc9",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NuschtOS",
|
||||
"repo": "search",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"pre-commit-hooks": {
|
||||
"inputs": {
|
||||
"flake-compat": "flake-compat_2",
|
||||
"gitignore": "gitignore",
|
||||
"flake-compat": "flake-compat_3",
|
||||
"gitignore": "gitignore_2",
|
||||
"nixpkgs": [
|
||||
"hyprland",
|
||||
"nixpkgs"
|
||||
|
@ -794,9 +1106,10 @@
|
|||
"chaotic": "chaotic",
|
||||
"deploy-rs": "deploy-rs",
|
||||
"disko": "disko",
|
||||
"home-manager": "home-manager_2",
|
||||
"haivim": "haivim",
|
||||
"home-manager": "home-manager_3",
|
||||
"hyprland": "hyprland",
|
||||
"nixpkgs": "nixpkgs_3",
|
||||
"nixpkgs": "nixpkgs_4",
|
||||
"nixpkgs-smol": "nixpkgs-smol",
|
||||
"nur": "nur",
|
||||
"sops-nix": "sops-nix",
|
||||
|
@ -833,11 +1146,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1733965552,
|
||||
"narHash": "sha256-GZ4YtqkfyTjJFVCub5yAFWsHknG1nS/zfk7MuHht4Fs=",
|
||||
"lastModified": 1734546875,
|
||||
"narHash": "sha256-6OvJbqQ6qPpNw3CA+W8Myo5aaLhIJY/nNFDk3zMXLfM=",
|
||||
"owner": "Mic92",
|
||||
"repo": "sops-nix",
|
||||
"rev": "2d73fc6ac4eba4b9a83d3cb8275096fbb7ab4004",
|
||||
"rev": "ed091321f4dd88afc28b5b4456e0a15bd8374b4d",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -848,17 +1161,17 @@
|
|||
},
|
||||
"spicetify-nix": {
|
||||
"inputs": {
|
||||
"flake-compat": "flake-compat_3",
|
||||
"flake-compat": "flake-compat_4",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1734409034,
|
||||
"narHash": "sha256-yd3VgQGJiYxWeDaThZFidDpaqIo8XHmK7m04lpl8Dl8=",
|
||||
"lastModified": 1734581787,
|
||||
"narHash": "sha256-hp4sP3gF/LIJRwCv9x3yteSFP1xVK0J6socGrJEd6Hs=",
|
||||
"owner": "Gerg-L",
|
||||
"repo": "spicetify-nix",
|
||||
"rev": "4703114659cdb75ece88ffa4b62ad837fd7b79a6",
|
||||
"rev": "9df915be725751fccde78f2dfe59025bb1bfbb14",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -899,16 +1212,16 @@
|
|||
},
|
||||
"systems_3": {
|
||||
"locked": {
|
||||
"lastModified": 1689347949,
|
||||
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
|
||||
"lastModified": 1681028828,
|
||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||
"owner": "nix-systems",
|
||||
"repo": "default-linux",
|
||||
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
|
||||
"repo": "default",
|
||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-systems",
|
||||
"repo": "default-linux",
|
||||
"repo": "default",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
|
@ -927,7 +1240,59 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"systems_5": {
|
||||
"locked": {
|
||||
"lastModified": 1689347949,
|
||||
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
|
||||
"owner": "nix-systems",
|
||||
"repo": "default-linux",
|
||||
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-systems",
|
||||
"repo": "default-linux",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"systems_6": {
|
||||
"locked": {
|
||||
"lastModified": 1681028828,
|
||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"treefmt-nix": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"haivim",
|
||||
"nixvim",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1733761991,
|
||||
"narHash": "sha256-s4DalCDepD22jtKL5Nw6f4LP5UwoMcPzPZgHWjAfqbQ=",
|
||||
"owner": "numtide",
|
||||
"repo": "treefmt-nix",
|
||||
"rev": "0ce9d149d99bc383d1f2d85f31f6ebd146e46085",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "numtide",
|
||||
"repo": "treefmt-nix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"treefmt-nix_2": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nur",
|
||||
|
@ -968,11 +1333,11 @@
|
|||
},
|
||||
"wezterm": {
|
||||
"inputs": {
|
||||
"flake-utils": "flake-utils",
|
||||
"flake-utils": "flake-utils_3",
|
||||
"freetype2": "freetype2",
|
||||
"harfbuzz": "harfbuzz",
|
||||
"libpng": "libpng",
|
||||
"nixpkgs": "nixpkgs_5",
|
||||
"nixpkgs": "nixpkgs_6",
|
||||
"rust-overlay": "rust-overlay",
|
||||
"zlib": "zlib"
|
||||
},
|
||||
|
@ -1035,7 +1400,7 @@
|
|||
},
|
||||
"zen-browser": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs_6"
|
||||
"nixpkgs": "nixpkgs_7"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1732835488,
|
||||
|
|
89
flake.nix
89
flake.nix
|
@ -26,6 +26,15 @@
|
|||
chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
|
||||
nur.url = "github:nix-community/NUR";
|
||||
|
||||
# This is a private repository for now while I work on it
|
||||
# My plan is to make it public by the end of the year
|
||||
# for now have a look at https://github.com/redyf/Neve
|
||||
# as that is where I *borrowed* the base from
|
||||
haivim = {
|
||||
url = "git+ssh://git@github.com/blahai/haivim";
|
||||
inputs = {nixpkgs.follows = "nixpkgs";};
|
||||
};
|
||||
|
||||
deploy-rs = {
|
||||
url = "github:serokell/deploy-rs";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
@ -58,56 +67,58 @@
|
|||
|
||||
wezterm.url = "github:wez/wezterm?dir=nix";
|
||||
|
||||
catppuccin = { url = "github:catppuccin/nix"; };
|
||||
catppuccin = {url = "github:catppuccin/nix";};
|
||||
|
||||
hyprland.url = "github:hyprwm/Hyprland";
|
||||
|
||||
zen-browser.url = "github:ch4og/zen-browser-flake";
|
||||
|
||||
};
|
||||
|
||||
outputs = { nixpkgs, nixpkgs-smol, chaotic, home-manager, disko, ... }@inputs:
|
||||
let system = "x86_64-linux";
|
||||
in {
|
||||
nixosConfigurations = {
|
||||
nyx = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {
|
||||
inherit inputs;
|
||||
pkgs-smol = import nixpkgs-smol {
|
||||
inherit system;
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
outputs = {
|
||||
nixpkgs,
|
||||
nixpkgs-smol,
|
||||
chaotic,
|
||||
home-manager,
|
||||
disko,
|
||||
...
|
||||
} @ inputs: let
|
||||
system = "x86_64-linux";
|
||||
in {
|
||||
nixosConfigurations = {
|
||||
nyx = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {
|
||||
inherit inputs;
|
||||
pkgs-smol = import nixpkgs-smol {
|
||||
inherit system;
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
modules = [
|
||||
./hosts/nyx/configuration.nix
|
||||
inputs.home-manager.nixosModules.default
|
||||
chaotic.nixosModules.default
|
||||
];
|
||||
};
|
||||
modules = [
|
||||
./hosts/nyx/configuration.nix
|
||||
inputs.home-manager.nixosModules.default
|
||||
chaotic.nixosModules.default
|
||||
];
|
||||
};
|
||||
|
||||
# helios = nixpkgs.lib.nixosSystem {
|
||||
# modules = [
|
||||
# ./hosts/helios/configuration.nix
|
||||
# # inputs.home-manager.nixosModules.default
|
||||
# chaotic.nixosModules.default
|
||||
# ];
|
||||
# };
|
||||
# helios = nixpkgs.lib.nixosSystem {
|
||||
# modules = [
|
||||
# ./hosts/helios/configuration.nix
|
||||
# # inputs.home-manager.nixosModules.default
|
||||
# chaotic.nixosModules.default
|
||||
# ];
|
||||
# };
|
||||
|
||||
theia = nixpkgs.lib.nixosSystem {
|
||||
modules =
|
||||
[ ./hosts/theia/configuration.nix disko.nixosModules.disko ];
|
||||
};
|
||||
|
||||
epimetheus = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {
|
||||
inherit inputs;
|
||||
pkgs-smol = import nixpkgs-smol {
|
||||
inherit system;
|
||||
};
|
||||
};
|
||||
modules =
|
||||
[ ./hosts/epimetheus/configuration.nix disko.nixosModules.disko ];
|
||||
theia = nixpkgs.lib.nixosSystem {
|
||||
modules = [./hosts/theia/configuration.nix disko.nixosModules.disko];
|
||||
};
|
||||
|
||||
epimetheus = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {
|
||||
inherit inputs;
|
||||
pkgs-smol = import nixpkgs-smol {inherit system;};
|
||||
};
|
||||
modules = [./hosts/epimetheus/configuration.nix disko.nixosModules.disko];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,15 +1,21 @@
|
|||
{ pkgs, pkgs-smol, lib, modulesPath, config, ... }: {
|
||||
|
||||
imports = [ "${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix" ];
|
||||
{
|
||||
pkgs,
|
||||
pkgs-smol,
|
||||
lib,
|
||||
modulesPath,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
imports = ["${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix"];
|
||||
|
||||
boot = {
|
||||
supportedFilesystems = [ "zfs" ];
|
||||
supportedFilesystems = ["zfs"];
|
||||
zfs = {
|
||||
forceImportRoot = false;
|
||||
package = pkgs-smol.zfs;
|
||||
};
|
||||
kernelPackages = pkgs-smol.linuxPackages_6_12;
|
||||
kernelParams = lib.mkAfter [ "noquiet" "toram" ];
|
||||
kernelParams = lib.mkAfter ["noquiet" "toram"];
|
||||
enableContainers = false;
|
||||
};
|
||||
|
||||
|
@ -30,7 +36,6 @@
|
|||
dnf5 # Fedora
|
||||
debootstrap # Debin and ubuntu
|
||||
apt # Ubuntu
|
||||
|
||||
];
|
||||
|
||||
documentation = {
|
||||
|
@ -56,7 +61,7 @@
|
|||
|
||||
environment = {
|
||||
stub-ld.enable = lib.mkForce false;
|
||||
defaultPackages = [ ];
|
||||
defaultPackages = [];
|
||||
};
|
||||
|
||||
xdg = {
|
||||
|
@ -68,10 +73,10 @@
|
|||
|
||||
nix = {
|
||||
package = pkgs.lix;
|
||||
nixPath = [ "nixpkgs=${config.nix.registry.nixpkgs.to.path}" ];
|
||||
nixPath = ["nixpkgs=${config.nix.registry.nixpkgs.to.path}"];
|
||||
channel.enable = false;
|
||||
settings = {
|
||||
experimental-features = [ "nix-command" "flakes" "auto-allocate-uids" ];
|
||||
experimental-features = ["nix-command" "flakes" "auto-allocate-uids"];
|
||||
max-jobs = "auto";
|
||||
sandbox = true;
|
||||
auto-optimise-store = true;
|
||||
|
@ -92,10 +97,8 @@
|
|||
"anyrun.cachix.org-1:pqBobmOjI7nKlsUMV25u9QHa9btJK65/C8vnO3p346s="
|
||||
"wezterm.cachix.org-1:kAbhjYUC9qvblTE+s7S+kl5XM1zVa4skO+E/1IDWdH0="
|
||||
];
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
hardware.enableRedistributableFirmware = true;
|
||||
|
||||
}
|
||||
|
|
|
@ -1,6 +1,11 @@
|
|||
{ config, pkgs, pkgs-smol, inputs, system, lib, ... }:
|
||||
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
pkgs-smol,
|
||||
inputs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
../../modules/nixos/default.nix
|
||||
|
@ -18,18 +23,18 @@
|
|||
};
|
||||
efi.canTouchEfiVariables = true;
|
||||
};
|
||||
supportedFilesystems = [ "zfs" "ext4" "btrfs" ];
|
||||
supportedFilesystems = ["zfs" "ext4" "btrfs"];
|
||||
zfs = {
|
||||
forceImportRoot = false;
|
||||
extraPools = [ "zpool" "zootfs" ];
|
||||
extraPools = ["zpool" "zootfs"];
|
||||
devNodes = "/dev/disk/by-id";
|
||||
package = pkgs.zfs;
|
||||
allowHibernation = true; # might cause corruption?
|
||||
};
|
||||
kernelPackages = pkgs.linuxPackages_6_12;
|
||||
kernel = { sysctl = { "vm.max_map_count" = 2147483642; }; };
|
||||
kernelParams = [
|
||||
"elevator=none" # for zfs
|
||||
kernel = {sysctl = {"vm.max_map_count" = 2147483642;};};
|
||||
kernelParams = [
|
||||
"elevator=none" # for zfs
|
||||
"zfs.zfs_arc_max=8589934592"
|
||||
"nvme.noacpi=1"
|
||||
];
|
||||
|
@ -43,14 +48,15 @@
|
|||
|
||||
networking = {
|
||||
hostName = "nyx";
|
||||
hostId = builtins.substring 0 8
|
||||
hostId =
|
||||
builtins.substring 0 8
|
||||
(builtins.hashString "md5" config.networking.hostName);
|
||||
networkmanager.enable = true;
|
||||
stevenblack = {
|
||||
enable = true;
|
||||
block = [ "fakenews" "gambling" ];
|
||||
block = ["fakenews" "gambling"];
|
||||
};
|
||||
nameservers = [ "1.1.1.1" "1.0.0.1" "9.9.9.9" ];
|
||||
nameservers = ["1.1.1.1" "1.0.0.1" "9.9.9.9"];
|
||||
};
|
||||
|
||||
time.timeZone = "Europe/Helsinki";
|
||||
|
@ -84,7 +90,6 @@
|
|||
};
|
||||
|
||||
gnome.gnome-keyring.enable = true;
|
||||
|
||||
};
|
||||
|
||||
hardware.pulseaudio.enable = false;
|
||||
|
@ -94,7 +99,7 @@
|
|||
pingu = {
|
||||
isNormalUser = true;
|
||||
description = "Elissa";
|
||||
extraGroups = [ "networkmanager" "wheel" "input" "render" ];
|
||||
extraGroups = ["networkmanager" "wheel" "input" "render"];
|
||||
shell = pkgs.fish;
|
||||
packages = with pkgs; [
|
||||
floorp
|
||||
|
@ -108,30 +113,28 @@
|
|||
};
|
||||
|
||||
home-manager = {
|
||||
extraSpecialArgs = { inherit inputs; };
|
||||
extraSpecialArgs = {inherit inputs;};
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
verbose = true;
|
||||
backupFileExtension = "bak";
|
||||
users = { "pingu" = import ./home.nix; };
|
||||
users = {"pingu" = import ./home.nix;};
|
||||
};
|
||||
|
||||
systemd = {
|
||||
user.services.polkit-gnome-authentication-agent-1 = {
|
||||
description = "polkit-gnome-authentication-agent-1";
|
||||
wantedBy = [ "graphical-session.target" ];
|
||||
wants = [ "graphical-session.target" ];
|
||||
after = [ "graphical-session.target" ];
|
||||
wantedBy = ["graphical-session.target"];
|
||||
wants = ["graphical-session.target"];
|
||||
after = ["graphical-session.target"];
|
||||
serviceConfig = {
|
||||
Type = "simple";
|
||||
ExecStart =
|
||||
"${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
|
||||
ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
|
||||
Restart = "on-failure";
|
||||
RestartSec = 1;
|
||||
TimeoutStopSec = 10;
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
programs = {
|
||||
|
@ -145,7 +148,7 @@
|
|||
portalPackage = inputs.hyprland.packages."${pkgs.system}".hyprland;
|
||||
};
|
||||
|
||||
direnv = { enable = true; };
|
||||
direnv = {enable = true;};
|
||||
|
||||
nh = {
|
||||
enable = true;
|
||||
|
@ -167,17 +170,17 @@
|
|||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
nix = {
|
||||
nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
|
||||
nixPath = ["nixpkgs=${inputs.nixpkgs}"];
|
||||
package = pkgs.lix;
|
||||
settings = {
|
||||
experimental-features = [ "nix-command" "flakes" "auto-allocate-uids" ];
|
||||
experimental-features = ["nix-command" "flakes" "auto-allocate-uids"];
|
||||
max-jobs = "auto";
|
||||
sandbox = true;
|
||||
auto-optimise-store = true;
|
||||
keep-going = true;
|
||||
warn-dirty = false;
|
||||
use-xdg-base-directories = true;
|
||||
trusted-users = [ "@wheel" "pingu" "root" ];
|
||||
trusted-users = ["@wheel" "pingu" "root"];
|
||||
substituters = [
|
||||
"https://nix-community.cachix.org"
|
||||
"https://nixpkgs-unfree.cachix.org"
|
||||
|
@ -197,13 +200,12 @@
|
|||
|
||||
qt.enable = true;
|
||||
|
||||
environment.sessionVariables.GST_PLUGIN_SYSTEM_PATH_1_0 =
|
||||
lib.makeSearchPathOutput "lib" "lib/gstreamer-1.0" (with pkgs.gst_all_1; [
|
||||
gst-plugins-good
|
||||
gst-plugins-bad
|
||||
gst-plugins-ugly
|
||||
gst-libav
|
||||
]);
|
||||
environment.sessionVariables.GST_PLUGIN_SYSTEM_PATH_1_0 = lib.makeSearchPathOutput "lib" "lib/gstreamer-1.0" (with pkgs.gst_all_1; [
|
||||
gst-plugins-good
|
||||
gst-plugins-bad
|
||||
gst-plugins-ugly
|
||||
gst-libav
|
||||
]);
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
nautilus
|
||||
|
@ -248,7 +250,8 @@
|
|||
lua-language-server
|
||||
nil
|
||||
nixd
|
||||
nixfmt-classic
|
||||
nix-output-monitor
|
||||
alejandra
|
||||
zip
|
||||
nodejs
|
||||
typescript
|
||||
|
@ -274,7 +277,6 @@
|
|||
imagemagick
|
||||
wireguard-tools
|
||||
mission-center
|
||||
nix-output-monitor
|
||||
speedcrunch
|
||||
geogebra
|
||||
];
|
||||
|
@ -298,6 +300,11 @@
|
|||
enableSSHSupport = true;
|
||||
};
|
||||
|
||||
programs.localsend = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
@ -307,5 +314,4 @@
|
|||
};
|
||||
|
||||
system.stateVersion = "24.05";
|
||||
|
||||
}
|
||||
|
|
|
@ -1,78 +1,95 @@
|
|||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
modulesPath,
|
||||
...
|
||||
}: {
|
||||
imports = [(modulesPath + "/installer/scan/not-detected.nix")];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "nvme" "ahci" "xhci_pci" "usbhid" "hid_generic" "uas" "sd_mod" ];
|
||||
boot.initrd.kernelModules = [ "amdgpu" ];
|
||||
boot.kernelModules = [ "kvm-amd" "amd-pstate" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
boot.initrd.availableKernelModules = ["nvme" "ahci" "xhci_pci" "usbhid" "hid_generic" "uas" "sd_mod"];
|
||||
boot.initrd.kernelModules = ["amdgpu"];
|
||||
boot.kernelModules = ["kvm-amd" "amd-pstate"];
|
||||
boot.extraModulePackages = [];
|
||||
|
||||
fileSystems."/" = {
|
||||
device = "zpool/root";
|
||||
fsType = "zfs";
|
||||
options = [ "zfsutil" ];
|
||||
options = ["zfsutil"];
|
||||
};
|
||||
|
||||
fileSystems."/nix" = {
|
||||
device = "zpool/nix";
|
||||
fsType = "zfs";
|
||||
options = [ "zfsutil" ];
|
||||
options = ["zfsutil"];
|
||||
};
|
||||
|
||||
fileSystems."/var" = {
|
||||
device = "zpool/var";
|
||||
fsType = "zfs";
|
||||
options = [ "zfsutil" ];
|
||||
options = ["zfsutil"];
|
||||
};
|
||||
|
||||
fileSystems."/home" = {
|
||||
device = "zpool/home";
|
||||
fsType = "zfs";
|
||||
options = [ "zfsutil" ];
|
||||
options = ["zfsutil"];
|
||||
};
|
||||
|
||||
fileSystems."/var/lib/virt/images" = {
|
||||
device = "zpool/virt/images";
|
||||
fsType = "zfs";
|
||||
options = ["zfsutil"];
|
||||
};
|
||||
|
||||
fileSystems."/var/lib/virt/disks" = {
|
||||
device = "zpool/virt/disks";
|
||||
fsType = "zfs";
|
||||
options = ["zfsutil"];
|
||||
};
|
||||
|
||||
fileSystems."/mnt/zootfs/Storage" = {
|
||||
device = "zootfs/Storage";
|
||||
fsType = "zfs";
|
||||
options = [ "zfsutil" ];
|
||||
options = ["zfsutil"];
|
||||
};
|
||||
|
||||
fileSystems."/mnt/zootfs/Media" = {
|
||||
device = "zootfs/Media";
|
||||
fsType = "zfs";
|
||||
options = [ "zfsutil" ];
|
||||
options = ["zfsutil"];
|
||||
};
|
||||
|
||||
# https://github.com/atuinsh/atuin/issues/952#issuecomment-1902164562
|
||||
fileSystems."/home/pingu/.local/share/atuin" = {
|
||||
device = "/dev/zvol/zpool/nixos/atuin";
|
||||
fsType = "ext4";
|
||||
options = [ "async" "auto" "nofail" ];
|
||||
options = ["async" "auto" "nofail"];
|
||||
};
|
||||
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-label/BOOT";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0022" "dmask=0022" ];
|
||||
options = ["fmask=0022" "dmask=0022"];
|
||||
};
|
||||
|
||||
fileSystems."/mnt/ssd" = {
|
||||
device = "/dev/disk/by-uuid/e4c31e1c-6667-4582-8d6a-d142d6118ce2";
|
||||
fsType = "btrfs";
|
||||
options = [ "async" "auto" "noatime" "rw" ];
|
||||
options = ["async" "auto" "noatime" "rw"];
|
||||
};
|
||||
|
||||
fileSystems."/mnt/ext" = {
|
||||
device = "/dev/disk/by-uuid/43280a82-cf9a-452e-9bdc-a8cc66ccd7c8";
|
||||
fsType = "btrfs";
|
||||
options = [ "async" "auto" "nofail" "noatime" ];
|
||||
options = ["async" "auto" "nofail" "noatime"];
|
||||
};
|
||||
|
||||
swapDevices = [{ device = "/dev/disk/by-uuid/04281bd7-784a-4287-b4f2-ce406d2ab6ac"; }];
|
||||
swapDevices = [{device = "/dev/disk/by-uuid/04281bd7-784a-4287-b4f2-ce406d2ab6ac";}];
|
||||
|
||||
# networking.useDHCP = lib.mkDefault true;
|
||||
|
||||
hardware.enableRedistributableFirmware = true;
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.cpu.amd.updateMicrocode = true;
|
||||
}
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
{ inputs, config, pkgs, ... }: {
|
||||
{
|
||||
inputs,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
../../modules/home-manager/default.nix
|
||||
inputs.catppuccin.homeManagerModules.catppuccin
|
||||
|
@ -23,10 +28,10 @@
|
|||
autocrlf = "input";
|
||||
};
|
||||
url = {
|
||||
"ssh://git@github.com/" = { insteadOf = "https://github.com/"; };
|
||||
"ssh://git@github.com/" = {insteadOf = "https://github.com/";};
|
||||
};
|
||||
gpg = { format = "ssh"; };
|
||||
init = { defaultBranch = "main"; };
|
||||
gpg = {format = "ssh";};
|
||||
init = {defaultBranch = "main";};
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -45,12 +50,15 @@
|
|||
|
||||
gtk = {
|
||||
enable = true;
|
||||
catppuccin = {
|
||||
};
|
||||
|
||||
catppuccin = {
|
||||
gtk = {
|
||||
enable = true;
|
||||
flavor = "mocha";
|
||||
accent = "pink";
|
||||
size = "standard";
|
||||
tweaks = [ "normal" ];
|
||||
tweaks = ["normal"];
|
||||
icon.enable = true;
|
||||
};
|
||||
};
|
||||
|
@ -64,9 +72,12 @@
|
|||
|
||||
home.stateVersion = "24.11";
|
||||
|
||||
home.packages = with pkgs; [ obsidian ];
|
||||
home.packages = with pkgs; [
|
||||
obsidian
|
||||
inputs.haivim.packages.${pkgs.system}.default
|
||||
];
|
||||
|
||||
home.sessionVariables = { EDITOR = "nvim"; };
|
||||
home.sessionVariables = {EDITOR = "nvim";};
|
||||
|
||||
# Let Home Manager install and manage itself.
|
||||
programs.home-manager.enable = true;
|
||||
|
|
|
@ -1,7 +1,13 @@
|
|||
{ config, modulesPath, lib, pkgs, ... }: {
|
||||
{
|
||||
config,
|
||||
modulesPath,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
system.stateVersion = "24.11";
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
|
||||
imports = [(modulesPath + "/profiles/qemu-guest.nix")];
|
||||
|
||||
boot = {
|
||||
initrd.availableKernelModules = [
|
||||
|
@ -14,9 +20,9 @@
|
|||
"sr_mod"
|
||||
"virtio_blk"
|
||||
];
|
||||
initrd.kernelModules = [ ];
|
||||
initrd.kernelModules = [];
|
||||
kernelPackages = pkgs.linuxPackages_6_12;
|
||||
kernelModules = [ "kvm-amd" ];
|
||||
kernelModules = ["kvm-amd"];
|
||||
kernel = {
|
||||
sysctl = {
|
||||
"vm.max_map_count" = 2147483642;
|
||||
|
@ -28,7 +34,7 @@
|
|||
"net.ipv6.conf.all.forwarding" = 1;
|
||||
};
|
||||
};
|
||||
extraModulePackages = [ ];
|
||||
extraModulePackages = [];
|
||||
loader.grub = {
|
||||
enable = true;
|
||||
device = "/dev/vda";
|
||||
|
@ -38,7 +44,7 @@
|
|||
nix = {
|
||||
package = pkgs.lix;
|
||||
settings = {
|
||||
experimental-features = [ "nix-command" "flakes" ];
|
||||
experimental-features = ["nix-command" "flakes"];
|
||||
auto-optimise-store = true;
|
||||
sandbox = true;
|
||||
};
|
||||
|
@ -58,13 +64,15 @@
|
|||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-uuid/FED3-A372";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0022" "dmask=0022" ];
|
||||
options = ["fmask=0022" "dmask=0022"];
|
||||
};
|
||||
|
||||
swapDevices = [{
|
||||
device = "/var/lib/swapfile";
|
||||
size = 16 * 1024;
|
||||
}];
|
||||
swapDevices = [
|
||||
{
|
||||
device = "/var/lib/swapfile";
|
||||
size = 16 * 1024;
|
||||
}
|
||||
];
|
||||
|
||||
networking = {
|
||||
enableIPv6 = false; # Had to disable for now due to problems with resolving
|
||||
|
@ -82,7 +90,7 @@
|
|||
];
|
||||
};
|
||||
hostName = "theia";
|
||||
nameservers = [ "1.1.1.1" "8.8.8.8" "9.9.9.9" ];
|
||||
nameservers = ["1.1.1.1" "8.8.8.8" "9.9.9.9"];
|
||||
domain = "theia.blahai.gay";
|
||||
useDHCP = lib.mkDefault false;
|
||||
defaultGateway = {
|
||||
|
@ -93,15 +101,19 @@
|
|||
interfaces = {
|
||||
ens3 = {
|
||||
ipv4 = {
|
||||
addresses = [{
|
||||
address = "178.63.118.252";
|
||||
prefixLength = 32;
|
||||
}];
|
||||
addresses = [
|
||||
{
|
||||
address = "178.63.118.252";
|
||||
prefixLength = 32;
|
||||
}
|
||||
];
|
||||
|
||||
routes = [{
|
||||
address = "178.63.247.183";
|
||||
prefixLength = 32;
|
||||
}];
|
||||
routes = [
|
||||
{
|
||||
address = "178.63.247.183";
|
||||
prefixLength = 32;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -117,7 +129,7 @@
|
|||
networkd-dispatcher = {
|
||||
enable = true;
|
||||
rules."50-tailscale" = {
|
||||
onState = [ "routable" ];
|
||||
onState = ["routable"];
|
||||
script = ''
|
||||
${
|
||||
lib.getExe pkgs.ethtool
|
||||
|
@ -142,13 +154,12 @@
|
|||
"n?vim"
|
||||
];
|
||||
prefer =
|
||||
lib.concatStringsSep "|" [ "dotnet" "java.*" "nix" "npm" "node" ];
|
||||
lib.concatStringsSep "|" ["dotnet" "java.*" "nix" "npm" "node"];
|
||||
in [
|
||||
"-g"
|
||||
"--avoid '(^|/)(${avoid})'" # things that we want to avoid killing
|
||||
"--prefer '(^|/)(${prefer})'" # things we want to remove fast
|
||||
];
|
||||
|
||||
};
|
||||
|
||||
caddy = {
|
||||
|
@ -184,7 +195,7 @@
|
|||
|
||||
uptime-kuma = {
|
||||
enable = true;
|
||||
settings = { PORT = "3001"; };
|
||||
settings = {PORT = "3001";};
|
||||
};
|
||||
|
||||
forgejo = {
|
||||
|
@ -227,10 +238,9 @@
|
|||
use_default_settings = true;
|
||||
server = {
|
||||
port = 8888;
|
||||
secret_key =
|
||||
"7360d3df7c08ce681cf6d5122e3e182de2c5205e962766abd3e6dfc8dec1b683";
|
||||
secret_key = "7360d3df7c08ce681cf6d5122e3e182de2c5205e962766abd3e6dfc8dec1b683";
|
||||
};
|
||||
ui = { infinite_scroll = true; };
|
||||
ui = {infinite_scroll = true;};
|
||||
|
||||
general = {
|
||||
instance_name = "searchai";
|
||||
|
@ -247,7 +257,7 @@
|
|||
openssh = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
settings = { PasswordAuthentication = false; };
|
||||
settings = {PasswordAuthentication = false;};
|
||||
};
|
||||
|
||||
fail2ban = {
|
||||
|
@ -261,26 +271,24 @@
|
|||
};
|
||||
};
|
||||
|
||||
programs = { nix-ld.enable = true; };
|
||||
programs = {nix-ld.enable = true;};
|
||||
|
||||
users.users.root = {
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILPbmiNqoyeKXk/VopFm2cFfEnV4cKCFBhbhyYB69Fuu"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILLqPq70t6RbnI8UejEshYcfBP66I4OrLFjvGLLfIEXD"
|
||||
];
|
||||
initialHashedPassword =
|
||||
"$y$j9T$TzqbL4iMGLjli6EEXfRCZ0$AhFJ4iCFxRlstth5owic3M5nq74Sp1qhtctjSBcgAl8";
|
||||
initialHashedPassword = "$y$j9T$TzqbL4iMGLjli6EEXfRCZ0$AhFJ4iCFxRlstth5owic3M5nq74Sp1qhtctjSBcgAl8";
|
||||
};
|
||||
|
||||
users.users.pingu = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" ];
|
||||
extraGroups = ["wheel"];
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILPbmiNqoyeKXk/VopFm2cFfEnV4cKCFBhbhyYB69Fuu"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILLqPq70t6RbnI8UejEshYcfBP66I4OrLFjvGLLfIEXD"
|
||||
];
|
||||
initialHashedPassword =
|
||||
"$y$j9T$cxwKGmzYyC1eLeIysr8r/.$dsxxxV4NvXY.Wpd9LO.RiuMQuy2lYyy2HGrk52BJX08";
|
||||
initialHashedPassword = "$y$j9T$cxwKGmzYyC1eLeIysr8r/.$dsxxxV4NvXY.Wpd9LO.RiuMQuy2lYyy2HGrk52BJX08";
|
||||
};
|
||||
|
||||
users.users.minecraft = {
|
||||
|
@ -295,10 +303,8 @@
|
|||
openjdk21
|
||||
openjdk17
|
||||
screen
|
||||
|
||||
];
|
||||
initialHashedPassword =
|
||||
"$y$j9T$KpQYYLB6eWfHAUo9.o/uy1$gnj/UlWLrx5XBZDm2GNdjHs2G5D3XxxqqtrCIf5MX43";
|
||||
initialHashedPassword = "$y$j9T$KpQYYLB6eWfHAUo9.o/uy1$gnj/UlWLrx5XBZDm2GNdjHs2G5D3XxxqqtrCIf5MX43";
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{ lib, ... }:
|
||||
{
|
||||
{lib, ...}: {
|
||||
disko.devices = {
|
||||
disk.disk1 = {
|
||||
device = lib.mkDefault "/dev/vda";
|
||||
|
|
|
@ -1,6 +1,11 @@
|
|||
{ inputs, pkgs, lib, ... }: {
|
||||
{
|
||||
inputs,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
# add the home manager module
|
||||
imports = [ inputs.ags.homeManagerModules.default ];
|
||||
imports = [inputs.ags.homeManagerModules.default];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
bun
|
||||
|
|
|
@ -1,8 +1,12 @@
|
|||
{ pkgs, lib, config, ... } :
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
programs.alacritty = {
|
||||
enable = true;
|
||||
|
||||
|
||||
settings = {
|
||||
window = {
|
||||
opacity = 0.9;
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
{ pkgs, lib, config, ... }: {
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
home.file."Pictures/gay.png".source = ./gay.png;
|
||||
programs.fastfetch = {
|
||||
enable = true;
|
||||
|
@ -9,7 +14,7 @@
|
|||
width = 32;
|
||||
};
|
||||
|
||||
display = { separator = " "; };
|
||||
display = {separator = " ";};
|
||||
|
||||
modules = [
|
||||
{
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
{ config, lib, pkgs, ... }: {
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
home.packages = with pkgs; [
|
||||
neofetch
|
||||
];
|
||||
|
@ -63,8 +68,8 @@
|
|||
'';
|
||||
|
||||
build-iso = ''
|
||||
cd ~/.config/nixos
|
||||
nix build .#nixosConfigurations.epimetheus.config.system.build.isoImage
|
||||
cd ~/.config/nixos
|
||||
nix build .#nixosConfigurations.epimetheus.config.system.build.isoImage
|
||||
'';
|
||||
|
||||
# Credit for these 3
|
||||
|
@ -80,7 +85,6 @@
|
|||
mkcd = ''
|
||||
mkdir -p -- $argv[1] && cd $argv; or return $status
|
||||
'';
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
{ pkgs, lib, config, ... }: {
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
programs.foot = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
@ -15,7 +20,7 @@
|
|||
style = "beam";
|
||||
beam-thickness = 1.5;
|
||||
};
|
||||
colors = { alpha = 0.9; };
|
||||
colors = {alpha = 0.9;};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
programs.starship = {
|
||||
enable = true;
|
||||
enableFishIntegration = true;
|
||||
|
|
|
@ -1,9 +1,14 @@
|
|||
{ inputs, pkgs, lib, config, ... }:
|
||||
{
|
||||
inputs,
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
home.packages = with pkgs; [
|
||||
inputs.wezterm.packages.${pkgs.system}.default
|
||||
];
|
||||
|
||||
|
||||
xdg.configFile."wezterm" = {
|
||||
source = config.lib.file.mkOutOfStoreSymlink "/home/pingu/.config/nixos/modules/home-manager/cli/wezterm";
|
||||
recursive = true;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ ... }: {
|
||||
{...}: {
|
||||
imports = [
|
||||
./cli/default.nix
|
||||
./hypr/default.nix
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
{ pkgs, config, inputs, lib, ... }: {
|
||||
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
inputs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./hyprland/rules.nix
|
||||
./hyprland/keybinds.nix
|
||||
|
@ -22,7 +27,7 @@
|
|||
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
configPackages = [ config.wayland.windowManager.hyprland.package ];
|
||||
configPackages = [config.wayland.windowManager.hyprland.package];
|
||||
extraPortals = [
|
||||
pkgs.xdg-desktop-portal-gtk
|
||||
inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland
|
||||
|
@ -35,7 +40,6 @@
|
|||
package = inputs.hyprland.packages."${pkgs.system}".hyprland;
|
||||
|
||||
settings = {
|
||||
|
||||
monitor = [
|
||||
",prefered,auto,1"
|
||||
];
|
||||
|
@ -144,7 +148,7 @@
|
|||
misc = {
|
||||
vfr = 1;
|
||||
vrr = 2;
|
||||
|
||||
|
||||
middle_click_paste = false;
|
||||
focus_on_activate = true;
|
||||
animate_manual_resizes = false;
|
||||
|
@ -159,9 +163,6 @@
|
|||
|
||||
initial_workspace_tracking = false;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
{ pkgs, config, inputs, ... }: {
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
exec-once = [
|
||||
"${pkgs.swww}/bin/swww-daemon --format xrgb"
|
||||
|
|
|
@ -1,72 +1,84 @@
|
|||
{ pkgs, config, inputs, ... }: {
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
|
||||
bindle = [
|
||||
",XF86AudioMute, exec, playerctl --player=spotify,%any play-pause"
|
||||
",XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+"
|
||||
",XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"
|
||||
];
|
||||
|
||||
bindm = [ "Super, mouse:272, movewindow" "Super, mouse:273, resizewindow" ];
|
||||
bindm = ["Super, mouse:272, movewindow" "Super, mouse:273, resizewindow"];
|
||||
|
||||
bindn = [ " , up, pass, JKPS" ];
|
||||
bindn = [" , up, pass, JKPS"];
|
||||
|
||||
binde = [ # Window split ratio
|
||||
binde = [
|
||||
# Window split ratio
|
||||
"Super, Semicolon, splitratio, -0.1"
|
||||
"Super, Apostrophe, splitratio, 0.1"
|
||||
];
|
||||
|
||||
bind = [
|
||||
"Super, mouse_up, workspace, +1"
|
||||
"Super, mouse_down, workspace, -1"
|
||||
"Super, Page_up, workspace, -1"
|
||||
"Super, Page_down, workspace, +1"
|
||||
bind =
|
||||
[
|
||||
"Super, mouse_up, workspace, +1"
|
||||
"Super, mouse_down, workspace, -1"
|
||||
"Super, Page_up, workspace, -1"
|
||||
"Super, Page_down, workspace, +1"
|
||||
|
||||
"Super+Shift, S, togglespecialworkspace"
|
||||
"Super+Shift, S, togglespecialworkspace"
|
||||
|
||||
"Super, R, exec, ${pkgs.anyrun}/bin/anyrun"
|
||||
"Super, W, exec, ${pkgs.floorp}/bin/floorp"
|
||||
"Super, Q, exec, wezterm"
|
||||
"Super, C, killactive"
|
||||
"Super, V, togglefloating"
|
||||
"Super, E, exec, ${pkgs.nautilus}/bin/nautilus -w"
|
||||
"SUPERALT, V, exec, pkill fuzzel || cliphist list | fuzzel --icon-theme=candy-icons --background-color=1A1513dd --text-color=F8D4D2ff --match-color=FFB3B1ff --border-width=2 --border-radius=15 --border-color=EB8A89ff --selection-color=585b70ff --selection-text-color=F8D4D2ff --selection-match-color=FFB3B1ff --font='Lexend' --prompt='>> ' --dmenu | cliphist decode | wl-copy"
|
||||
"Super, R, exec, ${pkgs.anyrun}/bin/anyrun"
|
||||
"Super, W, exec, ${pkgs.floorp}/bin/floorp"
|
||||
"Super, Q, exec, wezterm"
|
||||
"Super, C, killactive"
|
||||
"Super, V, togglefloating"
|
||||
"Super, E, exec, ${pkgs.nautilus}/bin/nautilus -w"
|
||||
"SUPERALT, V, exec, pkill fuzzel || cliphist list | fuzzel --icon-theme=candy-icons --background-color=1A1513dd --text-color=F8D4D2ff --match-color=FFB3B1ff --border-width=2 --border-radius=15 --border-color=EB8A89ff --selection-color=585b70ff --selection-text-color=F8D4D2ff --selection-match-color=FFB3B1ff --font='Lexend' --prompt='>> ' --dmenu | cliphist decode | wl-copy"
|
||||
|
||||
"Super, L, exec, ${pkgs.hyprlock}/bin/hyprlock"
|
||||
"Super, L, exec, ${pkgs.hyprlock}/bin/hyprlock"
|
||||
|
||||
# recording and ss stuff
|
||||
"Super, S, exec, pkill slurp || grimblast --freeze copy area"
|
||||
# recording and ss stuff
|
||||
"Super, S, exec, pkill slurp || grimblast --freeze copy area"
|
||||
|
||||
# ags stuff
|
||||
"Super + Control, R, exec, pkill ags; ags"
|
||||
"Super, Tab, exec, ags -t launcher"
|
||||
"Super, X, exec, ags -t powermenu"
|
||||
# ags stuff
|
||||
"Super + Control, R, exec, pkill ags; ags"
|
||||
"Super, Tab, exec, ags -t launcher"
|
||||
"Super, X, exec, ags -t powermenu"
|
||||
|
||||
## Hyprland stuff
|
||||
"Super, Z, movewindow"
|
||||
## Hyprland stuff
|
||||
"Super, Z, movewindow"
|
||||
|
||||
# Swap windows
|
||||
"Super+Shift, left, movewindow, l"
|
||||
"Super+Shift, right, movewindow, r"
|
||||
"Super+Shift, up, movewindow, u"
|
||||
"Super+Shift, down, movewindow, d"
|
||||
# Swap windows
|
||||
"Super+Shift, left, movewindow, l"
|
||||
"Super+Shift, right, movewindow, r"
|
||||
"Super+Shift, up, movewindow, u"
|
||||
"Super+Shift, down, movewindow, d"
|
||||
|
||||
# Move focus
|
||||
"Super, left, movefocus, l"
|
||||
"Super, right, movefocus, r"
|
||||
"Super, up, movefocus, u"
|
||||
"Super, down, movefocus, d"
|
||||
|
||||
# Fullscreen
|
||||
"Super+Shift, F, fullscreen, 0"
|
||||
|
||||
] ++ map (n:
|
||||
"Alt, ${toString n}, movetoworkspacesilent, ${
|
||||
toString (if n == 0 then 10 else n)
|
||||
}") [ 1 2 3 4 5 6 7 8 9 0 ] ++ map (n:
|
||||
"Super, ${toString n}, workspace, ${
|
||||
toString (if n == 0 then 10 else n)
|
||||
}") [ 1 2 3 4 5 6 7 8 9 0 ];
|
||||
# Move focus
|
||||
"Super, left, movefocus, l"
|
||||
"Super, right, movefocus, r"
|
||||
"Super, up, movefocus, u"
|
||||
"Super, down, movefocus, d"
|
||||
|
||||
# Fullscreen
|
||||
"Super+Shift, F, fullscreen, 0"
|
||||
]
|
||||
++ map (n: "Alt, ${toString n}, movetoworkspacesilent, ${
|
||||
toString (
|
||||
if n == 0
|
||||
then 10
|
||||
else n
|
||||
)
|
||||
}") [1 2 3 4 5 6 7 8 9 0]
|
||||
++ map (n: "Super, ${toString n}, workspace, ${
|
||||
toString (
|
||||
if n == 0
|
||||
then 10
|
||||
else n
|
||||
)
|
||||
}") [1 2 3 4 5 6 7 8 9 0];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,7 +1,11 @@
|
|||
{ pkgs, config, inputs, lib, ... }:
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
inputs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
|
||||
workspace = [
|
||||
"special:special, on-created-empty:exec spotify"
|
||||
];
|
||||
|
@ -22,7 +26,6 @@
|
|||
];
|
||||
|
||||
windowrulev2 = [
|
||||
|
||||
];
|
||||
|
||||
layerrule = [
|
||||
|
@ -47,7 +50,7 @@
|
|||
"ignorealpha 0.5, launcher"
|
||||
"blur, notifications"
|
||||
"ignorealpha 0.69, notifications"
|
||||
|
||||
|
||||
"animation slide top, sideleft.*"
|
||||
"animation slide top, sideright.*"
|
||||
"blur, session"
|
||||
|
@ -73,6 +76,5 @@
|
|||
"blur, osk"
|
||||
"ignorealpha 0.20, osk"
|
||||
];
|
||||
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{ config, ... }: {
|
||||
|
||||
{config, ...}: {
|
||||
programs.hyprlock = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
@ -10,25 +9,28 @@
|
|||
no_fade_out = true;
|
||||
};
|
||||
|
||||
backgruond = { color = "rgba(000000FF)"; };
|
||||
backgruond = {color = "rgba(000000FF)";};
|
||||
|
||||
input-field = [{
|
||||
monitor = "";
|
||||
size = "250, 50";
|
||||
outline_thickness = 2;
|
||||
dots_size = 0.1;
|
||||
dots_spacing = 0.3;
|
||||
outer_color = "rgba(8C909F55)";
|
||||
inner_color = "rgba(0F131C11)";
|
||||
font_color = "rgba(C2C6D6FF)";
|
||||
input-field = [
|
||||
{
|
||||
monitor = "";
|
||||
size = "250, 50";
|
||||
outline_thickness = 2;
|
||||
dots_size = 0.1;
|
||||
dots_spacing = 0.3;
|
||||
outer_color = "rgba(8C909F55)";
|
||||
inner_color = "rgba(0F131C11)";
|
||||
font_color = "rgba(C2C6D6FF)";
|
||||
|
||||
position = "0, 20";
|
||||
halign = "center";
|
||||
valign = "center";
|
||||
}];
|
||||
position = "0, 20";
|
||||
halign = "center";
|
||||
valign = "center";
|
||||
}
|
||||
];
|
||||
|
||||
label = [
|
||||
{ # Clock
|
||||
{
|
||||
# Clock
|
||||
monitor = "";
|
||||
text = "$TIME";
|
||||
shadow_passes = 1;
|
||||
|
@ -40,7 +42,8 @@
|
|||
position = "0, 300";
|
||||
}
|
||||
|
||||
{ # Greeting
|
||||
{
|
||||
# Greeting
|
||||
monitor = "";
|
||||
text = "Hi $USER !!!";
|
||||
shadow_passes = 1;
|
||||
|
@ -54,7 +57,8 @@
|
|||
valign = "center";
|
||||
}
|
||||
|
||||
{ # lock icon
|
||||
{
|
||||
# lock icon
|
||||
monitor = "";
|
||||
text = "lock";
|
||||
shadow_passes = 1;
|
||||
|
@ -68,7 +72,8 @@
|
|||
valign = "center";
|
||||
}
|
||||
|
||||
{ # "locked" text
|
||||
{
|
||||
# "locked" text
|
||||
monitor = "";
|
||||
text = "locked";
|
||||
shadow_passes = 1;
|
||||
|
@ -91,7 +96,6 @@
|
|||
# font_family = "Rubik Light";
|
||||
#}
|
||||
];
|
||||
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,24 +1,27 @@
|
|||
{ pkgs, lib, config, inputs, ... }: {
|
||||
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
inputs.spicetify-nix.homeManagerModules.default
|
||||
];
|
||||
|
||||
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
||||
"spotify"
|
||||
];
|
||||
nixpkgs.config.allowUnfreePredicate = pkg:
|
||||
builtins.elem (lib.getName pkg) [
|
||||
"spotify"
|
||||
];
|
||||
|
||||
programs.spicetify =
|
||||
let
|
||||
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.system};
|
||||
in
|
||||
{
|
||||
enable = true;
|
||||
enabledExtensions = with spicePkgs.extensions; [
|
||||
|
||||
hidePodcasts
|
||||
];
|
||||
theme = spicePkgs.themes.comfy;
|
||||
colorScheme = "Hikari";
|
||||
};
|
||||
}
|
||||
programs.spicetify = let
|
||||
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.system};
|
||||
in {
|
||||
enable = true;
|
||||
enabledExtensions = with spicePkgs.extensions; [
|
||||
hidePodcasts
|
||||
];
|
||||
theme = spicePkgs.themes.comfy;
|
||||
colorScheme = "Hikari";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
{ inputs, ... }:
|
||||
{
|
||||
imports = [ inputs.catppuccin.nixosModules.catppuccin ];
|
||||
{inputs, ...}: {
|
||||
imports = [inputs.catppuccin.nixosModules.catppuccin];
|
||||
|
||||
config.catppuccin = {
|
||||
enable = true;
|
||||
|
|
|
@ -1,8 +1,12 @@
|
|||
{ config, pkgs, inputs, ... }: {
|
||||
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
nixpkgs = {
|
||||
overlays = [ inputs.nur.overlays.default ];
|
||||
config = { allowUnfree = true; };
|
||||
overlays = [inputs.nur.overlays.default];
|
||||
config = {allowUnfree = true;};
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
|
|
@ -1,7 +1,11 @@
|
|||
{ pkgs, config, ... }: {
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
hardware.bluetooth = {
|
||||
enable = true;
|
||||
settings = { General = { Experimental = true; }; };
|
||||
settings = {General = {Experimental = true;};};
|
||||
};
|
||||
services.blueman.enable = true;
|
||||
}
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{ ... }:
|
||||
{
|
||||
{...}: {
|
||||
imports = [
|
||||
./pipewire.nix
|
||||
./tailscale.nix
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, ... }: {
|
||||
{pkgs, ...}: {
|
||||
services.jellyfin = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
{ config, lib, pkgs, ... }: {
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
services = {
|
||||
pipewire = {
|
||||
enable = true;
|
||||
|
@ -17,10 +22,12 @@
|
|||
};
|
||||
};
|
||||
pipewire-pulse."92-low-latency" = {
|
||||
"context.properties" = [{
|
||||
name = "libpipewire-module-protocol-pulse";
|
||||
args = { };
|
||||
}];
|
||||
"context.properties" = [
|
||||
{
|
||||
name = "libpipewire-module-protocol-pulse";
|
||||
args = {};
|
||||
}
|
||||
];
|
||||
"pulse.properties" = {
|
||||
"pulse.min.req" = "32/48000";
|
||||
"pulse.default.req" = "32/48000";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, ... }: {
|
||||
{pkgs, ...}: {
|
||||
services.tailscale = {
|
||||
enable = true;
|
||||
useRoutingFeatures = "client";
|
||||
|
|
|
@ -1,12 +1,17 @@
|
|||
{ pkgs, lib, config, ... }:
|
||||
let enableIOMMU = true;
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
enableIOMMU = true;
|
||||
in {
|
||||
boot = lib.mkIf enableIOMMU {
|
||||
initrd.kernelModules = lib.mkBefore [
|
||||
"kvm-amd"
|
||||
"vfio_pci"
|
||||
"vfio_iommu_type1"
|
||||
"vfio"
|
||||
initrd.kernelModules = lib.mkBefore [
|
||||
"kvm-amd"
|
||||
"vfio_pci"
|
||||
"vfio_iommu_type1"
|
||||
"vfio"
|
||||
];
|
||||
kernelParams = [
|
||||
"amd_iommu=on"
|
||||
|
@ -35,13 +40,12 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
docker = { enable = true; };
|
||||
docker = {enable = true;};
|
||||
};
|
||||
|
||||
programs = { virt-manager = { enable = true; }; };
|
||||
programs = {virt-manager = {enable = true;};};
|
||||
|
||||
users.users.pingu.extraGroups =
|
||||
[ "qemu-libvirtd" "libvirtd" "disk" "kvm" "docker" ];
|
||||
users.users.pingu.extraGroups = ["qemu-libvirtd" "libvirtd" "disk" "kvm" "docker"];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
python3 # scripts, cba to use nix shell all the time
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
{ inputs, config, ... }: {
|
||||
imports = [ inputs.sops-nix.nixosModules.sops ];
|
||||
{
|
||||
inputs,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
imports = [inputs.sops-nix.nixosModules.sops];
|
||||
|
||||
sops = {
|
||||
defaultSopsFile = ./secrets.yaml;
|
||||
|
|
Loading…
Reference in a new issue