Compare commits

..

6 commits

7 changed files with 48 additions and 58 deletions

30
flake.lock generated
View file

@ -50,11 +50,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1692503956, "lastModified": 1693187908,
"narHash": "sha256-MOA6FKc1YgfGP3ESnjSYfsyJ1BXlwV5pGlY/u5XdJfY=", "narHash": "sha256-cTcNpsqi1llmUFl9bmCdD0mTyfjhBrNFPhu2W12WXzA=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "958c06303f43cf0625694326b7f7e5475b1a2d5c", "rev": "8bde7a651b94ba30bd0baaa9c4a08aae88cc2e92",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -70,11 +70,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1692099905, "lastModified": 1693208669,
"narHash": "sha256-/pSusGhmIdSdAaywQRFA5dVbfdIzlWQTecM+E46+cJ0=", "narHash": "sha256-hHFaaUsZ860wvppPeiu7nJn/nXZjJfnqAQEu9SPFE9I=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "2a6679aa9cc3872c29ba2a57fe1b71b3e3c5649f", "rev": "5bac4a1c06cd77cf8fc35a658ccb035a6c50cd2c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -101,11 +101,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1692373088, "lastModified": 1692952286,
"narHash": "sha256-EPgCecdc9I8aTdmDNoO1l7R72r2WPhZRcesV4nzxBj8=", "narHash": "sha256-TsrtPv3+Q1KR0avZxpiJH+b6fX/R/hEQVHbjl1ebotY=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "7f1836531b126cfcf584e7d7d71bf8758bb58969", "rev": "817e297fc3352fadc15f2c5306909aa9192d7d97",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -117,11 +117,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1692525914, "lastModified": 1693231525,
"narHash": "sha256-MUgZ9/9mE/EbEQA6JPdcQHkjoR5fgvaKhpy6UO67uEc=", "narHash": "sha256-Zmh8m0HHcgGBDth6jdJPmc4UAAP0L4jQmqIztywF1Iw=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "475d5ae2c4cb87b904545bdb547af05681198fcc", "rev": "c540061ac8d72d6e6d99345bd2d590c82b2f58c1",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -132,11 +132,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1692447944, "lastModified": 1693250523,
"narHash": "sha256-fkJGNjEmTPvqBs215EQU4r9ivecV5Qge5cF/QDLVn3U=", "narHash": "sha256-y3up5gXMTbnCsXrNEB5j+7TVantDLUYyQLu/ueiXuyg=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "d680ded26da5cf104dd2735a51e88d2d8f487b4d", "rev": "3efb0f6f404ec8dae31bdb1a9b17705ce0d6986e",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -38,6 +38,7 @@ outputs = {nixpkgs, nixpkgs-unstable, agenix, home-manager, home-manager-unstabl
agenix.packages.x86_64-linux.default agenix.packages.x86_64-linux.default
git git
plasma5Packages.plasma-sdk plasma5Packages.plasma-sdk
nix-diff
]; ];
shellHook ='' shellHook =''
export PS1="$PS1(toast-configs)> " export PS1="$PS1(toast-configs)> "

View file

@ -33,22 +33,11 @@
# Enable the X11 windowing system. # Enable the X11 windowing system.
services.xserver.enable = true; services.xserver.enable = true;
/*# Enable the pipewire sound server # Enable the pipewire sound server
services.pipewire = { services.pipewire = {
enable = true; enable = true;
pulse.enable = true; pulse.enable = true;
}; /*
/*
Pipewire's audio server seems to be broken for now, so I'm going to
temporarely use pulse as my audio server
*/
services.pipewire = {
audio.enable = false;
pulse.enable = false;
alsa.enable = false;
}; };
hardware.pulseaudio.enable = true;
# Configure keymap in X11 # Configure keymap in X11
# services.xserver.layout = "us"; # services.xserver.layout = "us";

View file

@ -6,5 +6,6 @@
./firefox.nix ./firefox.nix
./micro.nix ./micro.nix
./keepassxc.nix ./keepassxc.nix
./jamesdsp.nix
]; ];
} }

View file

@ -0,0 +1,5 @@
{ config, pkgs, ... }:
{
users.users.toast.packages = [ pkgs.jamesdsp ];
}

View file

@ -23,14 +23,12 @@ let
in in
{ {
# I'm only using keepass on my user, so I'm installing it with home-manager users.users.toast.packages = [ pkgs.keepassxc ];
home-manager = { home-manager = {
extraSpecialArgs = { kpxcSettings = kpxcSettings; }; extraSpecialArgs = { kpxcSettings = kpxcSettings; };
users.toast = { config, pkgs, kpxcSettings, ... }: { users.toast = { config, pkgs, kpxcSettings, ... }: {
home = {
packages = [ pkgs.keepassxc ];
# No module for KeePassXC config :( # No module for KeePassXC config :(
file = { home.file = {
".config/keepassxc/keepassxc.ini".text = kpxcSettings; ".config/keepassxc/keepassxc.ini".text = kpxcSettings;
# For some reason the autostart .desktop is not the same as the regular one # For some reason the autostart .desktop is not the same as the regular one
".config/autostart/org.keepassxc.KeePassXC.desktop".text = '' ".config/autostart/org.keepassxc.KeePassXC.desktop".text = ''
@ -55,5 +53,4 @@ in
}; };
}; };
}; };
};
} }

View file

@ -1,8 +1,5 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
home-manager.users.toast = { config, pkgs, ... }: environment.systemPackages = [ pkgs.kate ];
{
home.packages = [ pkgs.kate ];
};
} }