Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 572876cb0c | |||
| ad75b8fd72 | |||
| a0b9276085 | |||
| 6a42c05d66 | |||
| 70c71d0178 | |||
| 1d18dc1dcb | |||
| 01e0db3079 | |||
| b7aa917fa6 | |||
| f3787cdc75 | |||
| b33173ebf4 | |||
| bc44187c23 | |||
| e99b236818 | |||
| d1ed5e96fb | |||
| 013ea36d25 | |||
| d672adb440 | |||
| f25ae46581 | |||
| 421b21ba26 | |||
| 804bb1618f | |||
| 6ca55dd6a9 | |||
| c67d17556f | |||
| 0c40500863 | |||
| aa79d29f6e | |||
| 27302975f8 | |||
| 2d7c7fb47e |
5 changed files with 1772 additions and 0 deletions
7
README.md
Normal file
7
README.md
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
simple NixOs flake config
|
||||
|
||||
configures plasma, kitty and neovim. This also sets up ssh and eduroam for Milan; you will of course need to have the right keys, which are not included.
|
||||
|
||||
this is made for a amd+nvidia laptop, any other config will need to patch it to run it effectively
|
||||
|
||||
the wallpaper and any other assets will be added to the assets branch
|
||||
377
flake.lock
generated
Normal file
377
flake.lock
generated
Normal file
|
|
@ -0,0 +1,377 @@
|
|||
{
|
||||
"nodes": {
|
||||
"VSTSpeek": {
|
||||
"inputs": {
|
||||
"flake-parts": "flake-parts",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
],
|
||||
"nixpkgs-qt4": "nixpkgs-qt4"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1779820772,
|
||||
"narHash": "sha256-KM48WAYinqjL/dCYSpJ5KobQgLavFN4T4d5J0bw518g=",
|
||||
"ref": "refs/heads/main",
|
||||
"rev": "9a0b486ff8325ce18dedc1cc485bc82dec050b26",
|
||||
"revCount": 2,
|
||||
"type": "git",
|
||||
"url": "https://dario48.site/git/Dario48/VSTSpeek_flake.git"
|
||||
},
|
||||
"original": {
|
||||
"type": "git",
|
||||
"url": "https://dario48.site/git/Dario48/VSTSpeek_flake.git"
|
||||
}
|
||||
},
|
||||
"assets": {
|
||||
"locked": {
|
||||
"lastModified": 1776095917,
|
||||
"narHash": "sha256-JqmGzwBJQVFAfwXCs8/YrT4pwxKwuWtOgL1ESM/vDUM=",
|
||||
"ref": "assets",
|
||||
"rev": "e3ca6845dcae6c3d789103aca7550f9b33951f47",
|
||||
"revCount": 3,
|
||||
"type": "git",
|
||||
"url": "https://dario48.site/git/Dario48/NixOs.git"
|
||||
},
|
||||
"original": {
|
||||
"ref": "assets",
|
||||
"type": "git",
|
||||
"url": "https://dario48.site/git/Dario48/NixOs.git"
|
||||
}
|
||||
},
|
||||
"flake-parts": {
|
||||
"inputs": {
|
||||
"nixpkgs-lib": "nixpkgs-lib"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1778716662,
|
||||
"narHash": "sha256-m1Yf0wZ8j1OHjTc2UwHwyQRSnNeSgLJOd7q5Y45hzi4=",
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"rev": "f7c1a2d347e4c52d5fb8d10cb4d94b5884e546fb",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-parts_2": {
|
||||
"inputs": {
|
||||
"nixpkgs-lib": "nixpkgs-lib_2"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1778716662,
|
||||
"narHash": "sha256-m1Yf0wZ8j1OHjTc2UwHwyQRSnNeSgLJOd7q5Y45hzi4=",
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"rev": "f7c1a2d347e4c52d5fb8d10cb4d94b5884e546fb",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"home-manager": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1780408569,
|
||||
"narHash": "sha256-s7Tv6FUQThRAvW8En8XVC6HMb0uiikzVccCcCo9u/Bg=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "f384af1bec6423a0d4ba1855917ab948f64e5808",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"hypr-kdeconnect-fix": {
|
||||
"inputs": {
|
||||
"flake-parts": "flake-parts_2",
|
||||
"hypr-kdeconnect-src": "hypr-kdeconnect-src",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1779759680,
|
||||
"narHash": "sha256-V+8WW3/lbTtZa3GL+rSjKp8kJB3IxMshI1MVkxkfOSA=",
|
||||
"owner": "niversesu",
|
||||
"repo": "hypr-kdeconnect-nix",
|
||||
"rev": "2d20425231c8855d08aabf15cf3390a75ebb3ccf",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "niversesu",
|
||||
"repo": "hypr-kdeconnect-nix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"hypr-kdeconnect-src": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1778039172,
|
||||
"narHash": "sha256-OW18+pO92XvlTLrHo+S9/EVUophr5Dl1GdGJcmVAq/o=",
|
||||
"owner": "gfhdhytghd",
|
||||
"repo": "hypr-kdeconnect-fix",
|
||||
"rev": "ea55f66c8238235983d60d381bf2abe1fed50043",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "gfhdhytghd",
|
||||
"repo": "hypr-kdeconnect-fix",
|
||||
"rev": "ea55f66c8238235983d60d381bf2abe1fed50043",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"neovim-dotfiles": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1776506355,
|
||||
"narHash": "sha256-I5q6LgrG+UzVv0mETCuxjY6hRCYbMr50VILTMXVgvXA=",
|
||||
"ref": "main",
|
||||
"rev": "0024c6cb2ec01b419c0782621351091a579cb2e7",
|
||||
"revCount": 48,
|
||||
"type": "git",
|
||||
"url": "https://dario48.site/git/Dario48/neovim-dotfiles.git"
|
||||
},
|
||||
"original": {
|
||||
"ref": "main",
|
||||
"type": "git",
|
||||
"url": "https://dario48.site/git/Dario48/neovim-dotfiles.git"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1780243769,
|
||||
"narHash": "sha256-x5UQuRsH3MqI0U9afaXSNqzTPSeZlRLvFAav2Ux1pNw=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "331800de5053fcebacf6813adb5db9c9dca22a0c",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs-lib": {
|
||||
"locked": {
|
||||
"lastModified": 1777168982,
|
||||
"narHash": "sha256-GOkGPcboWE9BmGCRMLX3worL4EMnsnG8MyKmXNeYuhQ=",
|
||||
"owner": "nix-community",
|
||||
"repo": "nixpkgs.lib",
|
||||
"rev": "f5901329dade4a6ea039af1433fb087bd9c1fe14",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"repo": "nixpkgs.lib",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs-lib_2": {
|
||||
"locked": {
|
||||
"lastModified": 1777168982,
|
||||
"narHash": "sha256-GOkGPcboWE9BmGCRMLX3worL4EMnsnG8MyKmXNeYuhQ=",
|
||||
"owner": "nix-community",
|
||||
"repo": "nixpkgs.lib",
|
||||
"rev": "f5901329dade4a6ea039af1433fb087bd9c1fe14",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"repo": "nixpkgs.lib",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs-qt4": {
|
||||
"locked": {
|
||||
"lastModified": 1688392541,
|
||||
"narHash": "sha256-lHrKvEkCPTUO+7tPfjIcb7Trk6k31rz18vkyqmkeJfY=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "ea4c80b39be4c09702b0cb3b42eab59e2ba4f24b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-22.11",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"noctalia": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
],
|
||||
"noctalia-qs": "noctalia-qs"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1780371321,
|
||||
"narHash": "sha256-WCaU6npdMdjZSZHe3XATNDFijmzRnsV8V+iR80e5deg=",
|
||||
"owner": "noctalia-dev",
|
||||
"repo": "noctalia-shell",
|
||||
"rev": "3aab45a2f34fd47666b05892b95054952e788de1",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "noctalia-dev",
|
||||
"repo": "noctalia-shell",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"noctalia-qs": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"noctalia",
|
||||
"nixpkgs"
|
||||
],
|
||||
"systems": "systems",
|
||||
"treefmt-nix": "treefmt-nix"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1780194487,
|
||||
"narHash": "sha256-M+YtjKCTkHrkplNaKVyaxfa8hAWjRF6wFOUBAZvxQ4U=",
|
||||
"owner": "noctalia-dev",
|
||||
"repo": "noctalia-qs",
|
||||
"rev": "07398e12b54f194e3a2d47c87e3fd10b8eeaa27d",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "noctalia-dev",
|
||||
"repo": "noctalia-qs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"VSTSpeek": "VSTSpeek",
|
||||
"assets": "assets",
|
||||
"home-manager": "home-manager",
|
||||
"hypr-kdeconnect-fix": "hypr-kdeconnect-fix",
|
||||
"neovim-dotfiles": "neovim-dotfiles",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"noctalia": "noctalia",
|
||||
"zen-browser": "zen-browser",
|
||||
"zig": "zig",
|
||||
"zls": "zls"
|
||||
}
|
||||
},
|
||||
"systems": {
|
||||
"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"
|
||||
}
|
||||
},
|
||||
"treefmt-nix": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"noctalia",
|
||||
"noctalia-qs",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1775636079,
|
||||
"narHash": "sha256-pc20NRoMdiar8oPQceQT47UUZMBTiMdUuWrYu2obUP0=",
|
||||
"owner": "numtide",
|
||||
"repo": "treefmt-nix",
|
||||
"rev": "790751ff7fd3801feeaf96d7dc416a8d581265ba",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "numtide",
|
||||
"repo": "treefmt-nix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"zen-browser": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1779946062,
|
||||
"narHash": "sha256-M/2bCPYjiBTkDNV29J/00z10RM3yYnL9X74RqAHDme0=",
|
||||
"owner": "youwen5",
|
||||
"repo": "zen-browser-flake",
|
||||
"rev": "2e2c38ba20a3d614d0196e0aa44851547306e861",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "youwen5",
|
||||
"repo": "zen-browser-flake",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"zig": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1780375031,
|
||||
"narHash": "sha256-G+sBa11p+uPoF7RtwcG/sELMOPB6707cBaMrV99elIQ=",
|
||||
"owner": "silversquirl",
|
||||
"repo": "zig-flake",
|
||||
"rev": "411c18b87d490b5da2a3c8641ff103ffe605447e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "silversquirl",
|
||||
"repo": "zig-flake",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"zls": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
],
|
||||
"zig-flake": [
|
||||
"zig"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1776368637,
|
||||
"narHash": "sha256-k0xWObsw9K12BKfK+UB5TieWDFEFfBQhN1X1NO35fWk=",
|
||||
"owner": "zigtools",
|
||||
"repo": "zls",
|
||||
"rev": "494486203c3a48927f2383aa3d5ce5fca112186d",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "zigtools",
|
||||
"ref": "0.16.0",
|
||||
"repo": "zls",
|
||||
"type": "github"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
"version": 7
|
||||
}
|
||||
33
hardware-configuration.nix
Normal file
33
hardware-configuration.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||
# and may be overwritten by future invocations. Please make changes
|
||||
# to /etc/nixos/configuration.nix instead.
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "usb_storage" "sd_mod" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-amd" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/a88cdfe9-1aa3-45bf-b5ba-a073e9db30c3";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/EB8A-599D";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0077" "dmask=0077" ];
|
||||
};
|
||||
|
||||
swapDevices =
|
||||
[ { device = "/dev/disk/by-uuid/582e463c-40f8-4fee-9a93-cb035fc0b93f"; }
|
||||
];
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
}
|
||||
BIN
wallpaper.jpg
BIN
wallpaper.jpg
Binary file not shown.
|
Before Width: | Height: | Size: 108 MiB |
Loading…
Reference in a new issue