Config changes

This commit is contained in:
xeovalyte 2025-01-02 09:35:55 +01:00
parent b023df2fab
commit 3c31e70fd2
Signed by: xeovalyte
SSH Key Fingerprint: SHA256:GWI1hq+MNKR2UOcvk7n9tekASXT8vyazK7vDF9Xyciw
6 changed files with 32 additions and 31 deletions

48
flake.lock generated
View File

@ -175,11 +175,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1734366194, "lastModified": 1735344290,
"narHash": "sha256-vykpJ1xsdkv0j8WOVXrRFHUAdp9NXHpxdnn1F4pYgSw=", "narHash": "sha256-oJDtWPH1oJT34RJK1FSWjwX4qcGOBRkcNQPD0EbSfNM=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "80b0fdf483c5d1cb75aaad909bd390d48673857f", "rev": "613691f285dad87694c2ba1c9e6298d04736292d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -237,11 +237,11 @@
"rust-overlay": "rust-overlay" "rust-overlay": "rust-overlay"
}, },
"locked": { "locked": {
"lastModified": 1735263434, "lastModified": 1735695461,
"narHash": "sha256-5Bn1c2sWzedpGV+PNfXtoainQ3uUKkx/v7T3N6lKKms=", "narHash": "sha256-xWeCORE1NA95dt3m1wGTmWFao8uMtmysK26jVcsL1tI=",
"owner": "lilyinstarlight", "owner": "lilyinstarlight",
"repo": "nixos-cosmic", "repo": "nixos-cosmic",
"rev": "e5fdfe023742172ec0e7af0ca6d88362228d14b7", "rev": "80d9501f798baa8d55d86398142bc94db7619d8e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -252,11 +252,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1734954597, "lastModified": 1735388221,
"narHash": "sha256-QIhd8/0x30gEv8XEE1iAnrdMlKuQ0EzthfDR7Hwl+fk=", "narHash": "sha256-e5IOgjQf0SZcFCEV/gMGrsI0gCJyqOKShBQU0iiM3Kg=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "def1d472c832d77885f174089b0d34854b007198", "rev": "7c674c6734f61157e321db595dbfcd8523e04e19",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -268,11 +268,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1734649271, "lastModified": 1735471104,
"narHash": "sha256-4EVBRhOjMDuGtMaofAIqzJbg4Ql7Ai0PSeuVZTHjyKQ=", "narHash": "sha256-0q9NGQySwDQc7RhAV2ukfnu7Gxa5/ybJ2ANT8DQrQrs=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "d70bd19e0a38ad4790d3913bf08fcbfc9eeca507", "rev": "88195a94f390381c6afcdaa933c2f6ff93959cb4",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -299,11 +299,11 @@
}, },
"nixpkgs-stable": { "nixpkgs-stable": {
"locked": { "locked": {
"lastModified": 1735141468, "lastModified": 1735531152,
"narHash": "sha256-VIAjBr1qGcEbmhLwQJD6TABppPMggzOvqFsqkDoMsAY=", "narHash": "sha256-As8I+ebItDKtboWgDXYZSIjGlKeqiLBvjxsQHUmAf1Q=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "4005c3ff7505313cbc21081776ad0ce5dfd7a3ce", "rev": "3ffbbdbac0566a0977da3d2657b89cbcfe9a173b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -315,11 +315,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1734649271, "lastModified": 1735471104,
"narHash": "sha256-4EVBRhOjMDuGtMaofAIqzJbg4Ql7Ai0PSeuVZTHjyKQ=", "narHash": "sha256-0q9NGQySwDQc7RhAV2ukfnu7Gxa5/ybJ2ANT8DQrQrs=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "d70bd19e0a38ad4790d3913bf08fcbfc9eeca507", "rev": "88195a94f390381c6afcdaa933c2f6ff93959cb4",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -366,11 +366,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1735180071, "lastModified": 1735612067,
"narHash": "sha256-ceUDFBsLf5Cz3GlhQAdaJsEfi5s1MDjDsO9VvPFoKAE=", "narHash": "sha256-rsjojgfPUf9tWuMXuuo2KAIoUZ49XGZQJSjFGOO8Cq4=",
"owner": "oxalica", "owner": "oxalica",
"repo": "rust-overlay", "repo": "rust-overlay",
"rev": "550e1f10be4a504747a7894c35e887e61235763b", "rev": "d199142e84bfaae476ffb4e09a70879d7918784d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -396,11 +396,11 @@
"tinted-tmux": "tinted-tmux" "tinted-tmux": "tinted-tmux"
}, },
"locked": { "locked": {
"lastModified": 1735253599, "lastModified": 1735664732,
"narHash": "sha256-aKLAUkdeMH2N5gMDNiOC7KghRNy1necLtLa9+zUcj1g=", "narHash": "sha256-KoXLDDDT/nMBMl6VtoAGxJ58COvT+SWL5aiR+hUPBUo=",
"owner": "danth", "owner": "danth",
"repo": "stylix", "repo": "stylix",
"rev": "963e77a3a4fc2be670d5a9a6cbeb249b8a43808a", "rev": "f48cab39ba162c5eaef3d975aaac467c20db402b",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -44,7 +44,6 @@
({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; }) ({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; })
inputs.nixos-hardware.nixosModules.framework-13-7040-amd inputs.nixos-hardware.nixosModules.framework-13-7040-amd
nixos-cosmic.nixosModules.default
./hosts/laptop ./hosts/laptop
]; ];

View File

@ -6,9 +6,6 @@
../../modules/home/default.nix ../../modules/home/default.nix
]; ];
# Enable home-manager
programs.home-manager.enable = true;
options = { options = {
host = lib.mkOption { host = lib.mkOption {
type = with lib.types; str; type = with lib.types; str;
@ -37,6 +34,7 @@
home.packages = with pkgs; [ home.packages = with pkgs; [
unstable.prismlauncher unstable.prismlauncher
unstable.vesktop unstable.vesktop
unstable.baobab
]; ];
# Enable home-manager # Enable home-manager

View File

@ -14,7 +14,7 @@
./hardware/bluetooth.nix ./hardware/bluetooth.nix
./hardware/fprint.nix ./hardware/fprint.nix
./hardware/locale.nix ./hardware/locale.nix
# ./hardware/nvidia.nix ./hardware/nvidia.nix
./hardware/firewall.nix ./hardware/firewall.nix
./hardware/printing.nix ./hardware/printing.nix

View File

@ -1,4 +1,4 @@
{ lib, config, ... }: { lib, config, inputs, ... }:
with lib; with lib;
@ -14,6 +14,10 @@ in {
}; };
}; };
imports = [
inputs.nixos-cosmic.nixosModules.default
];
config = mkIf cfg.enable { config = mkIf cfg.enable {
services.desktopManager.cosmic.enable = true; services.desktopManager.cosmic.enable = true;

View File

@ -6,7 +6,7 @@ let
cfg = config.settings.hardware.nvidia; cfg = config.settings.hardware.nvidia;
in { in {
options = { options = {
settings.hardware.firewall.enable = lib.mkOption { settings.hardware.nvidia.enable = lib.mkOption {
type = lib.types.bool; type = lib.types.bool;
description = '' description = ''
Enable nvidia drivers Enable nvidia drivers